gtk-sharp2.10.0.0Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details.A menu item with a check box.A CheckMenuItem is a menu item that maintains the state of a boolean value in addition to a 's usual role in activating application code.A check box indicating the state of the boolean value is displayed at the left side of the . Activating the toggles the value.Whether the CheckMenuItem is 'on' or not can be determined with the property.Gtk.MenuItemMethodSystem.VoidToggles the state of the check box between active and inactive.ConstructorInternal constructor
Pointer to the C object.
This is an internal constructor, and should not be used by user code.ConstructorCreates a CheckMenuItem with no labelConstructorCreate a new CheckMenuItem with the specified .
The text to appear on the menu item.
The text label will be created using , so underscores in the label indicate the mnemonic for the menu item.PropertySystem.BooleanManages whether the CheckMenuItem is in the 'inconsistent' state. if this CheckMenuItem is in the inconsistent state, otherwise.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 property 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, this property only affects visual appearance, it doesn't affect the semantics of the widget.GLib.Property("inconsistent")PropertySystem.BooleanThe 'active' state of the CheckMenuItemGLib.Property("active")EventSystem.EventHandlerAn event that is raised whenever the state of the CheckMenuItem is toggled.Connect to this event with a standard .GLib.Signal("toggled")PropertyGLib.GTypeGType Property.a Returns the native value for .MethodSystem.VoidDefault handler for the event.Override this method in a subclass to provide a default handler for the event.ConstructorProtected Constructor.
a Chain to this constructor if you have manually registered a native value for your subclass.System.ObsoletePropertySystem.BooleanWhether the menu item looks like a radio menu item.a GLib.Property("draw-as-radio")PropertySystem.BooleanWhether this menu item can be toggled.a System.ObsoleteMethodSystem.VoidFires the event.