ToggleButton.setMode

Sets whether the button is displayed as a separate indicator and label. You can call this function on a checkbutton or a radiobutton with @draw_indicator = %FALSE to make the button look like a normal button.

This can be used to create linked strip of buttons that work like a #GtkStackSwitcher.

This function only affects instances of classes like #GtkCheckButton and #GtkRadioButton that derive from #GtkToggleButton, not instances of #GtkToggleButton itself.

class ToggleButton
void
setMode

Parameters

drawIndicator bool

if %TRUE, draw the button as a separate indicator and label; if %FALSE, draw the button like a normal button

Meta