GtkCheckButton

GtkCheckButton — a clickable label with a small toggle button beside it.

Synopsis

class GtkCheckButton GtkToggleButton
{
}
     

Parent Classes

GtkObject<-- GtkWidget<-- GtkContainer<-- GtkBin<-- GtkButton<-- GtkToggleButton<--GtkCheckButton

Child Classes

GtkRadioButton

Description

When creating a GtkCheckButton (or its child, a GtkRadioButton) with gtk_check_button_new_with_label function, the label adheres to the check box, and if the widget is resized, the label stays in a left-justified position. If, on the other hand, the GtkCheckButton is created with a call to .new(), the label that is created "floats" in the middle of the area alotted to the button.

Related Functions

_gtk_check_button_get_props (check_button)
gtk_check_button_get_type () -- replaces GTK_TYPE_CHECK_BUTTON
gtk_check_button_new ()
gtk_check_button_new_with_label (label)
gtk_check_menu_item_get_type () -- replaces GTK_TYPE_CHECK_MENU_ITEM
gtk_check_menu_item_new ()
gtk_check_menu_item_new_with_label (label)

Example

See the Check Buttons example in the Example Code Appendix.