[gtkmm/gtkmm-3-24] docs_override.xml files: Add substitute_[type|enumerator]_name elements
- From: Kjell Ahlstedt <kjellahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm/gtkmm-3-24] docs_override.xml files: Add substitute_[type|enumerator]_name elements
- Date: Wed, 12 Sep 2018 11:55:50 +0000 (UTC)
commit bf18f3274376c36569bc86a353e04ccabc4c08c2
Author: Kjell Ahlstedt <kjellahlstedt gmail com>
Date: Fri Sep 7 10:23:44 2018 +0200
docs_override.xml files: Add substitute_[type|enumerator]_name elements
* gdk/src/gdk_docs_override.xml:
* gtk/src/gtk_docs_override.xml: Applicable substitute_type_name and
substitute_enumerator_name elements have been copied from the corresponding
files in the master branch (gtkmm-4). Fixes #19
gdk/src/gdk_docs_override.xml | 14 +++++++++++
gtk/src/gtk_docs_override.xml | 56 +++++++++++++++++++++++++++++++++++++++++++
2 files changed, 70 insertions(+)
---
diff --git a/gdk/src/gdk_docs_override.xml b/gdk/src/gdk_docs_override.xml
index 2a632c1f..04ee0e1e 100644
--- a/gdk/src/gdk_docs_override.xml
+++ b/gdk/src/gdk_docs_override.xml
@@ -1,4 +1,18 @@
<root>
+<substitute_type_name from="GIcon" to="Gio::Icon" />
+<substitute_type_name from="GAppInfo" to="Gio::AppInfo" />
+<substitute_type_name from="GSettings" to="Gio::Settings" />
+<substitute_type_name from="GInputStream" to="Gio::InputStream" />
+<substitute_type_name from="GCancellable" to="Gio::Cancellable" />
+
+<substitute_enumerator_name from_prefix="G_IO_ERROR_" to_prefix="Gio::IO_ERROR_" />
+<!-- These are preprocessor defines. Don't substitute. -->
+<substitute_enumerator_name from="GDK_CURRENT_TIME" to="GDK_CURRENT_TIME" />
+<substitute_enumerator_name from="GDK_PIXBUF_ERROR" to="GDK_PIXBUF_ERROR" />
+<substitute_enumerator_name from="G_TYPE_INVALID" to="G_TYPE_INVALID" />
+<substitute_enumerator_name from="G_FILE_ERROR" to="G_FILE_ERROR" />
+<substitute_enumerator_name from="G_IO_ERROR" to="G_IO_ERROR" />
+<substitute_enumerator_name from="GDK_BUTTON_SECONDARY" to="GDK_BUTTON_SECONDARY" />
<function name="gdk_display_manager_list_displays">
<return> a list of #GdkDisplay objects.
diff --git a/gtk/src/gtk_docs_override.xml b/gtk/src/gtk_docs_override.xml
index 581c5e89..be5a1092 100644
--- a/gtk/src/gtk_docs_override.xml
+++ b/gtk/src/gtk_docs_override.xml
@@ -1,4 +1,60 @@
<root>
+<substitute_type_name from="GObject" to="Glib::Object" />
+<substitute_type_name from="GClosure" to="GClosure" />
+<substitute_type_name from="GMenu" to="Gio::Menu" />
+<substitute_type_name from="GAction" to="Gio::Action" />
+<substitute_type_name from="GVariant" to="Glib::Variant" />
+<substitute_type_name from="GAppInfo" to="Gio::AppInfo" />
+<substitute_type_name from="GApplication" to="Gio::Application" />
+<substitute_type_name from="GActionGroup" to="Gio::ActionGroup" />
+<substitute_type_name from="GActionMap" to="Gio::ActionMap" />
+<substitute_type_name from="GMenuModel" to="Gio::MenuModel" />
+<substitute_type_name from="GType" to="GType" />
+<substitute_type_name from="GError" to="GError" />
+<substitute_type_name from="GFile" to="Gio::File" />
+<substitute_type_name from="GIcon" to="Gio::Icon" />
+<substitute_type_name from="GPermission" to="Gio::Permission" />
+<substitute_type_name from="GParamSpec" to="GParamSpec" />
+<substitute_type_name from="GResource" to="Gio::Resource" />
+<substitute_type_name from="GAsyncResult" to="Gio::AsyncResult" />
+<substitute_type_name from="GKeyFile" to="Glib::KeyFile" />
+<substitute_type_name from="GVolume" to="Gio::Volume" />
+<substitute_type_name from="GMountOperation" to="Gio::MountOperation" />
+<substitute_type_name from="GFileError" to="Glib::FileError" />
+<substitute_type_name from="GKeyFileError" to="Glib::KeyFileError" />
+
+<!-- GdkWindowWindowClass is not wrapped in gtkmm. Don't substitute its enumerator names. -->
+<substitute_enumerator_name from="GDK_INPUT_ONLY" to="GDK_INPUT_ONLY" />
+<substitute_enumerator_name from="GDK_INPUT_OUTPUT" to="GDK_INPUT_OUTPUT" />
+<!-- GSignalFlags is not wrapped in gtkmm. Don't substitute its enumerator names. -->
+<substitute_enumerator_name from_prefix="G_SIGNAL_" to_prefix="G_SIGNAL_" />
+<!-- These are preprocessor defines. Don't substitute. -->
+<substitute_enumerator_name from="GTK_BUILDER_ERROR" to="GTK_BUILDER_ERROR" />
+<substitute_enumerator_name from="G_MARKUP_ERROR" to="G_MARKUP_ERROR" />
+<substitute_enumerator_name from="G_FILE_ERROR" to="G_FILE_ERROR" />
+<substitute_enumerator_name from="G_RESOURCE_ERROR" to="G_RESOURCE_ERROR" />
+<substitute_enumerator_name from="G_MAXINT" to="G_MAXINT" />
+<substitute_enumerator_name from="GDK_SELECTION_CLIPBOARD" to="GDK_SELECTION_CLIPBOARD" />
+<substitute_enumerator_name from="GDK_SELECTION_PRIMARY" to="GDK_SELECTION_PRIMARY" />
+<substitute_enumerator_name from="GDK_NONE" to="GDK_NONE" />
+<substitute_enumerator_name from="G_TYPE_STRING" to="G_TYPE_STRING" />
+<substitute_enumerator_name from="G_TYPE_INT" to="G_TYPE_INT" />
+<substitute_enumerator_name from="G_TYPE_NONE" to="G_TYPE_NONE" />
+<substitute_enumerator_name from="GTK_CSS_PROVIDER_ERROR" to="GTK_CSS_PROVIDER_ERROR" />
+<substitute_enumerator_name from="GDK_TYPE_PIXBUF" to="GDK_TYPE_PIXBUF" />
+<substitute_enumerator_name from_prefix="GTK_PRINT_SETTINGS_" to_prefix="GTK_PRINT_SETTINGS_" />
+<substitute_enumerator_name from="GTK_RECENT_MANAGER_ERROR" to="GTK_RECENT_MANAGER_ERROR" />
+<substitute_enumerator_name from="G_IO_ERROR" to="G_IO_ERROR" />
+<substitute_enumerator_name from="GDK_CURRENT_TIME" to="GDK_CURRENT_TIME" />
+<substitute_enumerator_name from="GDK_EVENT_STOP" to="GDK_EVENT_STOP" />
+<substitute_enumerator_name from="GDK_EVENT_PROPAGATE" to="GDK_EVENT_PROPAGATE" />
+<substitute_enumerator_name from="GTK_INPUT_ERROR" to="GTK_INPUT_ERROR" />
+<substitute_enumerator_name from_prefix="GTK_STYLE_PROVIDER_PRIORITY_"
to_prefix="GTK_STYLE_PROVIDER_PRIORITY_" />
+<substitute_enumerator_name from="G_PI" to="G_PI" />
+<substitute_enumerator_name from="G_TYPE_BOOLEAN" to="G_TYPE_BOOLEAN" />
+<substitute_enumerator_name from_prefix="GTK_TREE_SORTABLE_" to_prefix="GTK_TREE_SORTABLE_" />
+<substitute_enumerator_name from="GTK_CAN_FOCUS" to="GTK_CAN_FOCUS" />
+
<function name="gtk_box_pack_start">
<description>
Left side insert a widget to a box.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]