class GtkCheckButton GtkToggleButton { }
GtkObject<-- GtkWidget<-- GtkContainer<-- GtkBin<-- GtkButton<-- GtkToggleButton<--GtkCheckButton
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.
_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) |
Copyright © 1995-2010 by Cogent Real-Time Systems, Inc. All rights reserved.