Package: gtk

Class gtk:cell-renderer-toggle

Superclasses

gtk:cell-renderer, gobject:initially-unowned, gobject:object, common-lisp:standard-object, common-lisp:t

Documented Subclasses

None

Direct Slots

activatable
The activatable property of type :boolean (Read / Write)
Whether the toggle button can be activated.
Default value: true
active
The active property of type :boolean (Read / Write)
The toggle state of the button.
Default value: false
inconsistent
The inconsistent property of type :boolean (Read / Write)
The inconsistent state of the button.
Default value: false
radio
The radio property of type :boolean (Read / Write)
Draw the toggle button as a radio button.
Default value: false

Details

The gtk:cell-renderer-toggle object renders a toggle button in a cell. The button is drawn as a radio button or a check button, depending on the radio property. When activated, it emits the "toggled" signal.

Warning

The gtk:cell-renderer-toggle object is deprecated since 4.10. List views use widgets to display their contents. You should use the gtk:toggle-button widget instead.

Signal Details

The "toggled" signal
lambda (renderer path)    :run-last      
renderer
The gtk:cell-renderer-toggle object which received the signal.
path
String representation of the gtk:tree-path instance describing the event location.
The signal is emitted when the cell is toggled.
 

Returned by

Slot Access Functions

Inherited Slot Access Functions

See also

2024-2-22