![]() |

The button is drawn as a radio- or checkbutton, depending on the radio property. When activated, it emits the toggled signal.
Public Member Functions | |
| virtual Glib::PropertyProxy_Base | _property_renderable () |
| Returns the property that this CellRenderer renders. | |
| CellRendererToggle () | |
| bool | get_active () const |
| Returns whether the cell renderer is active. | |
| bool | get_radio () const |
| Returns whether we're rendering radio toggles rather than checkboxes. | |
| const GtkCellRendererToggle* | gobj () const |
| Provides access to the underlying C GtkObject. | |
| GtkCellRendererToggle* | gobj () |
| Provides access to the underlying C GtkObject. | |
| Glib::PropertyProxy_ReadOnly< bool > | property_activatable () const |
| The toggle button can be activated. | |
| Glib::PropertyProxy<bool> | property_activatable () |
| The toggle button can be activated. | |
| Glib::PropertyProxy_ReadOnly< bool > | property_active () const |
| The toggle state of the button. | |
| Glib::PropertyProxy<bool> | property_active () |
| The toggle state of the button. | |
| Glib::PropertyProxy_ReadOnly< int > | property_indicator_size () const |
| Size of check or radio indicator. | |
| Glib::PropertyProxy<int> | property_indicator_size () |
| Size of check or radio indicator. | |
| Glib::PropertyProxy_ReadOnly< bool > | property_radio () const |
| Draw the toggle button as a radio button. | |
| Glib::PropertyProxy<bool> | property_radio () |
| Draw the toggle button as a radio button. | |
| void | set_active (bool setting=true) |
| Activates or deactivates a cell renderer. | |
| void | set_radio (bool radio=true) |
If radio is true, the cell renderer renders a radio toggle (i.e. a toggle in a group of mutually-exclusive toggles). | |
| Glib::SignalProxy1< void, const Glib::ustring& > | signal_toggled () |
| The toggled signal is emitted when the cell is toggled. | |
| virtual | ~CellRendererToggle () |
Related Functions | |
| (Note that these are not member functions.) | |
| Gtk::CellRendererToggle* | wrap (GtkCellRendererToggle* object, bool take_copy=false) |
|
|
|
|
|
|
|
|
Returns the property that this CellRenderer renders. For instance, property_text for CellRendererText, and property_active for CellRendererToggle Needs to be overridden in derived classes. Reimplemented from Gtk::CellRenderer. |
|
|
Returns whether the cell renderer is active. See set_active().
|
|
|
Returns whether we're rendering radio toggles rather than checkboxes.
|
|
|
Provides access to the underlying C GtkObject.
Reimplemented from Gtk::CellRenderer. |
|
|
Provides access to the underlying C GtkObject.
Reimplemented from Gtk::CellRenderer. |
|
|
The toggle button can be activated. You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
|
|
The toggle button can be activated. You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
|
|
The toggle state of the button. You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
|
|
The toggle state of the button. You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
|
|
Size of check or radio indicator. You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
|
|
Size of check or radio indicator. You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
|
|
Draw the toggle button as a radio button. You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
|
|
Draw the toggle button as a radio button. You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
|
|
Activates or deactivates a cell renderer.
|
|
|
If radio is
If
|
|
|
The toggled signal is emitted when the cell is toggled.
|
|
||||||||||||
|
|