MenuItem
Object Hierarchy:
Description:
public class MenuItem : Object
Object used by Menu to represent a menu item.
Note:
MenuItems do not inherit from Widget.
Content:
Properties:
- public weak Menu? menu { get; }
Gets the Menu that this menu item belongs to.
- public Button button { construct; get; }
Gets the Button that is the Container for the menu item.
- public Label label { construct; get; }
Gets the Lable for the menu item.
- public Object? represented_object { set; get; }
Gets and sets a user-defined object that the menu item represents.
Creation methods:
Inherited Members:
All known members inherited from class GLib.Object
- @new
- newv
- new_valist
- get_type
- get_class
- @ref
- unref
- ref_sink
- weak_ref
- weak_unref
- add_weak_pointer
- remove_weak_pointer
- @get
- @set
- get_property
- set_property
- get_data
- set_data
- set_data_full
- steal_data
- get_qdata
- set_qdata
- set_qdata_full
- steal_qdata
- freeze_notify
- thaw_notify
- dispose
- constructed
- notify_property
- connect
- disconnect
- add_toggle_ref
- remove_toggle_ref
- bind_property
- notify
- ref_count