Learn R Programming

RGtk2 (version 2.8.8)

GtkCheckMenuItem: GtkCheckMenuItem

Description

A menu item with a check box

Arguments

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

\link{GObject} +----\link{GtkObject} +----\link{GtkWidget} +----\link{GtkContainer} +----\link{GtkBin} +----\link{GtkItem} +----\link{GtkMenuItem} +----GtkCheckMenuItem +----\link{GtkRadioMenuItem}

Interfaces

GtkCheckMenuItem implements AtkImplementorIface.

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.

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.

References

http://developer.gnome.org/doc/API/2.0/gtk/GtkCheckMenuItem.html