Package: gtk

Function gtk:toggle-button-mode

Lambda List

gtk:toggle-button-mode (button)

Syntax

(gtk:toggle-button-mode button) => mode
(setf (gtk:toggle-button-mode button) mode)

Arguments

button -- a gtk:toggle-button widget
mode -- if true, draw the button as a separate indicator and label, if false, draw the button like a normal button

Details

Gets or sets whether the button is displayed as a separate indicator and label. You can call this function on a check button or a radio button with the false value for mode to make the button look like a normal button.

This function only affects instances of classes like the gtk:check-button and gtk:radio-button classes that derive from the gtk:toggle-button class, not instances of the gtk:toggle-button class itself.

Notes

This function is equivalent to the gtk:toggle-button-draw-indicator function.
 

See also

#2026-06-23