CheckMenuItem
Object Hierarchy:
Description:
Namespace: Gtk
Package: gtk+-2.0
Content:
Properties:
Creation methods:
Methods:
-
public virtual void draw_indicator (Rectangle area)
-
public bool get_active ()
Returns whether the check menu item is active. See
set_active.
-
public bool get_draw_as_radio ()
-
public bool get_inconsistent ()
-
public void set_active (bool is_active)
-
public void set_draw_as_radio (bool draw_as_radio)
-
public void set_inconsistent (bool setting)
If the user has selected a range of elements (such as some text or spreadsheet cells) that are
affected by a boolean setting, and the current values in that range are inconsistent, you may want to display the check in an "in
between" state. This function turns on "in between" display. Normally you would turn off the inconsistent state again if the user
explicitly selects a setting. This has to be done manually,
set_inconsistent only affects visual appearance, it doesn't affect the semantics of the widget.
Signals:
Fields: