mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 15:03:39 +02:00
Add GMenuModel
This commit is contained in:
committed by
Ryan Lortie
parent
df4cd241e5
commit
12a39a05d3
@@ -97,7 +97,9 @@ MKDB_OPTIONS = --output-format=xml --sgml-mode --name-space=g \
|
||||
|
||||
# Images to copy into HTML directory
|
||||
HTML_IMAGES = \
|
||||
gvfs-overview.png
|
||||
gvfs-overview.png \
|
||||
menu-example.png \
|
||||
menu-model.png
|
||||
|
||||
content_files = \
|
||||
version.xml \
|
||||
|
@@ -200,6 +200,7 @@
|
||||
<xi:include href="xml/gsimpleaction.xml"/>
|
||||
<xi:include href="xml/gactiongroupexporter.xml"/>
|
||||
<xi:include href="xml/gdbusactiongroup.xml"/>
|
||||
<xi:include href="xml/gmenumodel.xml"/>
|
||||
</chapter>
|
||||
<chapter id="extending">
|
||||
<title>Extending GIO</title>
|
||||
|
@@ -3541,3 +3541,79 @@ G_IS_NETWORK_MONITOR
|
||||
G_NETWORK_MONITOR_GET_INTERFACE
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>gmenumodel</FILE>
|
||||
GMenuModel
|
||||
g_menu_model_is_mutable
|
||||
g_menu_model_get_n_items
|
||||
g_menu_model_get_item
|
||||
|
||||
<SUBSECTION>
|
||||
G_MENU_ATTRIBUTE_ACTION
|
||||
G_MENU_ATTRIBUTE_LABEL
|
||||
G_MENU_ATTRIBUTE_TARGET
|
||||
G_MENU_LINK_SECTION
|
||||
G_MENU_LINK_SUBMENU
|
||||
|
||||
<SUBSECTION>
|
||||
g_menu_model_get_item_attribute_value
|
||||
g_menu_model_get_item_attribute
|
||||
g_menu_model_get_item_link
|
||||
g_menu_model_iterate_item_attributes
|
||||
g_menu_model_iterate_item_links
|
||||
|
||||
<SUBSECTION>
|
||||
g_menu_model_items_changed
|
||||
|
||||
<SUBSECTION>
|
||||
GMenuAttributeIter
|
||||
g_menu_attribute_iter_get_next
|
||||
g_menu_attribute_iter_get_name
|
||||
g_menu_attribute_iter_get_value
|
||||
g_menu_attribute_iter_next
|
||||
|
||||
<SUBSECTION>
|
||||
GMenuLinkIter
|
||||
g_menu_link_iter_get_name
|
||||
g_menu_link_iter_get_next
|
||||
g_menu_link_iter_get_value
|
||||
g_menu_link_iter_next
|
||||
|
||||
<SUBSECTION Private>
|
||||
g_menu_attribute_iter_get_type
|
||||
g_menu_link_iter_get_type
|
||||
g_menu_model_get_type
|
||||
g_menu_model_get_label_quark
|
||||
g_menu_model_get_action_quark
|
||||
g_menu_model_get_section_quark
|
||||
g_menu_model_get_submenu_quark
|
||||
g_menu_model_get_target_quark
|
||||
|
||||
<SUBSECTION Standard>
|
||||
GMenuModelClass
|
||||
GMenuModelPrivate
|
||||
G_TYPE_MENU_MODEL
|
||||
G_MENU_MODEL
|
||||
G_IS_MENU_MODEL
|
||||
G_MENU_MODEL_CLASS
|
||||
G_IS_MENU_MODEL_CLASS
|
||||
G_MENU_MODEL_GET_CLASS
|
||||
|
||||
GMenuAttributeIterClass
|
||||
GMenuAttributeIterPrivate
|
||||
G_TYPE_MENU_LINK_ITER
|
||||
G_MENU_LINK_ITER
|
||||
G_IS_MENU_LINK_ITER
|
||||
G_MENU_LINK_ITER_CLASS
|
||||
G_IS_MENU_LINK_ITER_CLASS
|
||||
G_MENU_LINK_ITER_GET_CLASS
|
||||
|
||||
GMenuLinkIterClass
|
||||
GMenuLinkIterPrivate
|
||||
G_TYPE_MENU_ATTRIBUTE_ITER
|
||||
G_MENU_ATTRIBUTE_ITER
|
||||
G_IS_MENU_ATTRIBUTE_ITER
|
||||
G_MENU_ATTRIBUTE_ITER_CLASS
|
||||
G_IS_MENU_ATTRIBUTE_ITER_CLASS
|
||||
G_MENU_ATTRIBUTE_ITER_GET_CLASS
|
||||
</SECTION>
|
||||
|
@@ -46,6 +46,9 @@ g_local_directory_monitor_get_type
|
||||
g_local_file_monitor_get_type
|
||||
g_memory_input_stream_get_type
|
||||
g_memory_output_stream_get_type
|
||||
g_menu_attribute_iter_get_type
|
||||
g_menu_link_iter_get_type
|
||||
g_menu_model_get_type
|
||||
g_mount_get_type
|
||||
g_mount_operation_get_type
|
||||
g_native_volume_monitor_get_type
|
||||
@@ -122,3 +125,8 @@ g_dbus_signal_info_get_type
|
||||
g_dbus_method_info_get_type
|
||||
g_dbus_interface_info_get_type
|
||||
g_dbus_node_info_get_type
|
||||
g_menu_model_get_type
|
||||
g_menu_attribute_iter_get_type
|
||||
g_menu_link_iter_get_type
|
||||
g_menu_get_type
|
||||
g_menu_item_get_type
|
||||
|
BIN
docs/reference/gio/menu-example.png
Normal file
BIN
docs/reference/gio/menu-example.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 31 KiB |
BIN
docs/reference/gio/menu-model.png
Normal file
BIN
docs/reference/gio/menu-model.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 20 KiB |
Reference in New Issue
Block a user