GLib.MenuModel – gio-2.0 Reference Manual
Packages
gio-2.0
GLib
MenuModel
MenuModel
get_item_attribute
get_item_attribute_value
get_item_attributes
get_item_link
get_item_links
get_n_items
is_mutable
iterate_item_attributes
iterate_item_links
items_changed
MenuModel
Object Hierarchy:
Description:
public
abstract
class
MenuModel
:
Object
All known sub-classes:
DBusMenuModel
Menu
Namespace:
GLib
Package:
gio-2.0
Content:
Creation methods:
protected
MenuModel
()
Methods:
public
bool
get_item_attribute
(
int
item_index,
string
attribute,
string
format_string, ...)
public
virtual
Variant
get_item_attribute_value
(
int
item_index,
string
attribute,
VariantType
? expected_type)
public
virtual
void
get_item_attributes
(
int
item_index,
HashTable
<
void
*,
void
*> attributes)
public
virtual
MenuModel
get_item_link
(
int
item_index,
string
link)
public
virtual
void
get_item_links
(
int
item_index,
HashTable
<
void
*,
void
*> links)
public
virtual
int
get_n_items
()
public
virtual
bool
is_mutable
()
public
virtual
MenuAttributeIter
iterate_item_attributes
(
int
item_index)
public
virtual
MenuLinkIter
iterate_item_links
(
int
item_index)
Signals:
public
signal
void
items_changed
(
int
position,
int
removed,
int
added)
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