mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-26 12:12:10 +01:00
docs: Move the gmenumodel SECTION
Move it to a separate page, since it doesn’t quite make sense to incorporate into the `GDBusConnection` docs. Signed-off-by: Philip Withnall <pwithnall@gnome.org> Helps: #3037
This commit is contained in:
parent
ef049cbaca
commit
de8e39b344
@ -51,6 +51,7 @@ content_files = [
|
||||
"dbus-name-owning.md",
|
||||
"dbus-name-watching.md",
|
||||
"dbus-utils.md",
|
||||
"menu-exporter.md",
|
||||
|
||||
"migrating-gdbus.md",
|
||||
"migrating-gconf.md",
|
||||
|
15
docs/reference/gio/menu-exporter.md
Normal file
15
docs/reference/gio/menu-exporter.md
Normal file
@ -0,0 +1,15 @@
|
||||
Title: GMenuModel Exporter
|
||||
SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
SPDX-FileCopyrightText: 2011 Matthias Clasen
|
||||
|
||||
# GMenuModel Exporter
|
||||
|
||||
These functions support exporting a [class@Gio.MenuModel] on D-Bus. The D-Bus
|
||||
interface that is used is a private implementation detail.
|
||||
|
||||
* [method@Gio.DBusConnection.export_menu_model]
|
||||
* [method@Gio.DBusConnection.unexport_menu_model]
|
||||
|
||||
To access an exported [class@Gio.MenuModel] remotely, use
|
||||
[func@Gio.DBusMenuModel.get] to obtain a [class@Gio.DBusMenuModel].
|
||||
|
@ -233,6 +233,7 @@ expand_content_files = [
|
||||
'error.md',
|
||||
'file-attributes.md',
|
||||
'io-scheduler.md',
|
||||
'menu-exporter.md',
|
||||
'migrating-gconf.md',
|
||||
'migrating-gdbus.md',
|
||||
'migrating-gnome-vfs.md',
|
||||
|
@ -28,21 +28,6 @@
|
||||
#include "gdbusnamewatching.h"
|
||||
#include "gdbuserror.h"
|
||||
|
||||
/**
|
||||
* SECTION:gmenuexporter
|
||||
* @title: GMenuModel exporter
|
||||
* @short_description: Export GMenuModels on D-Bus
|
||||
* @include: gio/gio.h
|
||||
* @see_also: #GMenuModel, #GDBusMenuModel
|
||||
*
|
||||
* These functions support exporting a #GMenuModel on D-Bus.
|
||||
* The D-Bus interface that is used is a private implementation
|
||||
* detail.
|
||||
*
|
||||
* To access an exported #GMenuModel remotely, use
|
||||
* g_dbus_menu_model_get() to obtain a #GDBusMenuModel.
|
||||
*/
|
||||
|
||||
/* {{{1 D-Bus Interface description */
|
||||
|
||||
/* For documentation of this interface, see
|
||||
|
Loading…
x
Reference in New Issue
Block a user