Class

GntMenuItemCheck

Description

final class Gnt.MenuItemCheck : Gnt.MenuItem {
  /* No available fields */
}
No description available.

Ancestors

Constructors

gnt_menuitem_check_new

Create a new menuitem.

Instance methods

gnt_menuitem_check_get_checked

Check whether the menuitem is checked or not.

gnt_menuitem_check_set_checked

Set whether the menuitem is checked or not.

Methods inherited from GntMenuItem (11)
gnt_menuitem_activate

Activate a menuitem. Activating the menuitem will first trigger the ‘activate’ signal for the menuitem. Then the callback for the menuitem is triggered, if there is one.

Available since: 2.3.0

gnt_menuitem_get_id

Get the ID of the menuitem.

Available since: 2.3.0

gnt_menuitem_get_submenu

Get the submenu for a menuitem.

Available since: 2.3.0

gnt_menuitem_get_trigger

Get the trigger key for a menuitem.

gnt_menuitem_is_visible

Checks, if the item is visible.

Available since: 3.0.0

gnt_menuitem_set_callback

Set a callback function for a menuitem.

gnt_menuitem_set_id

Set an ID for the menuitem.

Available since: 2.3.0

gnt_menuitem_set_submenu

Set a submenu for a menuitem. A menuitem with a submenu cannot have a callback.

gnt_menuitem_set_text

Changes the text for an item.

Available since: 3.0.0

gnt_menuitem_set_trigger

Set a trigger key for the item.

gnt_menuitem_set_visible

Sets item visible or not.

Available since: 3.0.0

Methods inherited from GObject (42)

Please see GObject for a full list of methods.

Signals

Signals inherited from GntMenuItem (1)
Gnt.MenuItem::activate
No description available.
Signals inherited from GObject (1)
GObject.Object::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct GntMenuItemCheckClass {
  GntMenuItemClass parent_class;
  
}
No description available.
Class members
parent_class
GntMenuItemClass
  No description available.