Go to the first, previous, next, last section, table of contents.


6.9 The check menu item widget

6.9.1 Description

Derived from see section 6.40 The menu item widget. Very similar to a checkbutton (see section 6.8 The check button widget), except that it's a menu item. Has a toggled state which is displayed in a small rectangle to the left of the contained widget.

6.9.2 Options

User Option: label

User Option: state

6.9.3 Signals

Signal: void GtkCheckMenuItem::toggled (GtkCheckMenuItem *check_menu_item)

6.9.4 Functions

Function: guint gtk_check_menu_item_get_type (void)
Returns the GtkCheckMenuItem type identifier.

Function: GtkWidget* gtk_check_menu_item_new (void)
Create a new GtkCheckMenuItem object. The new widget is returned as a pointer to a GtkWidget object. NULL is returned on failure.

Function: GtkWidget* gtk_check_menu_item_new_with_label (gchar *label)
Create a new GtkCheckMenuItem object and initialize it with the values label. The new widget is returned as a pointer to a GtkWidget object. NULL is returned on failure.

Function: void gtk_check_menu_item_set_state (GtkCheckMenuItem *check_menu_item, gint state)

Function: void gtk_check_menu_item_toggled (GtkCheckMenuItem *check_menu_item)

@gtkstdmacros{CheckMenuItem, CHECK_MENU_ITEM}


Go to the first, previous, next, last section, table of contents.