gtk-sharp0.0.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.MenuItemAtk.ImplementorGLib.IWrapperGLib.IWrapperSystem.IDisposableMethodGtk.CheckMenuItemA static way of creating a new CheckMenuItem
The name of the menu item
A new CheckMenuItemMethodSystem.VoidToggles the state of the check box between active and inactive.MethodSystem.VoidDisposes the resources associated with the object.ConstructorInternal constructor
Pointer to the C object.
An instance of CheckMenuItem, wrapping the C object.This is an internal constructor, and should not be used by user code.ConstructorCreates a CheckMenuItem with no labelA new CheckMenuItemConstructorCreate a new CheckMenuItem with the specified .
The text to appear on the menu item.
A new CheckMenuItemThe text label will be created using , so underscores in the label indicate the mnemonic for the menu item.PropertySystem.UInt32The GLib Type for Gtk.CheckMenuItemThe GLib Type for the Gtk.CheckMenuItem class.PropertySystem.BooleanManages whether the CheckMenuItem is in the 'inconsistent' state. to mark the check box as inconsistent, otherwise.
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.PropertySystem.BooleanThe 'active' state of the CheckMenuItem if the menu item has been set active, otherwise.
EventAn event that is fired whenever the state of the CheckMenuItem is toggled.Connect to this event with a standard .ConstructorInternal constructor
GLib type for the type
Creates a new instance of CheckMenuItem, using the GLib-provided typeThis is a constructor used by derivative types of that would have their own GLib type assigned to it. This is not typically used by C# code.