gtk-sharpGtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details.Gtk.MenuItemA 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.ConstructorCreates a CheckMenuItem with no labelConstructor
Pointer to the C object.
Internal constructorThis is an internal constructor, and should not be used by user code.Constructor
The text to appear on the menu item.
Create a new CheckMenuItem with the specified .The text label will be created using , so underscores in the label indicate the mnemonic for the menu item.PropertyGLib.Property("active")System.BooleanThe 'active' state of the CheckMenuItemPropertyGLib.Property("draw-as-radio")System.BooleanWhether the menu item looks like a radio menu item.a MethodSystem.VoidFires the event.PropertyGLib.GTypeGType Property.a Returns the native value for .PropertyGLib.Property("inconsistent")System.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.MethodGLib.DefaultSignalHandler(ConnectionMethod="OverrideDrawIndicator", Type=typeof(Gtk.CheckMenuItem))System.Void
To be added.
To be added.To be added.MethodGLib.DefaultSignalHandler(ConnectionMethod="OverrideToggled", Type=typeof(Gtk.CheckMenuItem))System.VoidDefault handler for the event.Override this method in a subclass to provide a default handler for the event.MethodSystem.VoidToggles the state of the check box between active and inactive.EventGLib.Signal("toggled")System.EventHandlerAn event that is raised whenever the state of the CheckMenuItem is toggled.Connect to this event with a standard .