Method

GtkToggleButtonset_mode

Declaration [src]

void
gtk_toggle_button_set_mode (
  GtkToggleButton* toggle_button,
  gboolean draw_indicator
)

Description [src]

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.

Parameters

draw_indicator gboolean
 

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