[glibmm] giomm: Add the ActionMap interface.
- From: Josà Alburquerque <jaalburqu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glibmm] giomm: Add the ActionMap interface.
- Date: Wed, 15 Feb 2012 21:32:21 +0000 (UTC)
commit e87a8805147509a501b452cdb95b1eac08e8251e
Author: Josà Alburquerque <jaalburqu svn gnome org>
Date: Wed Feb 15 16:30:10 2012 -0500
giomm: Add the ActionMap interface.
* gio/src/actionmap.{ccg,hg}:
* gio/src/filelist.am: Add the new sources.
* gio/src/gio_methods.defs: Regenerate to get the new ActionMap
methods.
* gio/src/gio_vfuncs.defs: Add the ActionMap virtual functions.
* gio/src/application.hg:
* gio/src/simpleactiongroup.hg: These classes implement the new
interface.
* gio/src/gio_extra_objects.defs: Add new objects so that there are no
missing define-object warnings from gmmproc.
ChangeLog | 25 +
gio/src/actionmap.ccg | 25 +
gio/src/actionmap.hg | 59 +
gio/src/application.hg | 4 +-
gio/src/filelist.am | 1 +
gio/src/gio_extra_objects.defs | 63 +-
gio/src/gio_methods.defs | 2776 ++++++++++++++++++++++++++++++++++++++--
gio/src/gio_vfuncs.defs | 26 +
gio/src/simpleactiongroup.hg | 7 +-
9 files changed, 2837 insertions(+), 149 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 5eef3de..9022d0b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,28 @@
+2012-02-15 Josà Alburquerque <jaalburquerque gmail com>
+
+ giomm: Add the ActionMap interface.
+
+ * gio/src/actionmap.{ccg,hg}:
+ * gio/src/filelist.am: Add the new sources.
+
+ * gio/src/gio_methods.defs: Regenerate to get the new ActionMap
+ methods.
+ * gio/src/gio_vfuncs.defs: Add the ActionMap virtual functions.
+
+ * gio/src/application.hg:
+ * gio/src/simpleactiongroup.hg: These classes implement the new
+ interface.
+
+ * gio/src/gio_extra_objects.defs: Add new objects so that there are no
+ missing define-object warnings from gmmproc.
+
+2012-02-15 Josà Alburquerque <jaalburquerque gmail com>
+
+ reviewed by: <delete if not using a buddy>
+
+ * gio/src/actionmap.ccg:
+ * gio/src/actionmap.hg:
+
2012-02-14 Josà Alburquerque <jaalburquerque gmail com>
gmmproc: docs: Remove possible parens in gtk-doc signal references.
diff --git a/gio/src/actionmap.ccg b/gio/src/actionmap.ccg
new file mode 100644
index 0000000..e80e599
--- /dev/null
+++ b/gio/src/actionmap.ccg
@@ -0,0 +1,25 @@
+// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*-
+
+/* Copyright (C) 2012 The giomm Development Team
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free
+ * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+
+#include <giomm/action.h>
+
+namespace Gio
+{
+
+} // namespace Gio
diff --git a/gio/src/actionmap.hg b/gio/src/actionmap.hg
new file mode 100644
index 0000000..d2c6fb3
--- /dev/null
+++ b/gio/src/actionmap.hg
@@ -0,0 +1,59 @@
+// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*-
+
+/* Copyright (C) 2012 The giomm Development Team
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free
+ * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+
+#include <glibmm/interface.h>
+
+_DEFS(giomm,gio)
+_PINCLUDE(glibmm/private/interface_p.h)
+_PINCLUDE(gio/gio.h)
+
+#ifndef DOXYGEN_SHOULD_SKIP_THIS
+typedef struct _GActionMapInterface GActionMapInterface;
+#endif /* DOXYGEN_SHOULD_SKIP_THIS */
+
+namespace Gio
+{
+
+class Action;
+
+/** TODO (When the C API has docs is available).
+ *
+ * @newin{2,32}
+ */
+class ActionMap : public Glib::Interface
+{
+ _CLASS_INTERFACE(ActionMap, GActionMap, G_ACTION_MAP, GActionMapInterface)
+
+public:
+ _WRAP_METHOD(Glib::RefPtr<Action> lookup_action(const Glib::ustring& action_name), g_action_map_lookup_action)
+ _WRAP_METHOD(Glib::RefPtr<const Action> lookup_action(const Glib::ustring& action_name) const, g_action_map_lookup_action, constversion)
+
+ //TODO: _WRAP_METHOD(void add_action_entries(const GActionEntry* entries, int n_entries, gpointer user_data), g_action_map_add_action_entries)
+
+ _WRAP_METHOD(void add_action(const Glib::RefPtr<Action>& action), g_action_map_add_action)
+ _WRAP_METHOD(void remove_action(const Glib::ustring& action_name), g_action_map_remove_action)
+
+#m4 _CONVERSION(`Glib::RefPtr<Action>', `GAction*', `Glib::unwrap($3)')
+ _WRAP_VFUNC(Glib::RefPtr<Action> lookup_action(const Glib::ustring& name) const, "lookup_action")
+
+ _WRAP_VFUNC(void add_action(Glib::RefPtr<Action> action) const, "add_action")
+ _WRAP_VFUNC(void remove_action(const Glib::ustring& name), "remove_action")
+};
+
+} // namespace Gio
diff --git a/gio/src/application.hg b/gio/src/application.hg
index 40acf22..60b8aa1 100644
--- a/gio/src/application.hg
+++ b/gio/src/application.hg
@@ -17,6 +17,7 @@
* Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+#include <giomm/actionmap.h>
#include <giomm/applicationcommandline.h>
#include <giomm/file.h>
#include <glibmm/object.h>
@@ -78,9 +79,10 @@ class ActionGroup;
*
* @newin{2,32}
*/
-class Application : public Glib::Object
+class Application : public Glib::Object, public ActionMap
{
_CLASS_GOBJECT(Application, GApplication, G_APPLICATION, Glib::Object, GObject)
+ _IMPLEMENTS_INTERFACE(ActionMap)
protected:
explicit Application(const Glib::ustring& application_id, ApplicationFlags flags=APPLICATION_FLAGS_NONE);
diff --git a/gio/src/filelist.am b/gio/src/filelist.am
index 8e2ce3f..567b5a3 100644
--- a/gio/src/filelist.am
+++ b/gio/src/filelist.am
@@ -15,6 +15,7 @@ giomm_files_defs = \
giomm_files_any_hg = \
action.hg \
actiongroup.hg \
+ actionmap.hg \
appinfo.hg \
application.hg \
applicationcommandline.hg \
diff --git a/gio/src/gio_extra_objects.defs b/gio/src/gio_extra_objects.defs
index 6d1f5e5..0b2b5f4 100644
--- a/gio/src/gio_extra_objects.defs
+++ b/gio/src/gio_extra_objects.defs
@@ -7,121 +7,146 @@
; (DocsParser.pm:substitute_function(), which uses GtkDefs.pm:lookup_object().)
(define-object Action
- (in-module "GLib")
+ (in-module "Gio")
(c-name "GAction")
(gtype-id "G_TYPE_ACTION")
)
+(define-object ActionGroup
+ (in-module "Gio")
+ (c-name "GActionGroup")
+ (gtype-id "G_TYPE_ACTION_GROUP")
+)
+
(define-object DBusConnection
- (in-module "GLib")
+ (in-module "Gio")
(c-name "GDBusConnection")
(gtype-id "G_TYPE_DBUS_CONNECTION")
)
; This helps DocParser.pm, which can't always guess how to break the "DB" part.
(define-object DbusConnection
- (in-module "GLib")
+ (in-module "Gio")
(c-name "GDbusConnection")
(gtype-id "G_TYPE_DBUS_CONNECTION")
)
(define-object DBusMessage
- (in-module "GLib")
+ (in-module "Gio")
(c-name "GDBusMessage")
(gtype-id "G_TYPE_DBUS_MESSAGE")
)
; This helps DocParser.pm, which can't always guess how to break the "DB" part.
(define-object DbusMessage
- (in-module "GLib")
+ (in-module "Gio")
(c-name "GDbusMessage")
(gtype-id "G_TYPE_DBUS_MESSAGE")
)
+(define-object DBusInterfaceInfo
+ (in-module "Gio")
+ (c-name "GDBusInterfaceInfo")
+ (gtype-id "G_TYPE_DBUS_METHOD_INTERFACE_INFO")
+)
+
+; This helps DocParser.pm, which can't always guess how to break the "DB" part.
+(define-object DbusInterfaceInfo
+ (in-module "Gio")
+ (c-name "GDBusInterfaceInfo")
+ (gtype-id "G_TYPE_DBUS_METHOD_INTERFACE_INFO")
+)
+
(define-object DBusMethodInvocation
- (in-module "GLib")
+ (in-module "Gio")
(c-name "GDBusMethodInvocation")
(gtype-id "G_TYPE_DBUS_METHOD_INVOCATION")
)
; This helps DocParser.pm, which can't always guess how to break the "DB" part.
(define-object DbusMethodInvocation
- (in-module "GLib")
+ (in-module "Gio")
(c-name "GDBusMethodInvocation")
(gtype-id "G_TYPE_DBUS_METHOD_INVOCATION")
)
(define-object DBusNodeInfo
- (in-module "GLib")
+ (in-module "Gio")
(c-name "GDBusNodeInfo")
(gtype-id "G_TYPE_DBUS_NODE_INFO")
)
; This helps DocParser.pm, which can't always guess how to break the "DB" part.
(define-object DbusNodeInfo
- (in-module "GLib")
+ (in-module "Gio")
(c-name "GDBusNodeInfo")
(gtype-id "G_TYPE_DBUS_NODE_INFO")
)
(define-object DBusProxy
- (in-module "GLib")
+ (in-module "Gio")
(c-name "GDBusProxy")
(gtype-id "G_TYPE_DBUS_PROXY")
)
; This helps DocParser.pm, which can't always guess how to break the "DB" part.
(define-object DbusProxy
- (in-module "GLib")
+ (in-module "Gio")
(c-name "GDbusProxy")
(gtype-id "G_TYPE_DBUS_PROXY")
)
(define-object DBusServer
- (in-module "GLib")
+ (in-module "Gio")
(c-name "GDBusServer")
(gtype-id "G_TYPE_DBUS_SERVER")
)
; This helps DocParser.pm, which can't always guess how to break the "DB" part.
(define-object DbusServer
- (in-module "GLib")
+ (in-module "Gio")
(c-name "GDbusServer")
(gtype-id "G_TYPE_DBUS_SERVER")
)
(define-object DesktopAppInfo
- (in-module "GLib")
+ (in-module "Gio")
(c-name "GDesktopAppInfo")
(gtype-id "G_TYPE_DESKTOP_APP_INFO")
)
(define-object FileAttribute
- (in-module "GLib")
+ (in-module "Gio")
(c-name "GFileAttribute")
(gtype-id "G_TYPE_FILE_ATTRIBUTE")
)
(define-object FileAttributeInfoList
- (in-module "GLib")
+ (in-module "Gio")
(c-name "GFileAttributeInfoList")
(gtype-id "G_TYPE_FILE_ATTRIBUTE_INFO_LISt")
)
(define-object FileInfo
- (in-module "GLib")
+ (in-module "Gio")
(c-name "GFileInfo")
(gtype-id "G_TYPE_FILE_INFO")
)
(define-object Proxy
- (in-module "GLib")
+ (in-module "Gio")
(c-name "GProxy")
(gtype-id "G_TYPE_PROXY")
)
(define-object ProxyResolver
- (in-module "GLib")
+ (in-module "Gio")
(c-name "GProxyResolver")
(gtype-id "G_TYPE_PROXY_RESOLVER")
)
+
+(define-object SimpleAction
+ (in-module "Gio")
+ (c-name "GSimpleAction")
+ (gtype-id "G_TYPE_SIMPLE_ACTION")
+)
diff --git a/gio/src/gio_methods.defs b/gio/src/gio_methods.defs
index 0fad83f..77e9402 100644
--- a/gio/src/gio_methods.defs
+++ b/gio/src/gio_methods.defs
@@ -52,6 +52,41 @@
(gtype-id "G_TYPE_CONVERTER")
)
+(define-object Auth
+ (in-module "GDBus")
+ (parent "GObject")
+ (c-name "GDBusAuth")
+ (gtype-id "G_TYPE_D_BUS_AUTH")
+)
+
+(define-object AuthMechanism
+ (in-module "GDBus")
+ (parent "GObject")
+ (c-name "GDBusAuthMechanism")
+ (gtype-id "G_TYPE_D_BUS_AUTH_MECHANISM")
+)
+
+(define-object AuthMechanismAnon
+ (in-module "GDBus")
+ (parent "GDBusAuthMechanism")
+ (c-name "GDBusAuthMechanismAnon")
+ (gtype-id "G_TYPE_D_BUS_AUTH_MECHANISM_ANON")
+)
+
+(define-object AuthMechanismExternal
+ (in-module "GDBus")
+ (parent "GDBusAuthMechanism")
+ (c-name "GDBusAuthMechanismExternal")
+ (gtype-id "G_TYPE_D_BUS_AUTH_MECHANISM_EXTERNAL")
+)
+
+(define-object AuthMechanismSha1
+ (in-module "GDBus")
+ (parent "GDBusAuthMechanism")
+ (c-name "GDBusAuthMechanismSha1")
+ (gtype-id "G_TYPE_D_BUS_AUTH_MECHANISM_SHA1")
+)
+
(define-object Interface
(in-module "GDBus")
(c-name "GDBusInterface")
@@ -112,6 +147,12 @@
(gtype-id "G_TYPE_D_BUS_PROXY")
)
+(define-object AppInfoLookup
+ (in-module "GDesktop")
+ (c-name "GDesktopAppInfoLookup")
+ (gtype-id "G_TYPE_DESKTOP_APP_INFO_LOOKUP")
+)
+
(define-object e
(in-module "GDriv")
(c-name "GDrive")
@@ -131,6 +172,12 @@
(gtype-id "G_TYPE_FILE")
)
+(define-object DescriptorBased
+ (in-module "GFile")
+ (c-name "GFileDescriptorBased")
+ (gtype-id "G_TYPE_FILE_DESCRIPTOR_BASED")
+)
+
(define-object Enumerator
(in-module "GFile")
(parent "GObject")
@@ -172,6 +219,13 @@
(gtype-id "G_TYPE_INET_ADDRESS")
)
+(define-object AddressMask
+ (in-module "GInet")
+ (parent "GObject")
+ (c-name "GInetAddressMask")
+ (gtype-id "G_TYPE_INET_ADDRESS_MASK")
+)
+
(define-object e
(in-module "GInitabl")
(c-name "GInitable")
@@ -226,6 +280,34 @@
(gtype-id "G_TYPE_LOADABLE_ICON")
)
+(define-object DirectoryMonitor
+ (in-module "GLocal")
+ (parent "GFileMonitor")
+ (c-name "GLocalDirectoryMonitor")
+ (gtype-id "G_TYPE_LOCAL_DIRECTORY_MONITOR")
+)
+
+(define-object FileIOStream
+ (in-module "GLocal")
+ (parent "GFileIOStream")
+ (c-name "GLocalFileIOStream")
+ (gtype-id "G_TYPE_LOCAL_FILE_IO_STREAM")
+)
+
+(define-object FileInputStream
+ (in-module "GLocal")
+ (parent "GFileInputStream")
+ (c-name "GLocalFileInputStream")
+ (gtype-id "G_TYPE_LOCAL_FILE_INPUT_STREAM")
+)
+
+(define-object FileMonitor
+ (in-module "GLocal")
+ (parent "GFileMonitor")
+ (c-name "GLocalFileMonitor")
+ (gtype-id "G_TYPE_LOCAL_FILE_MONITOR")
+)
+
(define-object InputStream
(in-module "GMemory")
(parent "GInputStream")
@@ -233,6 +315,27 @@
(gtype-id "G_TYPE_MEMORY_INPUT_STREAM")
)
+(define-object AttributeIter
+ (in-module "GMenu")
+ (parent "GObject")
+ (c-name "GMenuAttributeIter")
+ (gtype-id "G_TYPE_MENU_ATTRIBUTE_ITER")
+)
+
+(define-object LinkIter
+ (in-module "GMenu")
+ (parent "GObject")
+ (c-name "GMenuLinkIter")
+ (gtype-id "G_TYPE_MENU_LINK_ITER")
+)
+
+(define-object Model
+ (in-module "GMenu")
+ (parent "GObject")
+ (c-name "GMenuModel")
+ (gtype-id "G_TYPE_MENU_MODEL")
+)
+
(define-object t
(in-module "GMoun")
(c-name "GMount")
@@ -253,6 +356,20 @@
(gtype-id "G_TYPE_NETWORK_ADDRESS")
)
+(define-object MonitorBase
+ (in-module "GNetwork")
+ (parent "GObject")
+ (c-name "GNetworkMonitorBase")
+ (gtype-id "G_TYPE_NETWORK_MONITOR_BASE")
+)
+
+(define-object MonitorNetlink
+ (in-module "GNetwork")
+ (parent "GNetworkMonitorBase")
+ (c-name "GNetworkMonitorNetlink")
+ (gtype-id "G_TYPE_NETWORK_MONITOR_NETLINK")
+)
+
(define-object Service
(in-module "GNetwork")
(parent "GObject")
@@ -309,6 +426,13 @@
(gtype-id "G_TYPE_FILE_OUTPUT_STREAM")
)
+(define-object FileOutputStream
+ (in-module "GLocal")
+ (parent "GFileOutputStream")
+ (c-name "GLocalFileOutputStream")
+ (gtype-id "G_TYPE_LOCAL_FILE_OUTPUT_STREAM")
+)
+
(define-object n
(in-module "GPermissio")
(parent "GObject")
@@ -343,6 +467,13 @@
(gtype-id "G_TYPE_SETTINGS_BACKEND")
)
+(define-object SettingsBackend
+ (in-module "GDelayed")
+ (parent "GSettingsBackend")
+ (c-name "GDelayedSettingsBackend")
+ (gtype-id "G_TYPE_DELAYED_SETTINGS_BACKEND")
+)
+
(define-object ActionGroup
(in-module "GSimple")
(parent "GObject")
@@ -419,6 +550,13 @@
(gtype-id "G_TYPE_SOCKET_CONTROL_MESSAGE")
)
+(define-object InputStream
+ (in-module "GSocket")
+ (parent "GInputStream")
+ (c-name "GSocketInputStream")
+ (gtype-id "G_TYPE_SOCKET_INPUT_STREAM")
+)
+
(define-object Listener
(in-module "GSocket")
(parent "GObject")
@@ -426,6 +564,13 @@
(gtype-id "G_TYPE_SOCKET_LISTENER")
)
+(define-object OutputStream
+ (in-module "GSocket")
+ (parent "GOutputStream")
+ (c-name "GSocketOutputStream")
+ (gtype-id "G_TYPE_SOCKET_OUTPUT_STREAM")
+)
+
(define-object Service
(in-module "GSocket")
(parent "GSocketListener")
@@ -433,6 +578,13 @@
(gtype-id "G_TYPE_SOCKET_SERVICE")
)
+(define-object 4aProxy
+ (in-module "GSocks")
+ (parent "GObject")
+ (c-name "GSocks4aProxy")
+ (gtype-id "G_TYPE_SOCKS4A_PROXY")
+)
+
(define-object Connection
(in-module "GTcp")
(parent "GSocketConnection")
@@ -447,6 +599,13 @@
(gtype-id "G_TYPE_TCP_WRAPPER_CONNECTION")
)
+(define-object Resolver
+ (in-module "GThreaded")
+ (parent "GResolver")
+ (c-name "GThreadedResolver")
+ (gtype-id "G_TYPE_THREADED_RESOLVER")
+)
+
(define-object SocketService
(in-module "GThreaded")
(parent "GSocketService")
@@ -489,6 +648,55 @@
(gtype-id "G_TYPE_TLS_PASSWORD")
)
+(define-object Connection
+ (in-module "GUnix")
+ (parent "GSocketConnection")
+ (c-name "GUnixConnection")
+ (gtype-id "G_TYPE_UNIX_CONNECTION")
+)
+
+(define-object CredentialsMessage
+ (in-module "GUnix")
+ (parent "GSocketControlMessage")
+ (c-name "GUnixCredentialsMessage")
+ (gtype-id "G_TYPE_UNIX_CREDENTIALS_MESSAGE")
+)
+
+(define-object FDList
+ (in-module "GUnix")
+ (parent "GObject")
+ (c-name "GUnixFDList")
+ (gtype-id "G_TYPE_UNIX_FD_LIST")
+)
+
+(define-object FDMessage
+ (in-module "GUnix")
+ (parent "GSocketControlMessage")
+ (c-name "GUnixFDMessage")
+ (gtype-id "G_TYPE_UNIX_FD_MESSAGE")
+)
+
+(define-object InputStream
+ (in-module "GUnix")
+ (parent "GInputStream")
+ (c-name "GUnixInputStream")
+ (gtype-id "G_TYPE_UNIX_INPUT_STREAM")
+)
+
+(define-object OutputStream
+ (in-module "GUnix")
+ (parent "GOutputStream")
+ (c-name "GUnixOutputStream")
+ (gtype-id "G_TYPE_UNIX_OUTPUT_STREAM")
+)
+
+(define-object SocketAddress
+ (in-module "GUnix")
+ (parent "GSocketAddress")
+ (c-name "GUnixSocketAddress")
+ (gtype-id "G_TYPE_UNIX_SOCKET_ADDRESS")
+)
+
(define-object s
(in-module "GVf")
(parent "GObject")
@@ -516,8 +724,35 @@
(gtype-id "G_TYPE_NATIVE_VOLUME_MONITOR")
)
+(define-object 32InputStream
+ (in-module "GWin")
+ (parent "GInputStream")
+ (c-name "GWin32InputStream")
+ (gtype-id "G_TYPE_WIN32_INPUT_STREAM")
+)
+
+(define-object 32OutputStream
+ (in-module "GWin")
+ (parent "GOutputStream")
+ (c-name "GWin32OutputStream")
+ (gtype-id "G_TYPE_WIN32_OUTPUT_STREAM")
+)
+
;; Enumerations and flags ...
+(define-enum AuthMechanismState
+ (in-module "GDBus")
+ (c-name "GDBusAuthMechanismState")
+ (gtype-id "G_TYPE_D_BUS_AUTH_MECHANISM_STATE")
+ (values
+ '("invalid" "G_DBUS_AUTH_MECHANISM_STATE_INVALID")
+ '("waiting-for-data" "G_DBUS_AUTH_MECHANISM_STATE_WAITING_FOR_DATA")
+ '("have-data-to-send" "G_DBUS_AUTH_MECHANISM_STATE_HAVE_DATA_TO_SEND")
+ '("rejected" "G_DBUS_AUTH_MECHANISM_STATE_REJECTED")
+ '("accepted" "G_DBUS_AUTH_MECHANISM_STATE_ACCEPTED")
+ )
+)
+
(define-flags InfoCreateFlags
(in-module "GApp")
(c-name "GAppInfoCreateFlags")
@@ -879,6 +1114,35 @@
)
)
+(define-enum Error
+ (in-module "GResource")
+ (c-name "GResourceError")
+ (gtype-id "G_TYPE_RESOURCE_ERROR")
+ (values
+ '("not-found" "G_RESOURCE_ERROR_NOT_FOUND")
+ '("internal" "G_RESOURCE_ERROR_INTERNAL")
+ )
+)
+
+(define-flags Flags
+ (in-module "GResource")
+ (c-name "GResourceFlags")
+ (gtype-id "G_TYPE_RESOURCE_FLAGS")
+ (values
+ '("none" "G_RESOURCE_FLAGS_NONE")
+ '("compressed" "G_RESOURCE_FLAGS_COMPRESSED")
+ )
+)
+
+(define-enum LookupFlags
+ (in-module "GResource")
+ (c-name "GResourceLookupFlags")
+ (gtype-id "G_TYPE_RESOURCE_LOOKUP_FLAGS")
+ (values
+ '("none" "G_RESOURCE_LOOKUP_FLAGS_NONE")
+ )
+)
+
(define-enum Family
(in-module "GSocket")
(c-name "GSocketFamily")
@@ -994,6 +1258,7 @@
'("do-not-load-properties" "G_DBUS_PROXY_FLAGS_DO_NOT_LOAD_PROPERTIES")
'("do-not-connect-signals" "G_DBUS_PROXY_FLAGS_DO_NOT_CONNECT_SIGNALS")
'("do-not-auto-start" "G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START")
+ '("get-invalidated-properties" "G_DBUS_PROXY_FLAGS_GET_INVALIDATED_PROPERTIES")
)
)
@@ -1324,6 +1589,23 @@
)
)
+(define-enum ClientEvent
+ (in-module "GSocket")
+ (c-name "GSocketClientEvent")
+ (gtype-id "G_TYPE_SOCKET_CLIENT_EVENT")
+ (values
+ '("resolving" "G_SOCKET_CLIENT_RESOLVING")
+ '("resolved" "G_SOCKET_CLIENT_RESOLVED")
+ '("connecting" "G_SOCKET_CLIENT_CONNECTING")
+ '("connected" "G_SOCKET_CLIENT_CONNECTED")
+ '("proxy-negotiating" "G_SOCKET_CLIENT_PROXY_NEGOTIATING")
+ '("proxy-negotiated" "G_SOCKET_CLIENT_PROXY_NEGOTIATED")
+ '("tls-handshaking" "G_SOCKET_CLIENT_TLS_HANDSHAKING")
+ '("tls-handshaked" "G_SOCKET_CLIENT_TLS_HANDSHAKED")
+ '("complete" "G_SOCKET_CLIENT_COMPLETE")
+ )
+)
+
(define-flags BindFlags
(in-module "GSettings")
(c-name "GSettingsBindFlags")
@@ -1339,6 +1621,30 @@
)
+;; From gactiongroupexporter.h
+
+(define-method export_action_group
+ (of-object "GDBusConnection")
+ (c-name "g_dbus_connection_export_action_group")
+ (return-type "guint")
+ (parameters
+ '("const-gchar*" "object_path")
+ '("GActionGroup*" "action_group")
+ '("GError**" "error")
+ )
+)
+
+(define-method unexport_action_group
+ (of-object "GDBusConnection")
+ (c-name "g_dbus_connection_unexport_action_group")
+ (return-type "none")
+ (parameters
+ '("guint" "export_id")
+ )
+)
+
+
+
;; From gactiongroup.h
(define-function g_action_group_get_type
@@ -1464,6 +1770,20 @@
)
)
+(define-method query_action
+ (of-object "GActionGroup")
+ (c-name "g_action_group_query_action")
+ (return-type "gboolean")
+ (parameters
+ '("const-gchar*" "action_name")
+ '("gboolean*" "enabled")
+ '("const-GVariantType**" "parameter_type")
+ '("const-GVariantType**" "state_type")
+ '("GVariant**" "state_hint")
+ '("GVariant**" "state")
+ )
+)
+
;; From gaction.h
@@ -1529,6 +1849,53 @@
+;; From gactionmap.h
+
+(define-function g_action_map_get_type
+ (c-name "g_action_map_get_type")
+ (return-type "GType")
+)
+
+(define-method lookup_action
+ (of-object "GActionMap")
+ (c-name "g_action_map_lookup_action")
+ (return-type "GAction*")
+ (parameters
+ '("const-gchar*" "action_name")
+ )
+)
+
+(define-method add_action
+ (of-object "GActionMap")
+ (c-name "g_action_map_add_action")
+ (return-type "none")
+ (parameters
+ '("GAction*" "action")
+ )
+)
+
+(define-method remove_action
+ (of-object "GActionMap")
+ (c-name "g_action_map_remove_action")
+ (return-type "none")
+ (parameters
+ '("const-gchar*" "action_name")
+ )
+)
+
+(define-method add_action_entries
+ (of-object "GActionMap")
+ (c-name "g_action_map_add_action_entries")
+ (return-type "none")
+ (parameters
+ '("const-GActionEntry*" "entries")
+ '("gint" "n_entries")
+ '("gpointer" "user_data")
+ )
+)
+
+
+
;; From gappinfo.h
(define-function g_app_info_get_type
@@ -1993,15 +2360,6 @@
)
)
-(define-method set_action_group
- (of-object "GApplication")
- (c-name "g_application_set_action_group")
- (return-type "none")
- (parameters
- '("GActionGroup*" "action_group")
- )
-)
-
(define-method get_is_registered
(of-object "GApplication")
(c-name "g_application_get_is_registered")
@@ -2063,6 +2421,25 @@
)
)
+(define-function g_application_get_default
+ (c-name "g_application_get_default")
+ (return-type "GApplication*")
+)
+
+(define-method set_default
+ (of-object "GApplication")
+ (c-name "g_application_set_default")
+ (return-type "none")
+)
+
+
+
+;; From gapplicationimpl.h
+
+
+
+;; From gasynchelper.h
+
;; From gasyncinitable.h
@@ -2484,6 +2861,10 @@
+;; From gconstructor_as_data.h
+
+
+
;; From gcontenttype.h
(define-function g_content_type_equals
@@ -2578,6 +2959,10 @@
+;; From gcontenttypeprivate.h
+
+
+
;; From gconverter.h
(define-function g_converter_get_type
@@ -3097,6 +3482,25 @@
+;; From gdbusactiongroup.h
+
+(define-function g_dbus_action_group_get_type
+ (c-name "g_dbus_action_group_get_type")
+ (return-type "GType")
+)
+
+(define-function g_dbus_action_group_get
+ (c-name "g_dbus_action_group_get")
+ (return-type "GDBusActionGroup*")
+ (parameters
+ '("GDBusConnection*" "connection")
+ '("const-gchar*" "bus_name")
+ '("const-gchar*" "object_path")
+ )
+)
+
+
+
;; From gdbusaddress.h
(define-function g_dbus_is_address
@@ -3160,6 +3564,26 @@
+;; From gdbusauth.h
+
+
+
+;; From gdbusauthmechanismanon.h
+
+
+
+;; From gdbusauthmechanismexternal.h
+
+
+
+;; From gdbusauthmechanism.h
+
+
+
+;; From gdbusauthmechanismsha1.h
+
+
+
;; From gdbusauthobserver.h
(define-function g_dbus_auth_observer_get_type
@@ -3801,6 +4225,12 @@
)
)
+(define-method dup_object
+ (of-object "GDBusInterface")
+ (c-name "g_dbus_interface_dup_object")
+ (return-type "GDBusObject*")
+)
+
;; From gdbusinterfaceskeleton.h
@@ -3866,16 +4296,40 @@
(return-type "none")
)
+(define-method unexport_from_connection
+ (of-object "GDBusInterfaceSkeleton")
+ (c-name "g_dbus_interface_skeleton_unexport_from_connection")
+ (return-type "none")
+ (parameters
+ '("GDBusConnection*" "connection")
+ )
+)
+
(define-method get_connection
(of-object "GDBusInterfaceSkeleton")
(c-name "g_dbus_interface_skeleton_get_connection")
(return-type "GDBusConnection*")
)
-(define-method get_object_path
+(define-method get_connections
(of-object "GDBusInterfaceSkeleton")
- (c-name "g_dbus_interface_skeleton_get_object_path")
- (return-type "const-gchar*")
+ (c-name "g_dbus_interface_skeleton_get_connections")
+ (return-type "GList*")
+)
+
+(define-method has_connection
+ (of-object "GDBusInterfaceSkeleton")
+ (c-name "g_dbus_interface_skeleton_has_connection")
+ (return-type "gboolean")
+ (parameters
+ '("GDBusConnection*" "connection")
+ )
+)
+
+(define-method get_object_path
+ (of-object "GDBusInterfaceSkeleton")
+ (c-name "g_dbus_interface_skeleton_get_object_path")
+ (return-type "const-gchar*")
)
@@ -4089,6 +4543,25 @@
+;; From gdbusmenumodel.h
+
+(define-function g_dbus_menu_model_get_type
+ (c-name "g_dbus_menu_model_get_type")
+ (return-type "GType")
+)
+
+(define-function g_dbus_menu_model_get
+ (c-name "g_dbus_menu_model_get")
+ (return-type "GDBusMenuModel*")
+ (parameters
+ '("GDBusConnection*" "connection")
+ '("const-gchar*" "bus_name")
+ '("const-gchar*" "object_path")
+ )
+)
+
+
+
;; From gdbusmessage.h
(define-function g_dbus_message_get_type
@@ -5097,6 +5570,10 @@
+;; From gdbusprivate.h
+
+
+
;; From gdbusproxy.h
(define-function g_dbus_proxy_get_type
@@ -5484,6 +5961,107 @@
+;; From gdelayedsettingsbackend.h
+
+
+
+;; From gdesktopappinfo.h
+
+(define-function g_desktop_app_info_get_type
+ (c-name "g_desktop_app_info_get_type")
+ (return-type "GType")
+)
+
+(define-function g_desktop_app_info_new_from_filename
+ (c-name "g_desktop_app_info_new_from_filename")
+ (return-type "GDesktopAppInfo*")
+ (parameters
+ '("const-char*" "filename")
+ )
+)
+
+(define-function g_desktop_app_info_new_from_keyfile
+ (c-name "g_desktop_app_info_new_from_keyfile")
+ (return-type "GDesktopAppInfo*")
+ (parameters
+ '("GKeyFile*" "key_file")
+ )
+)
+
+(define-method get_filename
+ (of-object "GDesktopAppInfo")
+ (c-name "g_desktop_app_info_get_filename")
+ (return-type "const-char*")
+)
+
+(define-method get_generic_name
+ (of-object "GDesktopAppInfo")
+ (c-name "g_desktop_app_info_get_generic_name")
+ (return-type "const-char*")
+)
+
+(define-method get_categories
+ (of-object "GDesktopAppInfo")
+ (c-name "g_desktop_app_info_get_categories")
+ (return-type "const-char*")
+)
+
+(define-method get_nodisplay
+ (of-object "GDesktopAppInfo")
+ (c-name "g_desktop_app_info_get_nodisplay")
+ (return-type "gboolean")
+)
+
+(define-method get_show_in
+ (of-object "GDesktopAppInfo")
+ (c-name "g_desktop_app_info_get_show_in")
+ (return-type "gboolean")
+ (parameters
+ '("const-gchar*" "desktop_env")
+ )
+)
+
+(define-function g_desktop_app_info_new
+ (c-name "g_desktop_app_info_new")
+ (is-constructor-of "GDesktopAppInfo")
+ (return-type "GDesktopAppInfo*")
+ (parameters
+ '("const-char*" "desktop_id")
+ )
+)
+
+(define-method get_is_hidden
+ (of-object "GDesktopAppInfo")
+ (c-name "g_desktop_app_info_get_is_hidden")
+ (return-type "gboolean")
+)
+
+(define-function g_desktop_app_info_set_desktop_env
+ (c-name "g_desktop_app_info_set_desktop_env")
+ (return-type "none")
+ (parameters
+ '("const-char*" "desktop_env")
+ )
+)
+
+(define-method launch_uris_as_manager
+ (of-object "GDesktopAppInfo")
+ (c-name "g_desktop_app_info_launch_uris_as_manager")
+ (return-type "gboolean")
+ (parameters
+ '("GList*" "uris")
+ '("GAppLaunchContext*" "launch_context")
+ '("GSpawnFlags" "spawn_flags")
+ '("GSpawnChildSetupFunc" "user_setup")
+ '("gpointer" "user_setup_data")
+ '("GDesktopAppLaunchCallback" "pid_callback")
+ '("gpointer" "pid_callback_data")
+ '("GError**" "error")
+ )
+)
+
+
+
;; From gdrive.h
(define-function g_drive_get_type
@@ -5682,6 +6260,18 @@
+;; From gdummyfile.h
+
+
+
+;; From gdummyproxyresolver.h
+
+
+
+;; From gdummytlsbackend.h
+
+
+
;; From gemblemedicon.h
(define-function g_emblemed_icon_get_type
@@ -5820,6 +6410,25 @@
+;; From gfileattribute-priv.h
+
+
+
+;; From gfiledescriptorbased.h
+
+(define-function g_file_descriptor_based_get_type
+ (c-name "g_file_descriptor_based_get_type")
+ (return-type "GType")
+)
+
+(define-method get_fd
+ (of-object "GFileDescriptorBased")
+ (c-name "g_file_descriptor_based_get_fd")
+ (return-type "int")
+)
+
+
+
;; From gfileenumerator.h
(define-function g_file_enumerator_get_type
@@ -5952,6 +6561,16 @@
)
)
+(define-function g_file_new_tmp
+ (c-name "g_file_new_tmp")
+ (return-type "GFile*")
+ (parameters
+ '("const-char*" "tmpl")
+ '("GFileIOStream**" "iostream")
+ '("GError**" "error")
+ )
+)
+
(define-function g_file_parse_name
(c-name "g_file_parse_name")
(return-type "GFile*")
@@ -7661,6 +8280,15 @@
(return-type "none")
)
+(define-method subtract
+ (of-object "GFileAttributeMatcher")
+ (c-name "g_file_attribute_matcher_subtract")
+ (return-type "GFileAttributeMatcher*")
+ (parameters
+ '("GFileAttributeMatcher*" "subtract")
+ )
+)
+
(define-method matches
(of-object "GFileAttributeMatcher")
(c-name "g_file_attribute_matcher_matches")
@@ -7694,6 +8322,16 @@
(return-type "const-char*")
)
+(define-method to_string
+ (of-object "GFileAttributeMatcher")
+ (c-name "g_file_attribute_matcher_to_string")
+ (return-type "char*")
+)
+
+
+
+;; From gfileinfo-priv.h
+
;; From gfileinputstream.h
@@ -8156,6 +8794,76 @@
+;; From ginetaddressmask.h
+
+(define-function g_inet_address_mask_get_type
+ (c-name "g_inet_address_mask_get_type")
+ (return-type "GType")
+)
+
+(define-method mask_new
+ (of-object "GInetAddress")
+ (c-name "g_inet_address_mask_new")
+ (return-type "GInetAddressMask*")
+ (parameters
+ '("guint" "length")
+ '("GError**" "error")
+ )
+)
+
+(define-function g_inet_address_mask_new_from_string
+ (c-name "g_inet_address_mask_new_from_string")
+ (return-type "GInetAddressMask*")
+ (parameters
+ '("const-gchar*" "mask_string")
+ '("GError**" "error")
+ )
+)
+
+(define-method to_string
+ (of-object "GInetAddressMask")
+ (c-name "g_inet_address_mask_to_string")
+ (return-type "gchar*")
+)
+
+(define-method get_family
+ (of-object "GInetAddressMask")
+ (c-name "g_inet_address_mask_get_family")
+ (return-type "GSocketFamily")
+)
+
+(define-method get_address
+ (of-object "GInetAddressMask")
+ (c-name "g_inet_address_mask_get_address")
+ (return-type "GInetAddress*")
+)
+
+(define-method get_length
+ (of-object "GInetAddressMask")
+ (c-name "g_inet_address_mask_get_length")
+ (return-type "guint")
+)
+
+(define-method matches
+ (of-object "GInetAddressMask")
+ (c-name "g_inet_address_mask_matches")
+ (return-type "gboolean")
+ (parameters
+ '("GInetAddress*" "address")
+ )
+)
+
+(define-method equal
+ (of-object "GInetAddressMask")
+ (c-name "g_inet_address_mask_equal")
+ (return-type "gboolean")
+ (parameters
+ '("GInetAddressMask*" "mask2")
+ )
+)
+
+
+
;; From ginetsocketaddress.h
(define-function g_inet_socket_address_get_type
@@ -8185,6 +8893,18 @@
(return-type "guint16")
)
+(define-method get_flowinfo
+ (of-object "GInetSocketAddress")
+ (c-name "g_inet_socket_address_get_flowinfo")
+ (return-type "guint32")
+)
+
+(define-method get_scope_id
+ (of-object "GInetSocketAddress")
+ (c-name "g_inet_socket_address_get_scope_id")
+ (return-type "guint32")
+)
+
;; From ginitable.h
@@ -8534,6 +9254,21 @@
(return-type "GType")
)
+(define-function g_resource_error_get_type
+ (c-name "g_resource_error_get_type")
+ (return-type "GType")
+)
+
+(define-function g_resource_flags_get_type
+ (c-name "g_resource_flags_get_type")
+ (return-type "GType")
+)
+
+(define-function g_resource_lookup_flags_get_type
+ (c-name "g_resource_lookup_flags_get_type")
+ (return-type "GType")
+)
+
(define-function g_socket_family_get_type
(c-name "g_socket_family_get_type")
(return-type "GType")
@@ -8714,6 +9449,11 @@
(return-type "GType")
)
+(define-function g_socket_client_event_get_type
+ (c-name "g_socket_client_event_get_type")
+ (return-type "GType")
+)
+
(define-function g_settings_bind_flags_get_type
(c-name "g_settings_bind_flags_get_type")
(return-type "GType")
@@ -8924,6 +9664,10 @@
+;; From giomodule-priv.h
+
+
+
;; From gioscheduler.h
(define-function g_io_scheduler_push_job
@@ -9118,6 +9862,52 @@
+;; From glocaldirectorymonitor.h
+
+(define-function g_local_directory_monitor_get_type
+ (c-name "g_local_directory_monitor_get_type")
+ (return-type "GType")
+)
+
+
+
+;; From glocalfileenumerator.h
+
+
+
+;; From glocalfile.h
+
+
+
+;; From glocalfileinfo.h
+
+
+
+;; From glocalfileinputstream.h
+
+
+
+;; From glocalfileiostream.h
+
+
+
+;; From glocalfilemonitor.h
+
+(define-function g_local_file_monitor_get_type
+ (c-name "g_local_file_monitor_get_type")
+ (return-type "GType")
+)
+
+
+
+;; From glocalfileoutputstream.h
+
+
+
+;; From glocalvfs.h
+
+
+
;; From gmemoryinputstream.h
(define-function g_memory_input_stream_get_type
@@ -9199,30 +9989,475 @@
-;; From gmount.h
+;; From gmenuexporter.h
-(define-function g_mount_get_type
- (c-name "g_mount_get_type")
- (return-type "GType")
+(define-method export_menu_model
+ (of-object "GDBusConnection")
+ (c-name "g_dbus_connection_export_menu_model")
+ (return-type "guint")
+ (parameters
+ '("const-gchar*" "object_path")
+ '("GMenuModel*" "menu")
+ '("GError**" "error")
+ )
)
-(define-method get_root
- (of-object "GMount")
- (c-name "g_mount_get_root")
- (return-type "GFile*")
+(define-method unexport_menu_model
+ (of-object "GDBusConnection")
+ (c-name "g_dbus_connection_unexport_menu_model")
+ (return-type "none")
+ (parameters
+ '("guint" "export_id")
+ )
)
-(define-method get_default_location
- (of-object "GMount")
- (c-name "g_mount_get_default_location")
- (return-type "GFile*")
-)
-(define-method get_name
- (of-object "GMount")
- (c-name "g_mount_get_name")
- (return-type "char*")
-)
+
+;; From gmenu.h
+
+(define-function g_menu_get_type
+ (c-name "g_menu_get_type")
+ (return-type "GType")
+)
+
+(define-function g_menu_new
+ (c-name "g_menu_new")
+ (is-constructor-of "GMenu")
+ (return-type "GMenu*")
+)
+
+(define-method freeze
+ (of-object "GMenu")
+ (c-name "g_menu_freeze")
+ (return-type "none")
+)
+
+(define-method insert_item
+ (of-object "GMenu")
+ (c-name "g_menu_insert_item")
+ (return-type "none")
+ (parameters
+ '("gint" "position")
+ '("GMenuItem*" "item")
+ )
+)
+
+(define-method prepend_item
+ (of-object "GMenu")
+ (c-name "g_menu_prepend_item")
+ (return-type "none")
+ (parameters
+ '("GMenuItem*" "item")
+ )
+)
+
+(define-method append_item
+ (of-object "GMenu")
+ (c-name "g_menu_append_item")
+ (return-type "none")
+ (parameters
+ '("GMenuItem*" "item")
+ )
+)
+
+(define-method remove
+ (of-object "GMenu")
+ (c-name "g_menu_remove")
+ (return-type "none")
+ (parameters
+ '("gint" "position")
+ )
+)
+
+(define-method insert
+ (of-object "GMenu")
+ (c-name "g_menu_insert")
+ (return-type "none")
+ (parameters
+ '("gint" "position")
+ '("const-gchar*" "label")
+ '("const-gchar*" "detailed_action")
+ )
+)
+
+(define-method prepend
+ (of-object "GMenu")
+ (c-name "g_menu_prepend")
+ (return-type "none")
+ (parameters
+ '("const-gchar*" "label")
+ '("const-gchar*" "detailed_action")
+ )
+)
+
+(define-method append
+ (of-object "GMenu")
+ (c-name "g_menu_append")
+ (return-type "none")
+ (parameters
+ '("const-gchar*" "label")
+ '("const-gchar*" "detailed_action")
+ )
+)
+
+(define-method insert_section
+ (of-object "GMenu")
+ (c-name "g_menu_insert_section")
+ (return-type "none")
+ (parameters
+ '("gint" "position")
+ '("const-gchar*" "label")
+ '("GMenuModel*" "section")
+ )
+)
+
+(define-method prepend_section
+ (of-object "GMenu")
+ (c-name "g_menu_prepend_section")
+ (return-type "none")
+ (parameters
+ '("const-gchar*" "label")
+ '("GMenuModel*" "section")
+ )
+)
+
+(define-method append_section
+ (of-object "GMenu")
+ (c-name "g_menu_append_section")
+ (return-type "none")
+ (parameters
+ '("const-gchar*" "label")
+ '("GMenuModel*" "section")
+ )
+)
+
+(define-method insert_submenu
+ (of-object "GMenu")
+ (c-name "g_menu_insert_submenu")
+ (return-type "none")
+ (parameters
+ '("gint" "position")
+ '("const-gchar*" "label")
+ '("GMenuModel*" "submenu")
+ )
+)
+
+(define-method prepend_submenu
+ (of-object "GMenu")
+ (c-name "g_menu_prepend_submenu")
+ (return-type "none")
+ (parameters
+ '("const-gchar*" "label")
+ '("GMenuModel*" "submenu")
+ )
+)
+
+(define-method append_submenu
+ (of-object "GMenu")
+ (c-name "g_menu_append_submenu")
+ (return-type "none")
+ (parameters
+ '("const-gchar*" "label")
+ '("GMenuModel*" "submenu")
+ )
+)
+
+(define-function g_menu_item_get_type
+ (c-name "g_menu_item_get_type")
+ (return-type "GType")
+)
+
+(define-function g_menu_item_new
+ (c-name "g_menu_item_new")
+ (is-constructor-of "GMenuItem")
+ (return-type "GMenuItem*")
+ (parameters
+ '("const-gchar*" "label")
+ '("const-gchar*" "detailed_action")
+ )
+)
+
+(define-function g_menu_item_new_submenu
+ (c-name "g_menu_item_new_submenu")
+ (return-type "GMenuItem*")
+ (parameters
+ '("const-gchar*" "label")
+ '("GMenuModel*" "submenu")
+ )
+)
+
+(define-function g_menu_item_new_section
+ (c-name "g_menu_item_new_section")
+ (return-type "GMenuItem*")
+ (parameters
+ '("const-gchar*" "label")
+ '("GMenuModel*" "section")
+ )
+)
+
+(define-method set_attribute_value
+ (of-object "GMenuItem")
+ (c-name "g_menu_item_set_attribute_value")
+ (return-type "none")
+ (parameters
+ '("const-gchar*" "attribute")
+ '("GVariant*" "value")
+ )
+)
+
+(define-method set_attribute
+ (of-object "GMenuItem")
+ (c-name "g_menu_item_set_attribute")
+ (return-type "none")
+ (parameters
+ '("const-gchar*" "attribute")
+ '("const-gchar*" "format_string")
+ )
+ (varargs #t)
+)
+
+(define-method set_link
+ (of-object "GMenuItem")
+ (c-name "g_menu_item_set_link")
+ (return-type "none")
+ (parameters
+ '("const-gchar*" "link")
+ '("GMenuModel*" "model")
+ )
+)
+
+(define-method set_label
+ (of-object "GMenuItem")
+ (c-name "g_menu_item_set_label")
+ (return-type "none")
+ (parameters
+ '("const-gchar*" "label")
+ )
+)
+
+(define-method set_submenu
+ (of-object "GMenuItem")
+ (c-name "g_menu_item_set_submenu")
+ (return-type "none")
+ (parameters
+ '("GMenuModel*" "submenu")
+ )
+)
+
+(define-method set_section
+ (of-object "GMenuItem")
+ (c-name "g_menu_item_set_section")
+ (return-type "none")
+ (parameters
+ '("GMenuModel*" "section")
+ )
+)
+
+(define-method set_action_and_target_value
+ (of-object "GMenuItem")
+ (c-name "g_menu_item_set_action_and_target_value")
+ (return-type "none")
+ (parameters
+ '("const-gchar*" "action")
+ '("GVariant*" "target_value")
+ )
+)
+
+(define-method set_action_and_target
+ (of-object "GMenuItem")
+ (c-name "g_menu_item_set_action_and_target")
+ (return-type "none")
+ (parameters
+ '("const-gchar*" "action")
+ '("const-gchar*" "format_string")
+ )
+ (varargs #t)
+)
+
+(define-method set_detailed_action
+ (of-object "GMenuItem")
+ (c-name "g_menu_item_set_detailed_action")
+ (return-type "none")
+ (parameters
+ '("const-gchar*" "detailed_action")
+ )
+)
+
+
+
+;; From gmenumodel.h
+
+(define-function g_menu_model_get_type
+ (c-name "g_menu_model_get_type")
+ (return-type "GType")
+)
+
+(define-method is_mutable
+ (of-object "GMenuModel")
+ (c-name "g_menu_model_is_mutable")
+ (return-type "gboolean")
+)
+
+(define-method get_n_items
+ (of-object "GMenuModel")
+ (c-name "g_menu_model_get_n_items")
+ (return-type "gint")
+)
+
+(define-method iterate_item_attributes
+ (of-object "GMenuModel")
+ (c-name "g_menu_model_iterate_item_attributes")
+ (return-type "GMenuAttributeIter*")
+ (parameters
+ '("gint" "item_index")
+ )
+)
+
+(define-method get_item_attribute_value
+ (of-object "GMenuModel")
+ (c-name "g_menu_model_get_item_attribute_value")
+ (return-type "GVariant*")
+ (parameters
+ '("gint" "item_index")
+ '("const-gchar*" "attribute")
+ '("const-GVariantType*" "expected_type")
+ )
+)
+
+(define-method get_item_attribute
+ (of-object "GMenuModel")
+ (c-name "g_menu_model_get_item_attribute")
+ (return-type "gboolean")
+ (parameters
+ '("gint" "item_index")
+ '("const-gchar*" "attribute")
+ '("const-gchar*" "format_string")
+ )
+ (varargs #t)
+)
+
+(define-method iterate_item_links
+ (of-object "GMenuModel")
+ (c-name "g_menu_model_iterate_item_links")
+ (return-type "GMenuLinkIter*")
+ (parameters
+ '("gint" "item_index")
+ )
+)
+
+(define-method get_item_link
+ (of-object "GMenuModel")
+ (c-name "g_menu_model_get_item_link")
+ (return-type "GMenuModel*")
+ (parameters
+ '("gint" "item_index")
+ '("const-gchar*" "link")
+ )
+)
+
+(define-method items_changed
+ (of-object "GMenuModel")
+ (c-name "g_menu_model_items_changed")
+ (return-type "none")
+ (parameters
+ '("gint" "position")
+ '("gint" "removed")
+ '("gint" "added")
+ )
+)
+
+(define-function g_menu_attribute_iter_get_type
+ (c-name "g_menu_attribute_iter_get_type")
+ (return-type "GType")
+)
+
+(define-method get_next
+ (of-object "GMenuAttributeIter")
+ (c-name "g_menu_attribute_iter_get_next")
+ (return-type "gboolean")
+ (parameters
+ '("const-gchar**" "out_name")
+ '("GVariant**" "value")
+ )
+)
+
+(define-method next
+ (of-object "GMenuAttributeIter")
+ (c-name "g_menu_attribute_iter_next")
+ (return-type "gboolean")
+)
+
+(define-method get_name
+ (of-object "GMenuAttributeIter")
+ (c-name "g_menu_attribute_iter_get_name")
+ (return-type "const-gchar*")
+)
+
+(define-method get_value
+ (of-object "GMenuAttributeIter")
+ (c-name "g_menu_attribute_iter_get_value")
+ (return-type "GVariant*")
+)
+
+(define-function g_menu_link_iter_get_type
+ (c-name "g_menu_link_iter_get_type")
+ (return-type "GType")
+)
+
+(define-method get_next
+ (of-object "GMenuLinkIter")
+ (c-name "g_menu_link_iter_get_next")
+ (return-type "gboolean")
+ (parameters
+ '("const-gchar**" "out_link")
+ '("GMenuModel**" "value")
+ )
+)
+
+(define-method next
+ (of-object "GMenuLinkIter")
+ (c-name "g_menu_link_iter_next")
+ (return-type "gboolean")
+)
+
+(define-method get_name
+ (of-object "GMenuLinkIter")
+ (c-name "g_menu_link_iter_get_name")
+ (return-type "const-gchar*")
+)
+
+(define-method get_value
+ (of-object "GMenuLinkIter")
+ (c-name "g_menu_link_iter_get_value")
+ (return-type "GMenuModel*")
+)
+
+
+
+;; From gmount.h
+
+(define-function g_mount_get_type
+ (c-name "g_mount_get_type")
+ (return-type "GType")
+)
+
+(define-method get_root
+ (of-object "GMount")
+ (c-name "g_mount_get_root")
+ (return-type "GFile*")
+)
+
+(define-method get_default_location
+ (of-object "GMount")
+ (c-name "g_mount_get_default_location")
+ (return-type "GFile*")
+)
+
+(define-method get_name
+ (of-object "GMount")
+ (c-name "g_mount_get_name")
+ (return-type "char*")
+)
(define-method get_icon
(of-object "GMount")
@@ -9502,6 +10737,10 @@
+;; From gmountprivate.h
+
+
+
;; From gnativevolumemonitor.h
(define-function g_native_volume_monitor_get_type
@@ -9568,14 +10807,112 @@
-;; From gnetworkservice.h
+;; From gnetworkingprivate.h
-(define-function g_network_service_get_type
- (c-name "g_network_service_get_type")
+
+
+;; From gnetworkmonitorbase.h
+
+(define-function g_network_monitor_base_get_type
+ (c-name "g_network_monitor_base_get_type")
(return-type "GType")
)
-(define-function g_network_service_new
+(define-method add_network
+ (of-object "GNetworkMonitorBase")
+ (c-name "g_network_monitor_base_add_network")
+ (return-type "none")
+ (parameters
+ '("GInetAddressMask*" "network")
+ )
+)
+
+(define-method remove_network
+ (of-object "GNetworkMonitorBase")
+ (c-name "g_network_monitor_base_remove_network")
+ (return-type "none")
+ (parameters
+ '("GInetAddressMask*" "network")
+ )
+)
+
+(define-method set_networks
+ (of-object "GNetworkMonitorBase")
+ (c-name "g_network_monitor_base_set_networks")
+ (return-type "none")
+ (parameters
+ '("GInetAddressMask**" "networks")
+ '("gint" "length")
+ )
+)
+
+
+
+;; From gnetworkmonitor.h
+
+(define-function g_network_monitor_get_type
+ (c-name "g_network_monitor_get_type")
+ (return-type "GType")
+)
+
+(define-function g_network_monitor_get_default
+ (c-name "g_network_monitor_get_default")
+ (return-type "GNetworkMonitor*")
+)
+
+(define-method get_network_available
+ (of-object "GNetworkMonitor")
+ (c-name "g_network_monitor_get_network_available")
+ (return-type "gboolean")
+)
+
+(define-method can_reach
+ (of-object "GNetworkMonitor")
+ (c-name "g_network_monitor_can_reach")
+ (return-type "gboolean")
+ (parameters
+ '("GSocketConnectable*" "connectable")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
+ )
+)
+
+(define-method can_reach_async
+ (of-object "GNetworkMonitor")
+ (c-name "g_network_monitor_can_reach_async")
+ (return-type "none")
+ (parameters
+ '("GSocketConnectable*" "connectable")
+ '("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
+ )
+)
+
+(define-method can_reach_finish
+ (of-object "GNetworkMonitor")
+ (c-name "g_network_monitor_can_reach_finish")
+ (return-type "gboolean")
+ (parameters
+ '("GAsyncResult*" "result")
+ '("GError**" "error")
+ )
+)
+
+
+
+;; From gnetworkmonitornetlink.h
+
+
+
+;; From gnetworkservice.h
+
+(define-function g_network_service_get_type
+ (c-name "g_network_service_get_type")
+ (return-type "GType")
+)
+
+(define-function g_network_service_new
(c-name "g_network_service_new")
(is-constructor-of "GNetworkService")
(return-type "GSocketConnectable*")
@@ -10005,6 +11342,10 @@
+;; From gpollfilemonitor.h
+
+
+
;; From gproxyaddressenumerator.h
(define-function g_proxy_address_enumerator_get_type
@@ -10179,6 +11520,41 @@
+;; From gregistrysettingsbackend.h
+
+
+
+;; From gremoteactiongroup.h
+
+(define-function g_remote_action_group_get_type
+ (c-name "g_remote_action_group_get_type")
+ (return-type "GType")
+)
+
+(define-method activate_action_full
+ (of-object "GRemoteActionGroup")
+ (c-name "g_remote_action_group_activate_action_full")
+ (return-type "none")
+ (parameters
+ '("const-gchar*" "action_name")
+ '("GVariant*" "parameter")
+ '("GVariant*" "platform_data")
+ )
+)
+
+(define-method change_action_state_full
+ (of-object "GRemoteActionGroup")
+ (c-name "g_remote_action_group_change_action_state_full")
+ (return-type "none")
+ (parameters
+ '("const-gchar*" "action_name")
+ '("GVariant*" "value")
+ '("GVariant*" "platform_data")
+ )
+)
+
+
+
;; From gresolver.h
(define-function g_resolver_get_type
@@ -10323,6 +11699,172 @@
+;; From gresourcefile.h
+
+
+
+;; From gresource.h
+
+(define-function g_resource_error_quark
+ (c-name "g_resource_error_quark")
+ (return-type "GQuark")
+)
+
+(define-function g_resource_get_type
+ (c-name "g_resource_get_type")
+ (return-type "GType")
+)
+
+(define-function g_resource_new_from_data
+ (c-name "g_resource_new_from_data")
+ (return-type "GResource*")
+ (parameters
+ '("GBytes*" "data")
+ '("GError**" "error")
+ )
+)
+
+(define-method ref
+ (of-object "GResource")
+ (c-name "g_resource_ref")
+ (return-type "GResource*")
+)
+
+(define-method unref
+ (of-object "GResource")
+ (c-name "g_resource_unref")
+ (return-type "none")
+)
+
+(define-function g_resource_load
+ (c-name "g_resource_load")
+ (return-type "GResource*")
+ (parameters
+ '("const-gchar*" "filename")
+ '("GError**" "error")
+ )
+)
+
+(define-method open_stream
+ (of-object "GResource")
+ (c-name "g_resource_open_stream")
+ (return-type "GInputStream*")
+ (parameters
+ '("const-char*" "path")
+ '("GResourceLookupFlags" "lookup_flags")
+ '("GError**" "error")
+ )
+)
+
+(define-method lookup_data
+ (of-object "GResource")
+ (c-name "g_resource_lookup_data")
+ (return-type "GBytes*")
+ (parameters
+ '("const-char*" "path")
+ '("GResourceLookupFlags" "lookup_flags")
+ '("GError**" "error")
+ )
+)
+
+(define-method enumerate_children
+ (of-object "GResource")
+ (c-name "g_resource_enumerate_children")
+ (return-type "char**")
+ (parameters
+ '("const-char*" "path")
+ '("GResourceLookupFlags" "lookup_flags")
+ '("GError**" "error")
+ )
+)
+
+(define-method get_info
+ (of-object "GResource")
+ (c-name "g_resource_get_info")
+ (return-type "gboolean")
+ (parameters
+ '("const-char*" "path")
+ '("GResourceLookupFlags" "lookup_flags")
+ '("gsize*" "size")
+ '("guint32*" "flags")
+ '("GError**" "error")
+ )
+)
+
+(define-method s_register
+ (of-object "GResource")
+ (c-name "g_resources_register")
+ (return-type "none")
+)
+
+(define-method s_unregister
+ (of-object "GResource")
+ (c-name "g_resources_unregister")
+ (return-type "none")
+)
+
+(define-function g_resources_open_stream
+ (c-name "g_resources_open_stream")
+ (return-type "GInputStream*")
+ (parameters
+ '("const-char*" "path")
+ '("GResourceLookupFlags" "lookup_flags")
+ '("GError**" "error")
+ )
+)
+
+(define-function g_resources_lookup_data
+ (c-name "g_resources_lookup_data")
+ (return-type "GBytes*")
+ (parameters
+ '("const-char*" "path")
+ '("GResourceLookupFlags" "lookup_flags")
+ '("GError**" "error")
+ )
+)
+
+(define-function g_resources_enumerate_children
+ (c-name "g_resources_enumerate_children")
+ (return-type "char**")
+ (parameters
+ '("const-char*" "path")
+ '("GResourceLookupFlags" "lookup_flags")
+ '("GError**" "error")
+ )
+)
+
+(define-function g_resources_get_info
+ (c-name "g_resources_get_info")
+ (return-type "gboolean")
+ (parameters
+ '("const-char*" "path")
+ '("GResourceLookupFlags" "lookup_flags")
+ '("gsize*" "size")
+ '("guint32*" "flags")
+ '("GError**" "error")
+ )
+)
+
+(define-method init
+ (of-object "GStaticResource")
+ (c-name "g_static_resource_init")
+ (return-type "none")
+)
+
+(define-method fini
+ (of-object "GStaticResource")
+ (c-name "g_static_resource_fini")
+ (return-type "none")
+)
+
+(define-method get_resource
+ (of-object "GStaticResource")
+ (c-name "g_static_resource_get_resource")
+ (return-type "GResource*")
+)
+
+
+
;; From gseekable.h
(define-function g_seekable_get_type
@@ -10480,6 +12022,10 @@
+;; From gsettingsbackendinternal.h
+
+
+
;; From gsettings.h
(define-function g_settings_get_type
@@ -10492,7 +12038,7 @@
(is-constructor-of "GSettings")
(return-type "GSettings*")
(parameters
- '("const-gchar*" "schema")
+ '("const-gchar*" "schema_id")
)
)
@@ -10500,7 +12046,7 @@
(c-name "g_settings_new_with_path")
(return-type "GSettings*")
(parameters
- '("const-gchar*" "schema")
+ '("const-gchar*" "schema_id")
'("const-gchar*" "path")
)
)
@@ -10509,7 +12055,7 @@
(c-name "g_settings_new_with_backend")
(return-type "GSettings*")
(parameters
- '("const-gchar*" "schema")
+ '("const-gchar*" "schema_id")
'("GSettingsBackend*" "backend")
)
)
@@ -10518,7 +12064,17 @@
(c-name "g_settings_new_with_backend_and_path")
(return-type "GSettings*")
(parameters
- '("const-gchar*" "schema")
+ '("const-gchar*" "schema_id")
+ '("GSettingsBackend*" "backend")
+ '("const-gchar*" "path")
+ )
+)
+
+(define-function g_settings_new_full
+ (c-name "g_settings_new_full")
+ (return-type "GSettings*")
+ (parameters
+ '("GSettingsSchema*" "schema")
'("GSettingsBackend*" "backend")
'("const-gchar*" "path")
)
@@ -10853,6 +12409,15 @@
)
)
+(define-method create_action
+ (of-object "GSettings")
+ (c-name "g_settings_create_action")
+ (return-type "GAction*")
+ (parameters
+ '("const-gchar*" "key")
+ )
+)
+
(define-method get_mapped
(of-object "GSettings")
(c-name "g_settings_get_mapped")
@@ -10866,6 +12431,90 @@
+;; From gsettings-mapping.h
+
+
+
+;; From gsettingsschema.h
+
+(define-function g_settings_schema_source_get_type
+ (c-name "g_settings_schema_source_get_type")
+ (return-type "GType")
+)
+
+(define-function g_settings_schema_source_get_default
+ (c-name "g_settings_schema_source_get_default")
+ (return-type "GSettingsSchemaSource*")
+)
+
+(define-method ref
+ (of-object "GSettingsSchemaSource")
+ (c-name "g_settings_schema_source_ref")
+ (return-type "GSettingsSchemaSource*")
+)
+
+(define-method unref
+ (of-object "GSettingsSchemaSource")
+ (c-name "g_settings_schema_source_unref")
+ (return-type "none")
+)
+
+(define-function g_settings_schema_source_new_from_directory
+ (c-name "g_settings_schema_source_new_from_directory")
+ (return-type "GSettingsSchemaSource*")
+ (parameters
+ '("const-gchar*" "directory")
+ '("GSettingsSchemaSource*" "parent")
+ '("gboolean" "trusted")
+ '("GError**" "error")
+ )
+)
+
+(define-method lookup
+ (of-object "GSettingsSchemaSource")
+ (c-name "g_settings_schema_source_lookup")
+ (return-type "GSettingsSchema*")
+ (parameters
+ '("const-gchar*" "schema_id")
+ '("gboolean" "recursive")
+ )
+)
+
+(define-function g_settings_schema_get_type
+ (c-name "g_settings_schema_get_type")
+ (return-type "GType")
+)
+
+(define-method ref
+ (of-object "GSettingsSchema")
+ (c-name "g_settings_schema_ref")
+ (return-type "GSettingsSchema*")
+)
+
+(define-method unref
+ (of-object "GSettingsSchema")
+ (c-name "g_settings_schema_unref")
+ (return-type "none")
+)
+
+(define-method get_id
+ (of-object "GSettingsSchema")
+ (c-name "g_settings_schema_get_id")
+ (return-type "const-gchar*")
+)
+
+(define-method get_path
+ (of-object "GSettingsSchema")
+ (c-name "g_settings_schema_get_path")
+ (return-type "const-gchar*")
+)
+
+
+
+;; From gsettingsschema-internal.h
+
+
+
;; From gsimpleactiongroup.h
(define-function g_simple_action_group_get_type
@@ -11613,6 +13262,45 @@
(return-type "GType")
)
+(define-method is_connected
+ (of-object "GSocketConnection")
+ (c-name "g_socket_connection_is_connected")
+ (return-type "gboolean")
+)
+
+(define-method connect
+ (of-object "GSocketConnection")
+ (c-name "g_socket_connection_connect")
+ (return-type "gboolean")
+ (parameters
+ '("GSocketAddress*" "address")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
+ )
+)
+
+(define-method connect_async
+ (of-object "GSocketConnection")
+ (c-name "g_socket_connection_connect_async")
+ (return-type "none")
+ (parameters
+ '("GSocketAddress*" "address")
+ '("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
+ )
+)
+
+(define-method connect_finish
+ (of-object "GSocketConnection")
+ (c-name "g_socket_connection_connect_finish")
+ (return-type "gboolean")
+ (parameters
+ '("GAsyncResult*" "result")
+ '("GError**" "error")
+ )
+)
+
(define-method get_socket
(of-object "GSocketConnection")
(c-name "g_socket_connection_get_socket")
@@ -11843,6 +13531,66 @@
)
)
+(define-method get_ttl
+ (of-object "GSocket")
+ (c-name "g_socket_get_ttl")
+ (return-type "guint")
+)
+
+(define-method set_ttl
+ (of-object "GSocket")
+ (c-name "g_socket_set_ttl")
+ (return-type "none")
+ (parameters
+ '("guint" "ttl")
+ )
+)
+
+(define-method get_broadcast
+ (of-object "GSocket")
+ (c-name "g_socket_get_broadcast")
+ (return-type "gboolean")
+)
+
+(define-method set_broadcast
+ (of-object "GSocket")
+ (c-name "g_socket_set_broadcast")
+ (return-type "none")
+ (parameters
+ '("gboolean" "broadcast")
+ )
+)
+
+(define-method get_multicast_loopback
+ (of-object "GSocket")
+ (c-name "g_socket_get_multicast_loopback")
+ (return-type "gboolean")
+)
+
+(define-method set_multicast_loopback
+ (of-object "GSocket")
+ (c-name "g_socket_set_multicast_loopback")
+ (return-type "none")
+ (parameters
+ '("gboolean" "loopback")
+ )
+)
+
+(define-method get_multicast_ttl
+ (of-object "GSocket")
+ (c-name "g_socket_get_multicast_ttl")
+ (return-type "guint")
+)
+
+(define-method set_multicast_ttl
+ (of-object "GSocket")
+ (c-name "g_socket_set_multicast_ttl")
+ (return-type "none")
+ (parameters
+ '("guint" "ttl")
+ )
+)
+
(define-method is_connected
(of-object "GSocket")
(c-name "g_socket_is_connected")
@@ -11860,6 +13608,30 @@
)
)
+(define-method join_multicast_group
+ (of-object "GSocket")
+ (c-name "g_socket_join_multicast_group")
+ (return-type "gboolean")
+ (parameters
+ '("GInetAddress*" "group")
+ '("gboolean" "source_specific")
+ '("const-gchar*" "iface")
+ '("GError**" "error")
+ )
+)
+
+(define-method leave_multicast_group
+ (of-object "GSocket")
+ (c-name "g_socket_leave_multicast_group")
+ (return-type "gboolean")
+ (parameters
+ '("GInetAddress*" "group")
+ '("gboolean" "source_specific")
+ '("const-gchar*" "iface")
+ '("GError**" "error")
+ )
+)
+
(define-method connect
(of-object "GSocket")
(c-name "g_socket_connect")
@@ -11880,6 +13652,12 @@
)
)
+(define-method get_available_bytes
+ (of-object "GSocket")
+ (c-name "g_socket_get_available_bytes")
+ (return-type "gssize")
+)
+
(define-method condition_check
(of-object "GSocket")
(c-name "g_socket_condition_check")
@@ -12080,6 +13858,10 @@
+;; From gsocketinputstream.h
+
+
+
;; From gsocketlistener.h
(define-function g_socket_listener_get_type
@@ -12222,6 +14004,10 @@
+;; From gsocketoutputstream.h
+
+
+
;; From gsocketservice.h
(define-function g_socket_service_get_type
@@ -12255,6 +14041,18 @@
+;; From gsocks4aproxy.h
+
+
+
+;; From gsocks4proxy.h
+
+
+
+;; From gsocks5proxy.h
+
+
+
;; From gsrvtarget.h
(define-function g_srv_target_get_type
@@ -12422,6 +14220,15 @@
+;; From gthreadedresolver.h
+
+(define-function g_threaded_resolver_get_type
+ (c-name "g_threaded_resolver_get_type")
+ (return-type "GType")
+)
+
+
+
;; From gthreadedsocketservice.h
(define-function g_threaded_socket_service_get_type
@@ -13123,143 +14930,769 @@
-;; From gvfs.h
+;; From gunionvolumemonitor.h
-(define-function g_vfs_get_type
- (c-name "g_vfs_get_type")
+
+
+;; From gunixconnection.h
+
+(define-function g_unix_connection_get_type
+ (c-name "g_unix_connection_get_type")
(return-type "GType")
)
-(define-method is_active
- (of-object "GVfs")
- (c-name "g_vfs_is_active")
+(define-method send_fd
+ (of-object "GUnixConnection")
+ (c-name "g_unix_connection_send_fd")
+ (return-type "gboolean")
+ (parameters
+ '("gint" "fd")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
+ )
+)
+
+(define-method receive_fd
+ (of-object "GUnixConnection")
+ (c-name "g_unix_connection_receive_fd")
+ (return-type "gint")
+ (parameters
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
+ )
+)
+
+(define-method send_credentials
+ (of-object "GUnixConnection")
+ (c-name "g_unix_connection_send_credentials")
(return-type "gboolean")
+ (parameters
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
+ )
)
-(define-method get_file_for_path
- (of-object "GVfs")
- (c-name "g_vfs_get_file_for_path")
- (return-type "GFile*")
+(define-method send_credentials_async
+ (of-object "GUnixConnection")
+ (c-name "g_unix_connection_send_credentials_async")
+ (return-type "none")
(parameters
- '("const-char*" "path")
+ '("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
)
)
-(define-method get_file_for_uri
- (of-object "GVfs")
- (c-name "g_vfs_get_file_for_uri")
- (return-type "GFile*")
+(define-method send_credentials_finish
+ (of-object "GUnixConnection")
+ (c-name "g_unix_connection_send_credentials_finish")
+ (return-type "gboolean")
(parameters
- '("const-char*" "uri")
+ '("GAsyncResult*" "result")
+ '("GError**" "error")
)
)
-(define-method parse_name
- (of-object "GVfs")
- (c-name "g_vfs_parse_name")
- (return-type "GFile*")
+(define-method receive_credentials
+ (of-object "GUnixConnection")
+ (c-name "g_unix_connection_receive_credentials")
+ (return-type "GCredentials*")
(parameters
- '("const-char*" "parse_name")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
)
)
-(define-function g_vfs_get_default
- (c-name "g_vfs_get_default")
- (return-type "GVfs*")
+(define-method receive_credentials_async
+ (of-object "GUnixConnection")
+ (c-name "g_unix_connection_receive_credentials_async")
+ (return-type "none")
+ (parameters
+ '("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
+ )
)
-(define-function g_vfs_get_local
- (c-name "g_vfs_get_local")
- (return-type "GVfs*")
+(define-method receive_credentials_finish
+ (of-object "GUnixConnection")
+ (c-name "g_unix_connection_receive_credentials_finish")
+ (return-type "GCredentials*")
+ (parameters
+ '("GAsyncResult*" "result")
+ '("GError**" "error")
+ )
)
-;; From gvolume.h
+;; From gunixcredentialsmessage.h
-(define-function g_volume_get_type
- (c-name "g_volume_get_type")
+(define-function g_unix_credentials_message_get_type
+ (c-name "g_unix_credentials_message_get_type")
(return-type "GType")
)
-(define-method get_name
- (of-object "GVolume")
- (c-name "g_volume_get_name")
- (return-type "char*")
+(define-function g_unix_credentials_message_new
+ (c-name "g_unix_credentials_message_new")
+ (is-constructor-of "GUnixCredentialsMessage")
+ (return-type "GSocketControlMessage*")
)
-(define-method get_icon
- (of-object "GVolume")
- (c-name "g_volume_get_icon")
- (return-type "GIcon*")
+(define-function g_unix_credentials_message_new_with_credentials
+ (c-name "g_unix_credentials_message_new_with_credentials")
+ (return-type "GSocketControlMessage*")
+ (parameters
+ '("GCredentials*" "credentials")
+ )
)
-(define-method get_uuid
- (of-object "GVolume")
- (c-name "g_volume_get_uuid")
- (return-type "char*")
+(define-method get_credentials
+ (of-object "GUnixCredentialsMessage")
+ (c-name "g_unix_credentials_message_get_credentials")
+ (return-type "GCredentials*")
)
-(define-method get_drive
- (of-object "GVolume")
- (c-name "g_volume_get_drive")
- (return-type "GDrive*")
+(define-function g_unix_credentials_message_is_supported
+ (c-name "g_unix_credentials_message_is_supported")
+ (return-type "gboolean")
)
-(define-method get_mount
- (of-object "GVolume")
- (c-name "g_volume_get_mount")
- (return-type "GMount*")
-)
-(define-method can_mount
- (of-object "GVolume")
- (c-name "g_volume_can_mount")
- (return-type "gboolean")
-)
-(define-method can_eject
- (of-object "GVolume")
- (c-name "g_volume_can_eject")
- (return-type "gboolean")
+;; From gunixfdlist.h
+
+(define-function g_unix_fd_list_get_type
+ (c-name "g_unix_fd_list_get_type")
+ (return-type "GType")
)
-(define-method should_automount
- (of-object "GVolume")
- (c-name "g_volume_should_automount")
- (return-type "gboolean")
+(define-function g_unix_fd_list_new
+ (c-name "g_unix_fd_list_new")
+ (is-constructor-of "GUnixFdList")
+ (return-type "GUnixFDList*")
)
-(define-method mount
- (of-object "GVolume")
- (c-name "g_volume_mount")
- (return-type "none")
+(define-function g_unix_fd_list_new_from_array
+ (c-name "g_unix_fd_list_new_from_array")
+ (return-type "GUnixFDList*")
(parameters
- '("GMountMountFlags" "flags")
- '("GMountOperation*" "mount_operation")
- '("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
+ '("const-gint*" "fds")
+ '("gint" "n_fds")
)
)
-(define-method mount_finish
- (of-object "GVolume")
- (c-name "g_volume_mount_finish")
- (return-type "gboolean")
+(define-method append
+ (of-object "GUnixFDList")
+ (c-name "g_unix_fd_list_append")
+ (return-type "gint")
(parameters
- '("GAsyncResult*" "result")
+ '("gint" "fd")
'("GError**" "error")
)
)
-(define-method get_identifier
- (of-object "GVolume")
- (c-name "g_volume_get_identifier")
- (return-type "char*")
- (parameters
- '("const-char*" "kind")
- )
+(define-method get_length
+ (of-object "GUnixFDList")
+ (c-name "g_unix_fd_list_get_length")
+ (return-type "gint")
+)
+
+(define-method get
+ (of-object "GUnixFDList")
+ (c-name "g_unix_fd_list_get")
+ (return-type "gint")
+ (parameters
+ '("gint" "index_")
+ '("GError**" "error")
+ )
+)
+
+(define-method peek_fds
+ (of-object "GUnixFDList")
+ (c-name "g_unix_fd_list_peek_fds")
+ (return-type "const-gint*")
+ (parameters
+ '("gint*" "length")
+ )
+)
+
+(define-method steal_fds
+ (of-object "GUnixFDList")
+ (c-name "g_unix_fd_list_steal_fds")
+ (return-type "gint*")
+ (parameters
+ '("gint*" "length")
+ )
+)
+
+
+
+;; From gunixfdmessage.h
+
+(define-function g_unix_fd_message_get_type
+ (c-name "g_unix_fd_message_get_type")
+ (return-type "GType")
+)
+
+(define-function g_unix_fd_message_new_with_fd_list
+ (c-name "g_unix_fd_message_new_with_fd_list")
+ (return-type "GSocketControlMessage*")
+ (parameters
+ '("GUnixFDList*" "fd_list")
+ )
+)
+
+(define-function g_unix_fd_message_new
+ (c-name "g_unix_fd_message_new")
+ (is-constructor-of "GUnixFdMessage")
+ (return-type "GSocketControlMessage*")
+)
+
+(define-method get_fd_list
+ (of-object "GUnixFDMessage")
+ (c-name "g_unix_fd_message_get_fd_list")
+ (return-type "GUnixFDList*")
+)
+
+(define-method steal_fds
+ (of-object "GUnixFDMessage")
+ (c-name "g_unix_fd_message_steal_fds")
+ (return-type "gint*")
+ (parameters
+ '("gint*" "length")
+ )
+)
+
+(define-method append_fd
+ (of-object "GUnixFDMessage")
+ (c-name "g_unix_fd_message_append_fd")
+ (return-type "gboolean")
+ (parameters
+ '("gint" "fd")
+ '("GError**" "error")
+ )
+)
+
+
+
+;; From gunixinputstream.h
+
+(define-function g_unix_input_stream_get_type
+ (c-name "g_unix_input_stream_get_type")
+ (return-type "GType")
+)
+
+(define-function g_unix_input_stream_new
+ (c-name "g_unix_input_stream_new")
+ (is-constructor-of "GUnixInputStream")
+ (return-type "GInputStream*")
+ (parameters
+ '("gint" "fd")
+ '("gboolean" "close_fd")
+ )
+)
+
+(define-method set_close_fd
+ (of-object "GUnixInputStream")
+ (c-name "g_unix_input_stream_set_close_fd")
+ (return-type "none")
+ (parameters
+ '("gboolean" "close_fd")
+ )
+)
+
+(define-method get_close_fd
+ (of-object "GUnixInputStream")
+ (c-name "g_unix_input_stream_get_close_fd")
+ (return-type "gboolean")
+)
+
+(define-method get_fd
+ (of-object "GUnixInputStream")
+ (c-name "g_unix_input_stream_get_fd")
+ (return-type "gint")
+)
+
+
+
+;; From gunixmount.h
+
+
+
+;; From gunixmounts.h
+
+(define-function g_unix_mount_free
+ (c-name "g_unix_mount_free")
+ (return-type "none")
+ (parameters
+ '("GUnixMountEntry*" "mount_entry")
+ )
+)
+
+(define-method free
+ (of-object "GUnixMountPoint")
+ (c-name "g_unix_mount_point_free")
+ (return-type "none")
+)
+
+(define-function g_unix_mount_compare
+ (c-name "g_unix_mount_compare")
+ (return-type "gint")
+ (parameters
+ '("GUnixMountEntry*" "mount1")
+ '("GUnixMountEntry*" "mount2")
+ )
+)
+
+(define-function g_unix_mount_get_mount_path
+ (c-name "g_unix_mount_get_mount_path")
+ (return-type "const-char*")
+ (parameters
+ '("GUnixMountEntry*" "mount_entry")
+ )
+)
+
+(define-function g_unix_mount_get_device_path
+ (c-name "g_unix_mount_get_device_path")
+ (return-type "const-char*")
+ (parameters
+ '("GUnixMountEntry*" "mount_entry")
+ )
+)
+
+(define-function g_unix_mount_get_fs_type
+ (c-name "g_unix_mount_get_fs_type")
+ (return-type "const-char*")
+ (parameters
+ '("GUnixMountEntry*" "mount_entry")
+ )
+)
+
+(define-function g_unix_mount_is_readonly
+ (c-name "g_unix_mount_is_readonly")
+ (return-type "gboolean")
+ (parameters
+ '("GUnixMountEntry*" "mount_entry")
+ )
+)
+
+(define-function g_unix_mount_is_system_internal
+ (c-name "g_unix_mount_is_system_internal")
+ (return-type "gboolean")
+ (parameters
+ '("GUnixMountEntry*" "mount_entry")
+ )
+)
+
+(define-function g_unix_mount_guess_can_eject
+ (c-name "g_unix_mount_guess_can_eject")
+ (return-type "gboolean")
+ (parameters
+ '("GUnixMountEntry*" "mount_entry")
+ )
+)
+
+(define-function g_unix_mount_guess_should_display
+ (c-name "g_unix_mount_guess_should_display")
+ (return-type "gboolean")
+ (parameters
+ '("GUnixMountEntry*" "mount_entry")
+ )
+)
+
+(define-function g_unix_mount_guess_name
+ (c-name "g_unix_mount_guess_name")
+ (return-type "char*")
+ (parameters
+ '("GUnixMountEntry*" "mount_entry")
+ )
+)
+
+(define-function g_unix_mount_guess_icon
+ (c-name "g_unix_mount_guess_icon")
+ (return-type "GIcon*")
+ (parameters
+ '("GUnixMountEntry*" "mount_entry")
+ )
+)
+
+(define-method compare
+ (of-object "GUnixMountPoint")
+ (c-name "g_unix_mount_point_compare")
+ (return-type "gint")
+ (parameters
+ '("GUnixMountPoint*" "mount2")
+ )
+)
+
+(define-method get_mount_path
+ (of-object "GUnixMountPoint")
+ (c-name "g_unix_mount_point_get_mount_path")
+ (return-type "const-char*")
+)
+
+(define-method get_device_path
+ (of-object "GUnixMountPoint")
+ (c-name "g_unix_mount_point_get_device_path")
+ (return-type "const-char*")
+)
+
+(define-method get_fs_type
+ (of-object "GUnixMountPoint")
+ (c-name "g_unix_mount_point_get_fs_type")
+ (return-type "const-char*")
+)
+
+(define-method get_options
+ (of-object "GUnixMountPoint")
+ (c-name "g_unix_mount_point_get_options")
+ (return-type "const-char*")
+)
+
+(define-method is_readonly
+ (of-object "GUnixMountPoint")
+ (c-name "g_unix_mount_point_is_readonly")
+ (return-type "gboolean")
+)
+
+(define-method is_user_mountable
+ (of-object "GUnixMountPoint")
+ (c-name "g_unix_mount_point_is_user_mountable")
+ (return-type "gboolean")
+)
+
+(define-method is_loopback
+ (of-object "GUnixMountPoint")
+ (c-name "g_unix_mount_point_is_loopback")
+ (return-type "gboolean")
+)
+
+(define-method guess_can_eject
+ (of-object "GUnixMountPoint")
+ (c-name "g_unix_mount_point_guess_can_eject")
+ (return-type "gboolean")
+)
+
+(define-method guess_name
+ (of-object "GUnixMountPoint")
+ (c-name "g_unix_mount_point_guess_name")
+ (return-type "char*")
+)
+
+(define-method guess_icon
+ (of-object "GUnixMountPoint")
+ (c-name "g_unix_mount_point_guess_icon")
+ (return-type "GIcon*")
+)
+
+(define-function g_unix_mount_points_get
+ (c-name "g_unix_mount_points_get")
+ (return-type "GList*")
+ (parameters
+ '("guint64*" "time_read")
+ )
+)
+
+(define-function g_unix_mounts_get
+ (c-name "g_unix_mounts_get")
+ (return-type "GList*")
+ (parameters
+ '("guint64*" "time_read")
+ )
+)
+
+(define-function g_unix_mount_at
+ (c-name "g_unix_mount_at")
+ (return-type "GUnixMountEntry*")
+ (parameters
+ '("const-char*" "mount_path")
+ '("guint64*" "time_read")
+ )
+)
+
+(define-function g_unix_mounts_changed_since
+ (c-name "g_unix_mounts_changed_since")
+ (return-type "gboolean")
+ (parameters
+ '("guint64" "time")
+ )
+)
+
+(define-function g_unix_mount_points_changed_since
+ (c-name "g_unix_mount_points_changed_since")
+ (return-type "gboolean")
+ (parameters
+ '("guint64" "time")
+ )
+)
+
+(define-function g_unix_mount_monitor_get_type
+ (c-name "g_unix_mount_monitor_get_type")
+ (return-type "GType")
+)
+
+(define-function g_unix_mount_monitor_new
+ (c-name "g_unix_mount_monitor_new")
+ (is-constructor-of "GUnixMountMonitor")
+ (return-type "GUnixMountMonitor*")
+)
+
+(define-method set_rate_limit
+ (of-object "GUnixMountMonitor")
+ (c-name "g_unix_mount_monitor_set_rate_limit")
+ (return-type "none")
+ (parameters
+ '("int" "limit_msec")
+ )
+)
+
+(define-function g_unix_is_mount_path_system_internal
+ (c-name "g_unix_is_mount_path_system_internal")
+ (return-type "gboolean")
+ (parameters
+ '("const-char*" "mount_path")
+ )
+)
+
+
+
+;; From gunixoutputstream.h
+
+(define-function g_unix_output_stream_get_type
+ (c-name "g_unix_output_stream_get_type")
+ (return-type "GType")
+)
+
+(define-function g_unix_output_stream_new
+ (c-name "g_unix_output_stream_new")
+ (is-constructor-of "GUnixOutputStream")
+ (return-type "GOutputStream*")
+ (parameters
+ '("gint" "fd")
+ '("gboolean" "close_fd")
+ )
+)
+
+(define-method set_close_fd
+ (of-object "GUnixOutputStream")
+ (c-name "g_unix_output_stream_set_close_fd")
+ (return-type "none")
+ (parameters
+ '("gboolean" "close_fd")
+ )
+)
+
+(define-method get_close_fd
+ (of-object "GUnixOutputStream")
+ (c-name "g_unix_output_stream_get_close_fd")
+ (return-type "gboolean")
+)
+
+(define-method get_fd
+ (of-object "GUnixOutputStream")
+ (c-name "g_unix_output_stream_get_fd")
+ (return-type "gint")
+)
+
+
+
+;; From gunixsocketaddress.h
+
+(define-function g_unix_socket_address_get_type
+ (c-name "g_unix_socket_address_get_type")
+ (return-type "GType")
+)
+
+(define-function g_unix_socket_address_new
+ (c-name "g_unix_socket_address_new")
+ (is-constructor-of "GUnixSocketAddress")
+ (return-type "GSocketAddress*")
+ (parameters
+ '("const-gchar*" "path")
+ )
+)
+
+(define-function g_unix_socket_address_new_with_type
+ (c-name "g_unix_socket_address_new_with_type")
+ (return-type "GSocketAddress*")
+ (parameters
+ '("const-gchar*" "path")
+ '("gint" "path_len")
+ '("GUnixSocketAddressType" "type")
+ )
+)
+
+(define-method get_path
+ (of-object "GUnixSocketAddress")
+ (c-name "g_unix_socket_address_get_path")
+ (return-type "const-char*")
+)
+
+(define-method get_path_len
+ (of-object "GUnixSocketAddress")
+ (c-name "g_unix_socket_address_get_path_len")
+ (return-type "gsize")
+)
+
+(define-method get_address_type
+ (of-object "GUnixSocketAddress")
+ (c-name "g_unix_socket_address_get_address_type")
+ (return-type "GUnixSocketAddressType")
+)
+
+(define-function g_unix_socket_address_abstract_names_supported
+ (c-name "g_unix_socket_address_abstract_names_supported")
+ (return-type "gboolean")
+)
+
+
+
+;; From gunixvolume.h
+
+
+
+;; From gunixvolumemonitor.h
+
+
+
+;; From gvfs.h
+
+(define-function g_vfs_get_type
+ (c-name "g_vfs_get_type")
+ (return-type "GType")
+)
+
+(define-method is_active
+ (of-object "GVfs")
+ (c-name "g_vfs_is_active")
+ (return-type "gboolean")
+)
+
+(define-method get_file_for_path
+ (of-object "GVfs")
+ (c-name "g_vfs_get_file_for_path")
+ (return-type "GFile*")
+ (parameters
+ '("const-char*" "path")
+ )
+)
+
+(define-method get_file_for_uri
+ (of-object "GVfs")
+ (c-name "g_vfs_get_file_for_uri")
+ (return-type "GFile*")
+ (parameters
+ '("const-char*" "uri")
+ )
+)
+
+(define-method parse_name
+ (of-object "GVfs")
+ (c-name "g_vfs_parse_name")
+ (return-type "GFile*")
+ (parameters
+ '("const-char*" "parse_name")
+ )
+)
+
+(define-function g_vfs_get_default
+ (c-name "g_vfs_get_default")
+ (return-type "GVfs*")
+)
+
+(define-function g_vfs_get_local
+ (c-name "g_vfs_get_local")
+ (return-type "GVfs*")
+)
+
+
+
+;; From gvolume.h
+
+(define-function g_volume_get_type
+ (c-name "g_volume_get_type")
+ (return-type "GType")
+)
+
+(define-method get_name
+ (of-object "GVolume")
+ (c-name "g_volume_get_name")
+ (return-type "char*")
+)
+
+(define-method get_icon
+ (of-object "GVolume")
+ (c-name "g_volume_get_icon")
+ (return-type "GIcon*")
+)
+
+(define-method get_uuid
+ (of-object "GVolume")
+ (c-name "g_volume_get_uuid")
+ (return-type "char*")
+)
+
+(define-method get_drive
+ (of-object "GVolume")
+ (c-name "g_volume_get_drive")
+ (return-type "GDrive*")
+)
+
+(define-method get_mount
+ (of-object "GVolume")
+ (c-name "g_volume_get_mount")
+ (return-type "GMount*")
+)
+
+(define-method can_mount
+ (of-object "GVolume")
+ (c-name "g_volume_can_mount")
+ (return-type "gboolean")
+)
+
+(define-method can_eject
+ (of-object "GVolume")
+ (c-name "g_volume_can_eject")
+ (return-type "gboolean")
+)
+
+(define-method should_automount
+ (of-object "GVolume")
+ (c-name "g_volume_should_automount")
+ (return-type "gboolean")
+)
+
+(define-method mount
+ (of-object "GVolume")
+ (c-name "g_volume_mount")
+ (return-type "none")
+ (parameters
+ '("GMountMountFlags" "flags")
+ '("GMountOperation*" "mount_operation")
+ '("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
+ )
+)
+
+(define-method mount_finish
+ (of-object "GVolume")
+ (c-name "g_volume_mount_finish")
+ (return-type "gboolean")
+ (parameters
+ '("GAsyncResult*" "result")
+ '("GError**" "error")
+ )
+)
+
+(define-method get_identifier
+ (of-object "GVolume")
+ (c-name "g_volume_get_identifier")
+ (return-type "char*")
+ (parameters
+ '("const-char*" "kind")
+ )
)
(define-method enumerate_identifiers
@@ -13353,14 +15786,103 @@
)
)
-(define-function g_volume_monitor_adopt_orphan_mount
- (c-name "g_volume_monitor_adopt_orphan_mount")
- (return-type "GVolume*")
+
+
+;; From gwin32appinfo.h
+
+(define-function g_win32_app_info_get_type
+ (c-name "g_win32_app_info_get_type")
+ (return-type "GType")
+)
+
+
+
+;; From gwin32inputstream.h
+
+(define-function g_win32_input_stream_get_type
+ (c-name "g_win32_input_stream_get_type")
+ (return-type "GType")
+)
+
+(define-function g_win32_input_stream_new
+ (c-name "g_win32_input_stream_new")
+ (is-constructor-of "GWin32InputStream")
+ (return-type "GInputStream*")
+ (parameters
+ '("void*" "handle")
+ '("gboolean" "close_handle")
+ )
+)
+
+(define-method set_close_handle
+ (of-object "GWin32InputStream")
+ (c-name "g_win32_input_stream_set_close_handle")
+ (return-type "none")
(parameters
- '("GMount*" "mount")
+ '("gboolean" "close_handle")
)
)
+(define-method get_close_handle
+ (of-object "GWin32InputStream")
+ (c-name "g_win32_input_stream_get_close_handle")
+ (return-type "gboolean")
+)
+
+(define-method get_handle
+ (of-object "GWin32InputStream")
+ (c-name "g_win32_input_stream_get_handle")
+ (return-type "void*")
+)
+
+
+
+;; From gwin32mount.h
+
+
+
+;; From gwin32outputstream.h
+
+(define-function g_win32_output_stream_get_type
+ (c-name "g_win32_output_stream_get_type")
+ (return-type "GType")
+)
+
+(define-function g_win32_output_stream_new
+ (c-name "g_win32_output_stream_new")
+ (is-constructor-of "GWin32OutputStream")
+ (return-type "GOutputStream*")
+ (parameters
+ '("void*" "handle")
+ '("gboolean" "close_handle")
+ )
+)
+
+(define-method set_close_handle
+ (of-object "GWin32OutputStream")
+ (c-name "g_win32_output_stream_set_close_handle")
+ (return-type "none")
+ (parameters
+ '("gboolean" "close_handle")
+ )
+)
+
+(define-method get_close_handle
+ (of-object "GWin32OutputStream")
+ (c-name "g_win32_output_stream_get_close_handle")
+ (return-type "gboolean")
+)
+
+(define-method get_handle
+ (of-object "GWin32OutputStream")
+ (c-name "g_win32_output_stream_get_handle")
+ (return-type "void*")
+)
+
+
+
+;; From gwin32volumemonitor.h
+
;; From gzlibcompressor.h
diff --git a/gio/src/gio_vfuncs.defs b/gio/src/gio_vfuncs.defs
index 86228b3..b3bf4ac 100644
--- a/gio/src/gio_vfuncs.defs
+++ b/gio/src/gio_vfuncs.defs
@@ -124,6 +124,32 @@
)
)
+;GActionMap
+
+(define-vfunc lookup_action
+ (of-object "GActionMap")
+ (return-type "GAction*")
+ (parameters
+ '("const-gchar*" "action_name")
+ )
+)
+
+(define-vfunc add_action
+ (of-object "GActionMap")
+ (return-type "void")
+ (parameters
+ '("GAction*" "action")
+ )
+)
+
+(define-vfunc remove_action
+ (of-object "GActionMap")
+ (return-type "void")
+ (parameters
+ '("const-gchar*" "action_name")
+ )
+)
+
; GApplication
(define-vfunc local_command_line
diff --git a/gio/src/simpleactiongroup.hg b/gio/src/simpleactiongroup.hg
index 338bb34..d89099f 100644
--- a/gio/src/simpleactiongroup.hg
+++ b/gio/src/simpleactiongroup.hg
@@ -15,7 +15,7 @@
* Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-#include <glibmm/object.h>
+#include <giomm/actionmap.h>
#include <giomm/actiongroup.h>
_DEFS(giomm,gio)
@@ -32,10 +32,13 @@ class Action;
*
* @newin{2,32}
*/
-class SimpleActionGroup : public Glib::Object, public ActionGroup
+class SimpleActionGroup : public Glib::Object,
+ public ActionGroup,
+ public ActionMap
{
_CLASS_GOBJECT(SimpleActionGroup, GSimpleActionGroup, G_SIMPLE_ACTION_GROUP, Glib::Object, GObject)
_IMPLEMENTS_INTERFACE(ActionGroup)
+ _IMPLEMENTS_INTERFACE(ActionMap)
protected:
_CTOR_DEFAULT()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]