Superclass: cell-renderer
cell-renderer-toggle renders a toggle button in a cell. The button is drawn as a radio- or checkbutton, depending on the cell-renderer-toggle-radio property. When activated, it emits the cell-renderer-toggle::toggled signal.
Slots:
boolean
. Accessor: cell-renderer-toggle-activatable
.
The toggle button can be activated.
Default value: TRUE
boolean
. Accessor: cell-renderer-toggle-active
.
The toggle state of the button.
Default value: FALSE
boolean
. Accessor: cell-renderer-toggle-inconsistent
.
The inconsistent state of the button.
Default value: FALSE
integer
. Accessor: cell-renderer-toggle-indicator-size
.
Size of check or radio indicator.
Allowed values: >= 0
Default value: 13
boolean
. Accessor: cell-renderer-toggle-radio
.
Draw the toggle button as a radio button.
Default value: FALSE
Signals:
string
) => void. Options: run-last.
The signal is emitted when the cell of the row identified by path is toggled.