## Documentation

Table of Contents
Class Inheritance Tree
Widget Screenshots
Package groups

## Index

Package: Cell_Renderer_Toggle

- Goto spec source

# Description

    package Gtk.Cell_Renderer_Toggle is

Gtk_Cell_Renderer_Toggle renders a toggle button in a cell. The button is drawn as a radio- or checkbutton, depending on the radio property. When activated, it emits the toggled signal.

Binding from C File version 2.8.17

# Classes

### Gtk_Cell_Renderer_Toggle_Record

- Goto declaration in source
- Goto full declaration in source

    type Gtk_Cell_Renderer_Toggle_Record is
         new Gtk.Cell_Renderer.Gtk_Cell_Renderer_Record with private;

#### Ancestors:

Gtk.Cell_Renderer.Gtk_Cell_Renderer_Record
Glib.Object.GObject_Record

#### Primitive operations:

Get_Active

- To API doc
- To spec

Get_Radio

- To API doc
- To spec

Glib.Object.Deallocate

- To API doc
- To spec

(Inherited)
Glib.Object.Get_Type

- To API doc
- To spec

(Inherited)
Glib.Object.Notify

- To API doc
- To spec

(Inherited)
Glib.Object.Ref

- To API doc
- To spec

(Inherited)
Glib.Object.Ref_Sink

- To API doc
- To spec

(Inherited)
Glib.Object.Unref

- To API doc
- To spec

(Inherited)
Gtk.Cell_Renderer.Activate

- To API doc
- To spec

(Inherited)
Gtk.Cell_Renderer.Get_Fixed_Size

- To API doc
- To spec

(Inherited)
Gtk.Cell_Renderer.Get_Size

- To API doc
- To spec

(Inherited)
Gtk.Cell_Renderer.Render

- To API doc
- To spec

(Inherited)
Gtk.Cell_Renderer.Set_Fixed_Size

- To API doc
- To spec

(Inherited)
Gtk.Cell_Renderer.Start_Editing

- To API doc
- To spec

(Inherited)
Set_Active

- To API doc
- To spec

Set_Radio

- To API doc
- To spec

# Types

### Gtk_Cell_Renderer_Toggle

- Goto declaration in source

    type Gtk_Cell_Renderer_Toggle is
         access all Gtk_Cell_Renderer_Toggle_Record'Class;

# Constants & Global variables

### Signal_Toggled

- Goto declaration in source

(Glib.Signal_Name)

    Signal_Toggled : constant Glib.Signal_Name := "toggled";

### Activatable_Property

- Goto declaration in source

(Glib.Properties.Property_Boolean)

    Activatable_Property    : constant Glib.Properties.Property_Boolean;

### Active_Property

- Goto declaration in source

(Glib.Properties.Property_Boolean)

    Active_Property         : constant Glib.Properties.Property_Boolean;

### Inconsistent_Property

- Goto declaration in source

(Glib.Properties.Property_Boolean)

    Inconsistent_Property   : constant Glib.Properties.Property_Boolean;

### Indicator_Size_Property

- Goto declaration in source

(Glib.Properties.Property_Int)

    Indicator_Size_Property : constant Glib.Properties.Property_Int;

### Radio_Property

- Goto declaration in source

(Glib.Properties.Property_Boolean)

    Radio_Property          : constant Glib.Properties.Property_Boolean;

# Subprograms & Entries

### Gtk_New

- Goto spec in source

    procedure Gtk_New (Widget: out Gtk_Cell_Renderer_Toggle);

### Initialize

- Goto spec in source

    procedure Initialize (Widget: access Gtk_Cell_Renderer_Toggle_Record'Class);

Creates or initializes a new renderer.

### Get_Type

- Goto spec in source
- Goto body in source

    function Get_Type return Gtk.Gtk_Type;

Return the internal value associated with this widget.

### Set_Radio

- Goto spec in source

    procedure Set_Radio (Toggle: access Gtk_Cell_Renderer_Toggle_Record;Radio: Boolean);

### Get_Radio

- Goto spec in source

    function Get_Radio (Toggle: access Gtk_Cell_Renderer_Toggle_Record) return Boolean;

If Setting is True, the cell renderer renders a radio toggle (i.e. a toggle in a group of mutually-exclusive toggles). If False, it renders a check toggle (a standalone boolean option). Note that this only affects the visual display, but your application is still responsible for enforcing the behavior, through the toggled signal.

### Set_Active

- Goto spec in source

    procedure Set_Active (Toggle: access Gtk_Cell_Renderer_Toggle_Record;Setting: Boolean);

### Get_Active

- Goto spec in source

    function Get_Active (Toggle: access Gtk_Cell_Renderer_Toggle_Record) return Boolean;

Whether the renderer is currently selected