gtk-gtkcheckmenuitem

0th

Percentile

GtkCheckMenuItem

A menu item with a check box

Keywords
internal
Methods and Functions

gtkCheckMenuItemNew(show = TRUE) gtkCheckMenuItemNewWithLabel(label, show = TRUE) gtkCheckMenuItemNewWithMnemonic(label, show = TRUE) gtkCheckMenuItemGetActive(object) gtkCheckMenuItemSetActive(object, is.active) gtkCheckMenuItemSetShowToggle(object, always) gtkCheckMenuItemToggled(object) gtkCheckMenuItemGetInconsistent(object) gtkCheckMenuItemSetInconsistent(object, setting) gtkCheckMenuItemSetDrawAsRadio(object, draw.as.radio) gtkCheckMenuItemGetDrawAsRadio(object) gtkCheckMenuItem(label, show = TRUE)

Hierarchy

GObject
   +----GInitiallyUnowned
         +----GtkObject
               +----GtkWidget
                     +----GtkContainer
                           +----GtkBin
                                 +----GtkItem
                                       +----GtkMenuItem
                                             +----GtkCheckMenuItem
                                                   +----GtkRadioMenuItem

Interfaces

GtkCheckMenuItem implements AtkImplementorIface, GtkBuildable and GtkActivatable.

Detailed Description

A GtkCheckMenuItem is a menu item that maintains the state of a boolean value in addition to a GtkMenuItem'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 GtkMenuItem. Activating the GtkMenuItem toggles the value.

Structures

Convenient Construction

gtkCheckMenuItem is the result of collapsing the constructors of GtkCheckMenuItem (gtkCheckMenuItemNew, gtkCheckMenuItemNewWithLabel, gtkCheckMenuItemNewWithMnemonic) and accepts a subset of its arguments matching the required arguments of one of its delegate constructors.

Signals

Properties

active [logical : Read / Write]
Whether the menu item is checked. Default value: FALSE
draw-as-radio [logical : Read / Write]
Whether the menu item looks like a radio menu item. Default value: FALSE
inconsistent [logical : Read / Write]
Whether to display an "inconsistent" state. Default value: FALSE

Style Properties

References

http://library.gnome.org/devel//gtk/gtk-gtkcheckmenuitem.html

Aliases
  • gtk-gtkcheckmenuitem
  • GtkCheckMenuItem
  • gtkCheckMenuItem
Documentation reproduced from package RGtk2, version 2.20.31, License: GPL

Community examples

Looks like there are no examples yet.