From 4abda59f4678f84cca273bb5fb6ea7068bc075b1 Mon Sep 17 00:00:00 2001 From: DongHun Kwak Date: Sun, 6 Sep 2020 23:42:34 -0700 Subject: [PATCH] Imported Upstream version 2.37.93 --- .gitignore | 1 + NEWS | 19 + configure.ac | 4 +- gio/src/actionmap.hg | 5 +- gio/src/file.ccg | 91 +- gio/src/file.hg | 96 + gio/src/gio_docs.xml | 20385 +++++----------------------------- gio/src/gio_enums.defs | 19 + gio/src/gio_methods.defs | 83 + gio/src/gio_signals.defs | 2 +- gio/src/settings.hg | 2 + glib/src/glib_docs.xml | 260 +- glib/src/glib_enums.defs | 8 +- glib/src/glib_functions.defs | 59 + glib/src/gobject_functions.defs | 4 + glib/src/spawn.hg | 12 +- glib/src/variant.ccg | 13 + glib/src/variant.hg | 9 +- tools/defs_gen/definitions.py | 8 +- tools/defs_gen/defsparser.py | 38 +- tools/defs_gen/docextract.py | 6 +- tools/defs_gen/docextract_to_xml.py | 73 +- tools/defs_gen/h2def.py | 50 +- tools/defs_gen/scmexpr.py | 12 +- tools/m4/convert_glib.m4 | 1 + 25 files changed, 3569 insertions(+), 17691 deletions(-) diff --git a/.gitignore b/.gitignore index 13a6cbb..55e81b3 100644 --- a/.gitignore +++ b/.gitignore @@ -160,6 +160,7 @@ giommconfig.h # tools/ /tools/defs_gen/*.pyc +/tools/defs_gen/__pycache__/ /tools/extra_defs_gen/generate_defs_gio /tools/extra_defs_gen/generate_defs_glib /tools/generate_wrap_init.pl diff --git a/NEWS b/NEWS index 52a9ae7..ee51fc2 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,22 @@ +2.37.93 (unstable): + +Gio +* ActionMap: lookup_action(): Fix the reference counting. + (Murray Cumming) +* File: Add measure_disk_usage() and measure_disk_usage_async(). + (Murray Cumming) +* Settings: Add get/set_uint(). + (Murray Cumming) +* Add VariantParseError. + Because it is thrown by GtkBuilder, at least for now. + (Murray Cumming + +Build: +* Port tools/defs_gen to Python 3. + (Kjell Ahlstedt) Bug #690969 +* tools/h2def.py: Handle functions with Handle *_DEPRECATED_IN_*_FOR (*). + (Murray Cumming) + 2.37.7 (unstable): Gio: diff --git a/configure.ac b/configure.ac index 9c68e08..ab7c959 100644 --- a/configure.ac +++ b/configure.ac @@ -15,7 +15,7 @@ ## You should have received a copy of the GNU Lesser General Public License ## along with this library. If not, see . -AC_INIT([glibmm], [2.37.7], +AC_INIT([glibmm], [2.37.93], [http://bugzilla.gnome.org/enter_bug.cgi?product=glibmm], [glibmm], [http://www.gtkmm.org/]) AC_PREREQ([2.59]) @@ -60,7 +60,7 @@ AS_IF([test "x$enable_static" = xyes], AC_DEFINE([GIOMM_STATIC_LIB], [1], [Define if giomm is built as a static library]) ]) -glibreq='2.0 >= 2.37.7' +glibreq='2.0 >= 2.37.93' GLIBMM_MODULES="sigc++-2.0 >= 2.2.10 glib-$glibreq gobject-$glibreq gmodule-$glibreq" GIOMM_MODULES="$GLIBMM_MODULES gio-$glibreq" diff --git a/gio/src/actionmap.hg b/gio/src/actionmap.hg index 6c8d1c5..f371167 100644 --- a/gio/src/actionmap.hg +++ b/gio/src/actionmap.hg @@ -52,8 +52,8 @@ class ActionMap : public Glib::Interface _CLASS_INTERFACE(ActionMap, GActionMap, G_ACTION_MAP, GActionMapInterface) public: - _WRAP_METHOD(Glib::RefPtr lookup_action(const Glib::ustring& action_name), g_action_map_lookup_action) - _WRAP_METHOD(Glib::RefPtr lookup_action(const Glib::ustring& action_name) const, g_action_map_lookup_action, constversion) + _WRAP_METHOD(Glib::RefPtr lookup_action(const Glib::ustring& action_name), g_action_map_lookup_action, refreturn) + _WRAP_METHOD(Glib::RefPtr lookup_action(const Glib::ustring& action_name) const, g_action_map_lookup_action, constversion, refreturn) /** A Slot to be called when an action has been activated. * See add_action_with_parameter(). @@ -189,6 +189,7 @@ public: #m4 _CONVERSION(`Glib::RefPtr', `GAction*', `Glib::unwrap($3)') _WRAP_VFUNC(Glib::RefPtr lookup_action(const Glib::ustring& name) const, "lookup_action") + //TODO: Change this to use const & when we can break ABI. _WRAP_VFUNC(void add_action(Glib::RefPtr action) const, "add_action") _WRAP_VFUNC(void remove_action(const Glib::ustring& name), "remove_action") }; diff --git a/gio/src/file.ccg b/gio/src/file.ccg index 0e7548a..cdd31e6 100644 --- a/gio/src/file.ccg +++ b/gio/src/file.ccg @@ -28,6 +28,7 @@ namespace { typedef std::pair CopySlots; +typedef std::pair MeasureSlots; typedef std::pair LoadPartialSlots; static void @@ -53,7 +54,7 @@ SignalProxy_file_progress_callback(goffset current_num_bytes, // the slot is packed in a pair. The operation is assumed to be finished // after the callback is triggered, so we delete that pair here. static void -SignalProxy_file_ready_callback(GObject*, GAsyncResult* res, void* data) +SignalProxy_file_copy_async_callback(GObject*, GAsyncResult* res, void* data) { CopySlots* slot_pair = static_cast(data); Gio::SlotAsyncReady* the_slot = slot_pair->second; @@ -76,6 +77,34 @@ SignalProxy_file_ready_callback(GObject*, GAsyncResult* res, void* data) delete slot_pair; } + +// Same as SignalProxy_async_callback, except that this one knows that +// the slot is packed in a pair. The operation is assumed to be finished +// after the callback is triggered, so we delete that pair here. +static void +SignalProxy_file_measure_async_callback(GObject*, GAsyncResult* res, void* data) +{ + MeasureSlots* slot_pair = static_cast(data); + Gio::SlotAsyncReady* the_slot = slot_pair->second; + + try + { + if(*the_slot) + { + Glib::RefPtr result = Glib::wrap(res, true /* take copy */); + (*the_slot)(result); + } + } + catch(...) + { + Glib::exception_handlers_invoke(); + } + + delete the_slot; + delete slot_pair->first; // progress slot + delete slot_pair; +} + static gboolean SignalProxy_load_partial_contents_read_more_callback(const char* file_contents, goffset file_size, gpointer data) { @@ -122,6 +151,27 @@ SignalProxy_load_partial_contents_ready_callback(GObject*, GAsyncResult* res, vo delete slot_pair; } +static void +SignalProxy_file_measure_progress_callback(gboolean reporting, + guint64 current_size, + guint64 num_dirs, + guint64 num_files, + gpointer data) +{ + Gio::File::SlotFileMeasureProgress* the_slot = static_cast(data); + + try + { + + (*the_slot)(reporting, current_size, num_dirs, num_files); + + } + catch(...) + { + Glib::exception_handlers_invoke(); + } +} + } // anonymous namespace namespace Gio { @@ -662,7 +712,7 @@ File::copy_async(const Glib::RefPtr& destination, int io_priority) { // Create a new pair which will hold copies of passed slots. - // This will be deleted in the SignalProxy_file_ready_callback() callback + // This will be deleted in the SignalProxy_file_copy_async_callback() callback CopySlots* slots = new CopySlots(); SlotFileProgress* slot_progress_copy = new SlotFileProgress(slot_progress); SlotAsyncReady* slot_ready_copy = new SlotAsyncReady(slot_ready); @@ -677,7 +727,7 @@ File::copy_async(const Glib::RefPtr& destination, Glib::unwrap(cancellable), &SignalProxy_file_progress_callback, slot_progress_copy, - &SignalProxy_file_ready_callback, + &SignalProxy_file_copy_async_callback, slots); } @@ -712,7 +762,7 @@ File::copy_async(const Glib::RefPtr& destination, int io_priority) { // Create a new pair which will hold copies of passed slots. - // This will be deleted in the SignalProxy_file_ready_callback() callback + // This will be deleted in the SignalProxy_file_copy_async_callback() callback CopySlots* slots = new CopySlots(); SlotFileProgress* slot_progress_copy = new SlotFileProgress(slot_progress); SlotAsyncReady* slot_ready_copy = new SlotAsyncReady(slot_ready); @@ -727,7 +777,7 @@ File::copy_async(const Glib::RefPtr& destination, 0, &SignalProxy_file_progress_callback, slot_progress_copy, - &SignalProxy_file_ready_callback, + &SignalProxy_file_copy_async_callback, slots); } @@ -1510,6 +1560,37 @@ Glib::RefPtr File::monitor(FileMonitorFlags flags) return retvalue; } + +void File::measure_disk_usage(const Glib::RefPtr& cancellable, const SlotFileMeasureProgress& slot_progress, guint64& disk_usage, guint64& num_dirs, guint64& num_files, FileMeasureFlags flags) +{ + GError* gerror = 0; + g_file_measure_disk_usage(gobj(), ((GFileMeasureFlags)(flags)), + const_cast(Glib::unwrap(cancellable)), + &SignalProxy_file_measure_progress_callback, const_cast(&slot_progress), + &disk_usage, &num_dirs, &num_files, &(gerror)); + if(gerror) + ::Glib::Error::throw_exception(gerror); +} + +void File::measure_disk_usage_async(const SlotAsyncReady& slot_ready, const Glib::RefPtr& cancellable, const SlotFileMeasureProgress& slot_progress, FileMeasureFlags flags, int io_priority) +{ + // Create a new pair which will hold copies of passed slots. + // This will be deleted in the SignalProxy_file_measure_async_callback() callback + MeasureSlots* slots = new MeasureSlots(); + SlotFileMeasureProgress* slot_progress_copy = new SlotFileMeasureProgress(slot_progress); + SlotAsyncReady* slot_ready_copy = new SlotAsyncReady(slot_ready); + + slots->first = slot_progress_copy; + slots->second = slot_ready_copy; + + g_file_measure_disk_usage_async(gobj(), + ((GFileMeasureFlags)(flags)), + io_priority, + const_cast(Glib::unwrap(cancellable)), + &SignalProxy_file_measure_progress_callback, const_cast(&slot_progress), + &SignalProxy_file_measure_async_callback, slots); +} + void File::start_mountable(const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, const Glib::RefPtr& start_operation, DriveStartFlags flags) { // Create a copy of the slot. diff --git a/gio/src/file.hg b/gio/src/file.hg index 2281ed0..55591e2 100644 --- a/gio/src/file.hg +++ b/gio/src/file.hg @@ -55,6 +55,7 @@ _WRAP_ENUM(FileQueryInfoFlags, GFileQueryInfoFlags, NO_GTYPE) _WRAP_ENUM(FileCreateFlags, GFileCreateFlags, NO_GTYPE) _WRAP_ENUM(FileCopyFlags, GFileCopyFlags, NO_GTYPE) _WRAP_ENUM(FileMonitorFlags, GFileMonitorFlags, NO_GTYPE) +_WRAP_ENUM(FileMeasureFlags, GFileMeasureFlags, NO_GTYPE) /** File and directory handling. @@ -1767,6 +1768,101 @@ public: Glib::RefPtr monitor(FileMonitorFlags flags = FILE_MONITOR_NONE); _IGNORE(g_file_monitor) + + /** This slot type is used by measure_disk_usage() to make + * periodic progress reports when measuring the amount of disk spaced + * used by a directory. + * + * These calls are made on a best-effort basis and not all types of + * GFile will support them. At the minimum, however, one call will + * always be made immediately. + * + * In the case that there is no support, @a reporting will be set to + * false (and the other values undefined) and no further calls will be + * made. Otherwise, the @a reporting will be true and the other values + * all-zeros during the first (immediate) call. In this way, you can + * know which type of progress UI to show without a delay. + * + * For measure_disk_usage() the callback is made directly. For + * measure_disk_usage_async() the callback is made via the + * default main context of the calling thread (ie: the same way that the + * final async result would be reported). + * + * @a current_size is in the same units as requested by the operation (see + * FILE_DISK_USAGE_APPARENT_SIZE). + * + * The frequency of the updates is implementation defined, but is + * ideally about once every 200ms. + * + * The last progress callback may or may not be equal to the final + * result. Always check the async result to get the final value. + * + * For instance, + * void on_file_measure_progress(bool reporting, guint64 current_size, guint64 num_dirs, guint64 num_files); + * + * @param reporting true if more reports will come. + * @param current_size The current cumulative size measurement. + * @param num_dirs The number of directories visited so far. + * @param num_files The number of non-directory files encountered. + * + * @newin{2,38} + */ + typedef sigc::slot SlotFileMeasureProgress; + + //We do not use the {callback} syntax with _WRAP_METHOD here, because it expects to use user_data rather than progress_data. + //We ignore the gboolean result, because we throw an exception if it is false. + /** Recursively measures the disk usage of the file. + * + * This is essentially an analog of the 'du' command, + * but it also reports the number of directories and non-directory files + * encountered (including things like symbolic links). + * + * By default, errors are only reported against the toplevel file + * itself. Errors found while recursing are silently ignored, unless + * FILE_DISK_USAGE_REPORT_ALL_ERRORS is given in @a flags. + * + * The returned size, @a disk_usage, is in bytes and should be formatted + * with g_format_size() in order to get something reasonable for showing + * in a user interface. + * + * @a slot_progress can be given to request periodic progress updates while scanning. + * See the documentation for SlotFileMeasureProgress for information about when and how the + * callback will be invoked. + * + * The operation can be cancelled by triggering the cancellable object from another thread. + * If the operation was cancelled, a Gio::Error with CANCELLED will be thrown. + * + * @param cancellable A Cancellable object which can be used to cancel the operation + * @param progress_callback A SlotFileMeasureProgress to call periodically while scanning. + * @param disk_usage The number of bytes of disk space used. + * @param num_dirs The number of directories encountered. + * @param num_files The number of non-directories encountered. + * @param flags Set of FileMeasureFlags. + */ + void measure_disk_usage(const Glib::RefPtr& cancellable, const SlotFileMeasureProgress& slot_progress, guint64& disk_usage, guint64& num_dirs, guint64& num_files, FileMeasureFlags flags = FILE_MEASURE_NONE); + _IGNORE(g_file_measure_disk_usage) + + /** Recursively measures the disk usage of the file. + * + * This is the asynchronous version of measure_disk_usage(). See + * there for more information. + * + * When the operation is finished, @a slot_ready will be called. + * You can then call measure_disk_usage_finish() to get the result of the operation. + * + * @param slot_ready A SlotAsyncReady to call when the request is satisfied + * @param cancellable A Cancellable object which can be used to cancel the operation + * @param slot_progress The callback slot to be called with progress information + * @param flags Set of FileMeasureFlags + * @param io_priority The I/O priority of the request + */ + void measure_disk_usage_async(const SlotAsyncReady& slot_ready, const Glib::RefPtr& cancellable, const SlotFileMeasureProgress& slot, FileMeasureFlags flags = FILE_MEASURE_NONE, int io_priority = Glib::PRIORITY_DEFAULT); + _IGNORE(g_file_measure_disk_usage_async) + + _WRAP_METHOD(bool measure_disk_usage_finish(const Glib::RefPtr& result, guint64& disk_usage, guint64& num_dirs, guint64& num_files), g_file_measure_disk_usage_finish, errthrow) + + + //TODO: The documentation for these start/stop/poll_mountable functions needs to be improved once we've figured out what they do and what the C documentation means. murrayc. /** Starts a file of type Mountable. diff --git a/gio/src/gio_docs.xml b/gio/src/gio_docs.xml index 0e7b84f..ecab0a4 100644 --- a/gio/src/gio_docs.xml +++ b/gio/src/gio_docs.xml @@ -1,19229 +1,4335 @@ - + -Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-gtk-GDBus-Example-ObjectManager-Animal.Poke">Poke()</link> D-Bus method. - -If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call example_animal_complete_poke() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. +Signals that a new action was just added to the group. +This signal is emitted after the action has been added +and is now visible. -Since: 2.30 +Since: 2.28 - - A #ExampleAnimal. - - - - A #GDBusMethodInvocation. - - - - Argument passed by remote caller. + + the #GActionGroup that changed - - Argument passed by remote caller. + + the name of the action in @action_group - %TRUE if the invocation was handled, %FALSE to let other signal handlers run. - - + - + -On the client-side, this signal is emitted whenever the D-Bus signal <link linkend="gdbus-signal-org-gtk-GDBus-Example-ObjectManager-Animal.Jumped">"Jumped"</link> is received. - -On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. +Signals that the enabled status of the named action has changed. -Since: 2.30 +Since: 2.28 - - A #ExampleAnimal. + + the #GActionGroup that changed + + + + the name of the action in @action_group - - Argument. + + whether the action is enabled or not - + -Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-project-Authorize.CheckAuthorized">CheckAuthorized()</link> D-Bus method. - -If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call foo_igen_authorize_complete_check_authorized() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. +Signals that an action is just about to be removed from the group. +This signal is emitted before the action is removed, so the action +is still visible and can be queried from the signal handler. +Since: 2.28 - - A #FooiGenAuthorize. + + the #GActionGroup that changed - - A #GDBusMethodInvocation. + + the name of the action in @action_group - %TRUE if the invocation was handled, %FALSE to let other signal handlers run. - + - + -Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-project-Authorize.CheckNotAuthorized">CheckNotAuthorized()</link> D-Bus method. - -If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call foo_igen_authorize_complete_check_not_authorized() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. +Signals that the state of the named action has changed. +Since: 2.28 - - A #FooiGenAuthorize. + + the #GActionGroup that changed - - A #GDBusMethodInvocation. + + the name of the action in @action_group + + + + the new value of the state - %TRUE if the invocation was handled, %FALSE to let other signal handlers run. - + - + -Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-project-Authorize.CheckNotAuthorizedFromObject">CheckNotAuthorizedFromObject()</link> D-Bus method. - -If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call foo_igen_authorize_complete_check_not_authorized_from_object() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. - +Flags used when creating a #GAppInfo. - - A #FooiGenAuthorize. + + No flags. - - A #GDBusMethodInvocation. + + Application opens in a terminal window. + + + + Application supports URI arguments. + + + + Application supports startup notification. Since 2.26 - %TRUE if the invocation was handled, %FALSE to let other signal handlers run. - - + - + -On the client-side, this signal is emitted whenever the D-Bus signal <link linkend="gdbus-signal-org-project-Bar.AnotherSignal">"AnotherSignal"</link> is received. - -On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. +The ::activate signal is emitted on the primary instance when an +activation occurs. See g_application_activate(). - - A #FooiGenBar. - - - - Argument. + + the application - + -Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-project-Bar.HelloWorld">HelloWorld()</link> D-Bus method. - -If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call foo_igen_bar_complete_hello_world() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. +The ::command-line signal is emitted on the primary instance when +a commandline is not handled locally. See g_application_run() and +the #GApplicationCommandLine documentation for more information. - - A #FooiGenBar. - - - - A #GDBusMethodInvocation. + + the application - - Argument passed by remote caller. + + a #GApplicationCommandLine representing the +passed commandline - %TRUE if the invocation was handled, %FALSE to let other signal handlers run. + An integer that is set as the exit status for the calling +process. See g_application_command_line_set_exit_status(). - + -Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-project-Bar.PropertyCancellation">PropertyCancellation()</link> D-Bus method. - -If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call foo_igen_bar_complete_property_cancellation() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. - +The ::open signal is emitted on the primary instance when there are +files to open. See g_application_open() for more information. - - A #FooiGenBar. + + the application - - A #GDBusMethodInvocation. + + an array of #GFiles + + + + the length of @files + + + + a hint provided by the calling instance - %TRUE if the invocation was handled, %FALSE to let other signal handlers run. - + - + -Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-project-Bar.RequestMultiPropertyMods">RequestMultiPropertyMods()</link> D-Bus method. - -If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call foo_igen_bar_complete_request_multi_property_mods() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. - +The ::shutdown signal is emitted only on the registered primary instance +immediately after the main loop terminates. - - A #FooiGenBar. - - - - A #GDBusMethodInvocation. + + the application - %TRUE if the invocation was handled, %FALSE to let other signal handlers run. - + - + -Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-project-Bar.RequestSignalEmission">RequestSignalEmission()</link> D-Bus method. - -If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call foo_igen_bar_complete_request_signal_emission() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. - +The ::startup signal is emitted on the primary instance immediately +after registration. See g_application_register(). - - A #FooiGenBar. - - - - A #GDBusMethodInvocation. - - - - Argument passed by remote caller. + + the application - %TRUE if the invocation was handled, %FALSE to let other signal handlers run. - + - + -Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-project-Bar.TestNonPrimitiveTypes">TestNonPrimitiveTypes()</link> D-Bus method. - -If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call foo_igen_bar_complete_test_non_primitive_types() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. +Flags used to define the behaviour of a #GApplication. +Since: 2.28 - - A #FooiGenBar. - - - - A #GDBusMethodInvocation. - - - - Argument passed by remote caller. + + Default - - Argument passed by remote caller. + + Run as a service. In this mode, registration +fails if the service is already running, and the application +will initially wait up to 10 seconds for an initial activation +message to arrive. - - Argument passed by remote caller. + + Don't try to become the primary instance. - - Argument passed by remote caller. + + This application handles opening files (in +the primary instance). Note that this flag only affects the default +implementation of local_command_line(), and has no effect if +%G_APPLICATION_HANDLES_COMMAND_LINE is given. +See g_application_run() for details. - - Argument passed by remote caller. + + This application handles command line +arguments (in the primary instance). Note that this flag only affect +the default implementation of local_command_line(). +See g_application_run() for details. - - Argument passed by remote caller. + + Send the environment of the +launching process to the primary instance. Set this flag if your +application is expected to behave differently depending on certain +environment variables. For instance, an editor might be expected +to use the <envar>GIT_COMMITTER_NAME</envar> environment variable +when editing a git commit message. The environment is available +to the #GApplication::command-line signal handler, via +g_application_command_line_getenv(). - - Argument passed by remote caller. + + Make no attempts to do any of the typical +single-instance application negotiation, even if the application +ID is given. The application neither attempts to become the +owner of the application ID nor does it check if an existing +owner already exists. Everything occurs in the local process. +Since: 2.30. - %TRUE if the invocation was handled, %FALSE to let other signal handlers run. - - + - + -Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-project-Bar.TestPrimitiveTypes">TestPrimitiveTypes()</link> D-Bus method. - -If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call foo_igen_bar_complete_test_primitive_types() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. - +#GAskPasswordFlags are used to request specific information from the +user, or to notify the user of their choices in an authentication +situation. - - A #FooiGenBar. - - - - A #GDBusMethodInvocation. - - - - Argument passed by remote caller. - - - - Argument passed by remote caller. - - - - Argument passed by remote caller. - - - - Argument passed by remote caller. - - - - Argument passed by remote caller. - - - - Argument passed by remote caller. + + operation requires a password. - - Argument passed by remote caller. + + operation requires a username. - - Argument passed by remote caller. + + operation requires a domain. - - Argument passed by remote caller. + + operation supports saving settings. - - Argument passed by remote caller. + + operation supports anonymous users. - - Argument passed by remote caller. + + + + + +Flags used in g_bus_own_name(). + +Since: 2.26 + + + + + No flags set. - - Argument passed by remote caller. + + Allow another message bus connection to claim the name. - - Argument passed by remote caller. + + If another message bus connection owns the name and have +specified #G_BUS_NAME_OWNER_FLAGS_ALLOW_REPLACEMENT, then take the name from the other connection. - %TRUE if the invocation was handled, %FALSE to let other signal handlers run. - - + - + -Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-project-Bar.UnimplementedMethod">UnimplementedMethod()</link> D-Bus method. - -If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call foo_igen_bar_complete_unimplemented_method() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. +Flags used in g_bus_watch_name(). +Since: 2.26 - - A #FooiGenBar. + + No flags set. - - A #GDBusMethodInvocation. + + If no-one owns the name when +beginning to watch the name, ask the bus to launch an owner for the +name. - %TRUE if the invocation was handled, %FALSE to let other signal handlers run. - - + - + -On the client-side, this signal is emitted whenever the D-Bus signal <link linkend="gdbus-signal-org-project-Bar.TestSignal">"TestSignal"</link> is received. +An enumeration for well-known message buses. -On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. +Since: 2.26 - - A #FooiGenBar. - - - - Argument. + + An alias for the message bus that activated the process, if any. - - Argument. + + Not a message bus. - - Argument. + + The system-wide message bus. - - Argument. + + The login session message bus. - - + - + -Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-project-Bar-Frobnicator.RandomMethod">RandomMethod()</link> D-Bus method. +Emitted when the operation has been cancelled. + +Can be used by implementations of cancellable operations. If the +operation is cancelled from another thread, the signal will be +emitted in the thread that cancelled the operation, not the +thread that is running the operation. + +Note that disconnecting from this signal (or any signal) in a +multi-threaded program is prone to race conditions. For instance +it is possible that a signal handler may be invoked even +<emphasis>after</emphasis> a call to +g_signal_handler_disconnect() for that handler has already +returned. + +There is also a problem when cancellation happen +right before connecting to the signal. If this happens the +signal will unexpectedly not be emitted, and checking before +connecting to the signal leaves a race condition where this is +still happening. + +In order to make it safe and easy to connect handlers there +are two helper functions: g_cancellable_connect() and +g_cancellable_disconnect() which protect against problems +like this. + +An example of how to us this: +|[ +/<!-- -->* Make sure we don't do any unnecessary work if already cancelled *<!-- -->/ +if (g_cancellable_set_error_if_cancelled (cancellable)) +return; + +/<!-- -->* Set up all the data needed to be able to +* handle cancellation of the operation *<!-- -->/ +my_data = my_data_new (...); + +id = 0; +if (cancellable) +id = g_cancellable_connect (cancellable, +G_CALLBACK (cancelled_handler) +data, NULL); + +/<!-- -->* cancellable operation here... *<!-- -->/ + +g_cancellable_disconnect (cancellable, id); -If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call foo_igen_bar_frobnicator_complete_random_method() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. +/<!-- -->* cancelled_handler is never called after this, it +* is now safe to free the data *<!-- -->/ +my_data_free (my_data); +]| +Note that the cancelled signal is emitted in the thread that +the user cancelled from, which may be the main thread. So, the +cancellable signal should not do something that can block. - - A #FooiGenBarFrobnicator. - - - - A #GDBusMethodInvocation. + + a #GCancellable. - %TRUE if the invocation was handled, %FALSE to let other signal handlers run. - + - + -On the client-side, this signal is emitted whenever the D-Bus signal <link linkend="gdbus-signal-org-project-Bat.ForceSignal">"ForceSignal"</link> is received. +Flags used when calling a g_converter_convert(). -On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. +Since: 2.24 - - A #FooiGenBat. - - - - Argument. - - - - Argument. + + No flags. - - Argument. + + At end of input data - - Argument. + + Flush data - - + - + -Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-project-Bat.ForceMethod">ForceMethod()</link> D-Bus method. - -If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call foo_igen_bat_complete_force_method() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. +Results returned from g_converter_convert(). +Since: 2.24 - - A #FooiGenBat. - - - - A #GDBusMethodInvocation. - - - - Argument passed by remote caller. + + There was an error during conversion. - - Argument passed by remote caller. + + Some data was consumed or produced - - Argument passed by remote caller. + + The conversion is finished - - Argument passed by remote caller. + + Flushing is finished - %TRUE if the invocation was handled, %FALSE to let other signal handlers run. - - + - + -On the client-side, this signal is emitted whenever the D-Bus signal <link linkend="gdbus-signal-ChangingInterfaceV10.AddedSignalIn10">"AddedSignalIn10"</link> is received. - -On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. +Enumeration describing different kinds of native credential types. -Since: 10.0 +Since: 2.26 - - A #FooiGenChangingInterfaceV10. + + Indicates an invalid native credential type. - - - - - - -On the client-side, this signal is emitted whenever the D-Bus signal <link linkend="gdbus-signal-ChangingInterfaceV10.BarSignal">"BarSignal"</link> is received. - -On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. - - - - - A #FooiGenChangingInterfaceV10. + + The native credentials type is a <type>struct ucred</type>. - - - - - - -On the client-side, this signal is emitted whenever the D-Bus signal <link linkend="gdbus-signal-ChangingInterfaceV10.BazSignal">"BazSignal"</link> is received. - -On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. - - - - - A #FooiGenChangingInterfaceV10. + + The native credentials type is a <type>struct cmsgcred</type>. - - - - - - -On the client-side, this signal is emitted whenever the D-Bus signal <link linkend="gdbus-signal-ChangingInterfaceV10.FooSignal">"FooSignal"</link> is received. - -On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. - - - - - A #FooiGenChangingInterfaceV10. + + The native credentials type is a <type>struct sockpeercred</type>. Added in 2.30. - - + - + -Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-ChangingInterfaceV10.AddedMethodIn10">AddedMethodIn10()</link> D-Bus method. - -If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call foo_igen_changing_interface_v10_complete_added_method_in10() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. +Emitted to check if @mechanism is allowed to be used. -Since: 10.0 +Since: 2.34 - - A #FooiGenChangingInterfaceV10. + + The #GDBusAuthObserver emitting the signal. - - A #GDBusMethodInvocation. + + The name of the mechanism, e.g. <literal>DBUS_COOKIE_SHA1</literal>. - %TRUE if the invocation was handled, %FALSE to let other signal handlers run. + %TRUE if @mechanism can be used to authenticate the other peer, %FALSE if not. - + -Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-ChangingInterfaceV10.BarMethod">BarMethod()</link> D-Bus method. - -If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call foo_igen_changing_interface_v10_complete_bar_method() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. +Emitted to check if a peer that is successfully authenticated +is authorized. +Since: 2.26 - - A #FooiGenChangingInterfaceV10. + + The #GDBusAuthObserver emitting the signal. - - A #GDBusMethodInvocation. + + A #GIOStream for the #GDBusConnection. + + + + Credentials received from the peer or %NULL. - %TRUE if the invocation was handled, %FALSE to let other signal handlers run. + %TRUE if the peer is authorized, %FALSE if not. + - + -Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-ChangingInterfaceV10.BazMethod">BazMethod()</link> D-Bus method. - -If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call foo_igen_changing_interface_v10_complete_baz_method() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. +Flags used in g_dbus_connection_call() and similar APIs. +Since: 2.26 - - A #FooiGenChangingInterfaceV10. + + No flags set. - - A #GDBusMethodInvocation. + + The bus must not launch +an owner for the destination name in response to this method +invocation. - %TRUE if the invocation was handled, %FALSE to let other signal handlers run. - - + - + -Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-ChangingInterfaceV10.FooMethod">FooMethod()</link> D-Bus method. - -If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call foo_igen_changing_interface_v10_complete_foo_method() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. +Capabilities negotiated with the remote peer. +Since: 2.26 - - A #FooiGenChangingInterfaceV10. + + No flags set. - - A #GDBusMethodInvocation. + + The connection +supports exchanging UNIX file descriptors with the remote peer. - %TRUE if the invocation was handled, %FALSE to let other signal handlers run. - - + - + -Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-ChangingInterfaceV10.NewMethodIn2">NewMethodIn2()</link> D-Bus method. - -If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call foo_igen_changing_interface_v10_complete_new_method_in2() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. - -Since: 2.0 - - - - - A #FooiGenChangingInterfaceV10. - - - - A #GDBusMethodInvocation. - - - - %TRUE if the invocation was handled, %FALSE to let other signal handlers run. - - - - - - -On the client-side, this signal is emitted whenever the D-Bus signal <link linkend="gdbus-signal-ChangingInterfaceV10.NewSignalIn2">"NewSignalIn2"</link> is received. - -On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. - -Since: 2.0 - - - - - A #FooiGenChangingInterfaceV10. - - - - - - - - -On the client-side, this signal is emitted whenever the D-Bus signal <link linkend="gdbus-signal-ChangingInterfaceV1.BarSignal">"BarSignal"</link> is received. - -On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. - - - - - A #FooiGenChangingInterfaceV1. - - - - - - - - -On the client-side, this signal is emitted whenever the D-Bus signal <link linkend="gdbus-signal-ChangingInterfaceV1.BazSignal">"BazSignal"</link> is received. - -On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. - - - - - A #FooiGenChangingInterfaceV1. - - - - - - - - -On the client-side, this signal is emitted whenever the D-Bus signal <link linkend="gdbus-signal-ChangingInterfaceV1.FooSignal">"FooSignal"</link> is received. - -On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. - - - - - A #FooiGenChangingInterfaceV1. - - - - - - - - -Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-ChangingInterfaceV1.BarMethod">BarMethod()</link> D-Bus method. - -If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call foo_igen_changing_interface_v1_complete_bar_method() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. - - - - - - A #FooiGenChangingInterfaceV1. - - - - A #GDBusMethodInvocation. - - - - %TRUE if the invocation was handled, %FALSE to let other signal handlers run. - - - - - -Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-ChangingInterfaceV1.BazMethod">BazMethod()</link> D-Bus method. - -If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call foo_igen_changing_interface_v1_complete_baz_method() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. - - - - - - A #FooiGenChangingInterfaceV1. - - - - A #GDBusMethodInvocation. - - - - %TRUE if the invocation was handled, %FALSE to let other signal handlers run. - - - - - -Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-ChangingInterfaceV1.FooMethod">FooMethod()</link> D-Bus method. - -If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call foo_igen_changing_interface_v1_complete_foo_method() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. - - - - - - A #FooiGenChangingInterfaceV1. - - - - A #GDBusMethodInvocation. - - - - %TRUE if the invocation was handled, %FALSE to let other signal handlers run. - - - - - -On the client-side, this signal is emitted whenever the D-Bus signal <link linkend="gdbus-signal-ChangingInterfaceV2.BarSignal">"BarSignal"</link> is received. - -On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. - - - - - A #FooiGenChangingInterfaceV2. - - - - - - - - -On the client-side, this signal is emitted whenever the D-Bus signal <link linkend="gdbus-signal-ChangingInterfaceV2.BazSignal">"BazSignal"</link> is received. - -On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. - - - - - A #FooiGenChangingInterfaceV2. - - - - - - - - -On the client-side, this signal is emitted whenever the D-Bus signal <link linkend="gdbus-signal-ChangingInterfaceV2.FooSignal">"FooSignal"</link> is received. - -On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. - - - - - A #FooiGenChangingInterfaceV2. - - - - - - - - -Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-ChangingInterfaceV2.BarMethod">BarMethod()</link> D-Bus method. - -If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call foo_igen_changing_interface_v2_complete_bar_method() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. - - - - - - A #FooiGenChangingInterfaceV2. - - - - A #GDBusMethodInvocation. - - - - %TRUE if the invocation was handled, %FALSE to let other signal handlers run. - - - - - -Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-ChangingInterfaceV2.BazMethod">BazMethod()</link> D-Bus method. - -If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call foo_igen_changing_interface_v2_complete_baz_method() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. - - - - - - A #FooiGenChangingInterfaceV2. - - - - A #GDBusMethodInvocation. - - - - %TRUE if the invocation was handled, %FALSE to let other signal handlers run. - - - - - -Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-ChangingInterfaceV2.FooMethod">FooMethod()</link> D-Bus method. - -If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call foo_igen_changing_interface_v2_complete_foo_method() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. - - - - - - A #FooiGenChangingInterfaceV2. - - - - A #GDBusMethodInvocation. - - - - %TRUE if the invocation was handled, %FALSE to let other signal handlers run. - - - - - -Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-ChangingInterfaceV2.NewMethodIn2">NewMethodIn2()</link> D-Bus method. - -If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call foo_igen_changing_interface_v2_complete_new_method_in2() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. - -Since: 2.0 - - - - - A #FooiGenChangingInterfaceV2. - - - - A #GDBusMethodInvocation. - - - - %TRUE if the invocation was handled, %FALSE to let other signal handlers run. - - - - - - -On the client-side, this signal is emitted whenever the D-Bus signal <link linkend="gdbus-signal-ChangingInterfaceV2.NewSignalIn2">"NewSignalIn2"</link> is received. - -On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. - -Since: 2.0 - - - - - A #FooiGenChangingInterfaceV2. - - - - - - - - -Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-com-acme-Coyote.Attack">Attack()</link> D-Bus method. - -If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call foo_igen_com_acme_coyote_complete_attack() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. - - - - - - A #FooiGenComAcmeCoyote. - - - - A #GDBusMethodInvocation. - - - - %TRUE if the invocation was handled, %FALSE to let other signal handlers run. - - - - - -Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-com-acme-Coyote.Run">Run()</link> D-Bus method. - -If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call foo_igen_com_acme_coyote_complete_run() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. - - - - - - A #FooiGenComAcmeCoyote. - - - - A #GDBusMethodInvocation. - - - - %TRUE if the invocation was handled, %FALSE to let other signal handlers run. - - - - - -Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-com-acme-Coyote.Sleep">Sleep()</link> D-Bus method. - -If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call foo_igen_com_acme_coyote_complete_sleep() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. - - - - - - A #FooiGenComAcmeCoyote. - - - - A #GDBusMethodInvocation. - - - - %TRUE if the invocation was handled, %FALSE to let other signal handlers run. - - - - - -On the client-side, this signal is emitted whenever the D-Bus signal <link linkend="gdbus-signal-com-acme-Coyote.Surprised">"Surprised"</link> is received. - -On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. - - - - - A #FooiGenComAcmeCoyote. - - - - - - - - -Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-FDPassing.HelloFD">HelloFD()</link> D-Bus method. - -If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call foo_igen_fdpassing_complete_hello_fd() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. - - - - - - A #FooiGenFDPassing. - - - - A #GDBusMethodInvocation. - - - - A #GUnixFDList or %NULL. - - - - Argument passed by remote caller. - - - - %TRUE if the invocation was handled, %FALSE to let other signal handlers run. - - - - - -On the client-side, this signal is emitted whenever the D-Bus signal <link linkend="gdbus-signal-org-project-InlineDocs.BarSignal">"BarSignal"</link> is received. - -On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. - - - - - A #FooiGenInlineDocs. - - - - Argument. - - - - Argument. - - - - - - - - -Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-project-InlineDocs.FooMethod">FooMethod()</link> D-Bus method. - -If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call foo_igen_inline_docs_complete_foo_method() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. - - - - - - A #FooiGenInlineDocs. - - - - A #GDBusMethodInvocation. - - - - Argument passed by remote caller. - - - - %TRUE if the invocation was handled, %FALSE to let other signal handlers run. - - - - - -Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-project-InlineDocs.Method2">Method2()</link> D-Bus method. - -If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call foo_igen_inline_docs_complete_method2() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. - - - - - - A #FooiGenInlineDocs. - - - - A #GDBusMethodInvocation. - - - - Argument passed by remote caller. - - - - %TRUE if the invocation was handled, %FALSE to let other signal handlers run. - - - - - -Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-project-MethodThreads.GetSelf">GetSelf()</link> D-Bus method. - -If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call foo_igen_method_threads_complete_get_self() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. - - - - - - A #FooiGenMethodThreads. - - - - A #GDBusMethodInvocation. - - - - %TRUE if the invocation was handled, %FALSE to let other signal handlers run. - - - - - -On the client-side, this signal is emitted whenever the D-Bus signal <link linkend="gdbus-signal-OldieInterface.Bar">"Bar"</link> is received. - -On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. - -Deprecated: The D-Bus signal has been deprecated. - - - - - A #FooiGenOldieInterface. - - - - - - - - -Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-OldieInterface.Foo">Foo()</link> D-Bus method. - -If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call foo_igen_oldie_interface_complete_foo() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. - -Deprecated: The D-Bus method has been deprecated. - - - - - A #FooiGenOldieInterface. - - - - A #GDBusMethodInvocation. - - - - %TRUE if the invocation was handled, %FALSE to let other signal handlers run. - - - - - - -On the client-side, this signal is emitted whenever the D-Bus signal <link linkend="gdbus-signal-com-acme-Rocket.Exploded">"Exploded"</link> is received. - -On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. - - - - - A #FooiGenRocket123. - - - - - - - - -Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-com-acme-Rocket.Ignite">Ignite()</link> D-Bus method. - -If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call foo_igen_rocket123_complete_ignite_xyz() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. - - - - - - A #FooiGenRocket123. - - - - A #GDBusMethodInvocation. - - - - %TRUE if the invocation was handled, %FALSE to let other signal handlers run. - - - - - -Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-TestUglyCaseInterface.GetiSCSIServers">GetiSCSIServers()</link> D-Bus method. - -If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call foo_igen_test_ugly_case_interface_complete_get_iscsi_servers() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. - - - - - - A #FooiGenTesTuglyCASEInterface. - - - - A #GDBusMethodInvocation. - - - - %TRUE if the invocation was handled, %FALSE to let other signal handlers run. - - - - - -On the client-side, this signal is emitted whenever the D-Bus signal <link linkend="gdbus-signal-TestUglyCaseInterface.serversUPDATEDNOW">"serversUPDATEDNOW"</link> is received. - -On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. - - - - - A #FooiGenTesTuglyCASEInterface. - - - - - - - - -Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-UnknownXmlTags.CanSetTimezone">CanSetTimezone()</link> D-Bus method. - -If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call foo_igen_unknown_xml_tags_complete_can_set_timezone() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. - - - - - - A #FooiGenUnknownXmlTags. - - - - A #GDBusMethodInvocation. - - - - %TRUE if the invocation was handled, %FALSE to let other signal handlers run. - - - - - -On the client-side, this signal is emitted whenever the D-Bus signal <link linkend="gdbus-signal-UnknownXmlTags.SomeSignal">"SomeSignal"</link> is received. - -On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. - - - - - A #FooiGenUnknownXmlTags. - - - - - - - - -Signals that a new action was just added to the group. -This signal is emitted after the action has been added -and is now visible. - -Since: 2.28 - - - - - the #GActionGroup that changed - - - - the name of the action in @action_group - - - - - - - - -Signals that the enabled status of the named action has changed. - -Since: 2.28 - - - - - the #GActionGroup that changed - - - - the name of the action in @action_group - - - - whether the action is enabled or not - - - - - - - - -Signals that an action is just about to be removed from the group. -This signal is emitted before the action is removed, so the action -is still visible and can be queried from the signal handler. - -Since: 2.28 - - - - - the #GActionGroup that changed - - - - the name of the action in @action_group - - - - - - - - -Signals that the state of the named action has changed. - -Since: 2.28 - - - - - the #GActionGroup that changed - - - - the name of the action in @action_group - - - - the new value of the state - - - - - - - - -Flags used when creating a #GAppInfo. - - - - - No flags. - - - - Application opens in a terminal window. - - - - Application supports URI arguments. - - - - Application supports startup notification. Since 2.26 - - - - - - - -The ::activate signal is emitted on the primary instance when an -activation occurs. See g_application_activate(). - - - - - the application - - - - - - - - -The ::command-line signal is emitted on the primary instance when -a commandline is not handled locally. See g_application_run() and -the #GApplicationCommandLine documentation for more information. - - - - - - the application - - - - a #GApplicationCommandLine representing the -passed commandline - - - - An integer that is set as the exit status for the calling -process. See g_application_command_line_set_exit_status(). - - - - - -The ::open signal is emitted on the primary instance when there are -files to open. See g_application_open() for more information. - - - - - the application - - - - an array of #GFiles - - - - the length of @files - - - - a hint provided by the calling instance - - - - - - - - -The ::shutdown signal is emitted only on the registered primary instance -immediately after the main loop terminates. - - - - - the application - - - - - - - - -The ::startup signal is emitted on the primary instance immediately -after registration. See g_application_register(). - - - - - the application - - - - - - - - -Flags used to define the behaviour of a #GApplication. - -Since: 2.28 - - - - - Default - - - - Run as a service. In this mode, registration -fails if the service is already running, and the application -will initially wait up to 10 seconds for an initial activation -message to arrive. - - - - Don't try to become the primary instance. - - - - This application handles opening files (in -the primary instance). Note that this flag only affects the default -implementation of local_command_line(), and has no effect if -%G_APPLICATION_HANDLES_COMMAND_LINE is given. -See g_application_run() for details. - - - - This application handles command line -arguments (in the primary instance). Note that this flag only affect -the default implementation of local_command_line(). -See g_application_run() for details. - - - - Send the environment of the -launching process to the primary instance. Set this flag if your -application is expected to behave differently depending on certain -environment variables. For instance, an editor might be expected -to use the <envar>GIT_COMMITTER_NAME</envar> environment variable -when editing a git commit message. The environment is available -to the #GApplication::command-line signal handler, via -g_application_command_line_getenv(). - - - - Make no attempts to do any of the typical -single-instance application negotiation, even if the application -ID is given. The application neither attempts to become the -owner of the application ID nor does it check if an existing -owner already exists. Everything occurs in the local process. -Since: 2.30. - - - - - - - -#GAskPasswordFlags are used to request specific information from the -user, or to notify the user of their choices in an authentication -situation. - - - - - operation requires a password. - - - - operation requires a username. - - - - operation requires a domain. - - - - operation supports saving settings. - - - - operation supports anonymous users. - - - - - - - -Flags used in g_bus_own_name(). - -Since: 2.26 - - - - - No flags set. - - - - Allow another message bus connection to claim the name. - - - - If another message bus connection owns the name and have -specified #G_BUS_NAME_OWNER_FLAGS_ALLOW_REPLACEMENT, then take the name from the other connection. - - - - - - - -Flags used in g_bus_watch_name(). - -Since: 2.26 - - - - - No flags set. - - - - If no-one owns the name when -beginning to watch the name, ask the bus to launch an owner for the -name. - - - - - - - -An enumeration for well-known message buses. - -Since: 2.26 - - - - - An alias for the message bus that activated the process, if any. - - - - Not a message bus. - - - - The system-wide message bus. - - - - The login session message bus. - - - - - - - -Emitted when the operation has been cancelled. - -Can be used by implementations of cancellable operations. If the -operation is cancelled from another thread, the signal will be -emitted in the thread that cancelled the operation, not the -thread that is running the operation. - -Note that disconnecting from this signal (or any signal) in a -multi-threaded program is prone to race conditions. For instance -it is possible that a signal handler may be invoked even -<emphasis>after</emphasis> a call to -g_signal_handler_disconnect() for that handler has already -returned. - -There is also a problem when cancellation happen -right before connecting to the signal. If this happens the -signal will unexpectedly not be emitted, and checking before -connecting to the signal leaves a race condition where this is -still happening. - -In order to make it safe and easy to connect handlers there -are two helper functions: g_cancellable_connect() and -g_cancellable_disconnect() which protect against problems -like this. - -An example of how to us this: -|[ -/<!-- -->* Make sure we don't do any unnecessary work if already cancelled *<!-- -->/ -if (g_cancellable_set_error_if_cancelled (cancellable)) -return; - -/<!-- -->* Set up all the data needed to be able to -* handle cancellation of the operation *<!-- -->/ -my_data = my_data_new (...); - -id = 0; -if (cancellable) -id = g_cancellable_connect (cancellable, -G_CALLBACK (cancelled_handler) -data, NULL); - -/<!-- -->* cancellable operation here... *<!-- -->/ - -g_cancellable_disconnect (cancellable, id); - -/<!-- -->* cancelled_handler is never called after this, it -* is now safe to free the data *<!-- -->/ -my_data_free (my_data); -]| - -Note that the cancelled signal is emitted in the thread that -the user cancelled from, which may be the main thread. So, the -cancellable signal should not do something that can block. - - - - - a #GCancellable. - - - - - - - - -Flags used when calling a g_converter_convert(). - -Since: 2.24 - - - - - No flags. - - - - At end of input data - - - - Flush data - - - - - - - -Results returned from g_converter_convert(). - -Since: 2.24 - - - - - There was an error during conversion. - - - - Some data was consumed or produced - - - - The conversion is finished - - - - Flushing is finished - - - - - - - -Enumeration describing different kinds of native credential types. - -Since: 2.26 - - - - - Indicates an invalid native credential type. - - - - The native credentials type is a <type>struct ucred</type>. - - - - The native credentials type is a <type>struct cmsgcred</type>. - - - - The native credentials type is a <type>struct sockpeercred</type>. Added in 2.30. - - - - - - - -Emitted to check if @mechanism is allowed to be used. - -Since: 2.34 - - - - - The #GDBusAuthObserver emitting the signal. - - - - The name of the mechanism, e.g. <literal>DBUS_COOKIE_SHA1</literal>. - - - - %TRUE if @mechanism can be used to authenticate the other peer, %FALSE if not. - - - - - - -Emitted to check if a peer that is successfully authenticated -is authorized. - -Since: 2.26 - - - - - The #GDBusAuthObserver emitting the signal. - - - - A #GIOStream for the #GDBusConnection. - - - - Credentials received from the peer or %NULL. - - - - %TRUE if the peer is authorized, %FALSE if not. - - - - - - -Flags used in g_dbus_connection_call() and similar APIs. - -Since: 2.26 - - - - - No flags set. - - - - The bus must not launch -an owner for the destination name in response to this method -invocation. - - - - - - - -Capabilities negotiated with the remote peer. - -Since: 2.26 - - - - - No flags set. - - - - The connection -supports exchanging UNIX file descriptors with the remote peer. - - - - - - - -Emitted when the connection is closed. - -The cause of this event can be -<itemizedlist> -<listitem><para> -If g_dbus_connection_close() is called. In this case -@remote_peer_vanished is set to %FALSE and @error is %NULL. -</para></listitem> -<listitem><para> -If the remote peer closes the connection. In this case -@remote_peer_vanished is set to %TRUE and @error is set. -</para></listitem> -<listitem><para> -If the remote peer sends invalid or malformed data. In this -case @remote_peer_vanished is set to %FALSE and @error -is set. -</para></listitem> -</itemizedlist> - -Upon receiving this signal, you should give up your reference to -@connection. You are guaranteed that this signal is emitted only -once. - -Since: 2.26 - - - - - The #GDBusConnection emitting the signal. - - - - %TRUE if @connection is closed because the -remote peer closed its end of the connection. - - - - A #GError with more details about the event or %NULL. - - - - - - - - -Flags used when creating a new #GDBusConnection. - -Since: 2.26 - - - - - No flags set. - - - - Perform authentication against server. - - - - Perform authentication against client. - - - - When -authenticating as a server, allow the anonymous authentication -method. - - - - Pass this flag if connecting to a peer that is a -message bus. This means that the Hello() method will be invoked as part of the connection setup. - - - - If set, processing of D-Bus messages is -delayed until g_dbus_connection_start_message_processing() is called. - - - - - - - -Error codes for the %G_DBUS_ERROR error domain. - -Since: 2.26 - - - - - -A generic error; "something went wrong" - see the error message for -more. - - - - -There was not enough memory to complete an operation. - - - - -The bus doesn't know how to launch a service to supply the bus name -you wanted. - - - - -The bus name you referenced doesn't exist (i.e. no application owns -it). - - - - -No reply to a message expecting one, usually means a timeout occurred. - - - - -Something went wrong reading or writing to a socket, for example. - - - - -A D-Bus bus address was malformed. - - - - -Requested operation isn't supported (like ENOSYS on UNIX). - - - - -Some limited resource is exhausted. - - - - -Security restrictions don't allow doing what you're trying to do. - - - - -Authentication didn't work. - - - - -Unable to connect to server (probably caused by ECONNREFUSED on a -socket). - - - - -Certain timeout errors, possibly ETIMEDOUT on a socket. Note that -%G_DBUS_ERROR_NO_REPLY is used for message reply timeouts. Warning: -this is confusingly-named given that %G_DBUS_ERROR_TIMED_OUT also -exists. We can't fix it for compatibility reasons so just be -careful. - - - - -No network access (probably ENETUNREACH on a socket). - - - - -Can't bind a socket since its address is in use (i.e. EADDRINUSE). - - - - -The connection is disconnected and you're trying to use it. - - - - -Invalid arguments passed to a method call. - - - - -Missing file. - - - - -Existing file and the operation you're using does not silently overwrite. - - - - -Method name you invoked isn't known by the object you invoked it on. - - - - -Certain timeout errors, e.g. while starting a service. Warning: this is -confusingly-named given that %G_DBUS_ERROR_TIMEOUT also exists. We -can't fix it for compatibility reasons so just be careful. - - - - -Tried to remove or modify a match rule that didn't exist. - - - - -The match rule isn't syntactically valid. - - - - -While starting a new process, the exec() call failed. - - - - -While starting a new process, the fork() call failed. - - - - -While starting a new process, the child exited with a status code. - - - - -While starting a new process, the child exited on a signal. - - - - -While starting a new process, something went wrong. - - - - -We failed to setup the environment correctly. - - - - -We failed to setup the config parser correctly. - - - - -Bus name was not valid. - - - - -Service file not found in system-services directory. - - - - -Permissions are incorrect on the setuid helper. - - - - -Service file invalid (Name, User or Exec missing). - - - - -Tried to get a UNIX process ID and it wasn't available. - - - - -Tried to get a UNIX process ID and it wasn't available. - - - - -A type signature is not valid. - - - - -A file contains invalid syntax or is otherwise broken. - - - - -Asked for SELinux security context and it wasn't available. - - - - -Asked for ADT audit data and it wasn't available. - - - - -There's already an object with the requested object path. - - - - - - - -Emitted when a method is invoked by a remote caller and used to -determine if the method call is authorized. - -Note that this signal is emitted in a thread dedicated to -handling the method call so handlers are allowed to perform -blocking IO. This means that it is appropriate to call -e.g. <ulink -url="http://hal.freedesktop.org/docs/polkit/PolkitAuthority.html#polkit-authority-check-authorization-sync">polkit_authority_check_authorization_sync()</ulink> -with the <ulink -url="http://hal.freedesktop.org/docs/polkit/PolkitAuthority.html#POLKIT-CHECK-AUTHORIZATION-FLAGS-ALLOW-USER-INTERACTION:CAPS">POLKIT_CHECK_AUTHORIZATION_FLAGS_ALLOW_USER_INTERACTION</ulink> flag set. - -If %FALSE is returned then no further handlers are run and the -signal handler must take a reference to @invocation and finish -handling the call (e.g. return an error via -g_dbus_method_invocation_return_error()). - -Otherwise, if %TRUE is returned, signal emission continues. If no -handlers return %FALSE, then the method is dispatched. If -@interface has an enclosing #GDBusObjectSkeleton, then the -#GDBusObjectSkeleton::authorize-method signal handlers run before -the handlers for this signal. - -The default class handler just returns %TRUE. - -Please note that the common case is optimized: if no signals -handlers are connected and the default class handler isn't -overridden (for both @interface and the enclosing -#GDBusObjectSkeleton, if any) and #GDBusInterfaceSkeleton:g-flags does -not have the -%G_DBUS_INTERFACE_SKELETON_FLAGS_HANDLE_METHOD_INVOCATIONS_IN_THREAD -flags set, no dedicated thread is ever used and the call will be -handled in the same thread as the object that @interface belongs -to was exported in. - -Since: 2.30 - - - - - The #GDBusInterfaceSkeleton emitting the signal. - - - - A #GDBusMethodInvocation. - - - - %TRUE if the call is authorized, %FALSE otherwise. - - - - - - -Flags describing the behavior of a #GDBusInterfaceSkeleton instance. - -Since: 2.30 - - - - - No flags set. - - - - Each method invocation is handled in -a thread dedicated to the invocation. This means that the method implementation can use blocking IO -without blocking any other part of the process. It also means that the method implementation must -use locking to access data structures used by other threads. - - - - - - - -Enumeration used to describe the byte order of a D-Bus message. - -Since: 2.26 - - - - - The byte order is big endian. - - - - The byte order is little endian. - - - - - - - -Message flags used in #GDBusMessage. - -Since: 2.26 - - - - - No flags set. - - - - A reply is not expected. - - - - The bus must not launch an -owner for the destination name in response to this message. - - - - - - - -Header fields used in #GDBusMessage. - -Since: 2.26 - - - - - Not a valid header field. - - - - The object path. - - - - The interface name. - - - - The method or signal name. - - - - The name of the error that occurred. - - - - The serial number the message is a reply to. - - - - The name the message is intended for. - - - - Unique name of the sender of the message (filled in by the bus). - - - - The signature of the message body. - - - - The number of UNIX file descriptors that accompany the message. - - - - - - - -Message types used in #GDBusMessage. - -Since: 2.26 - - - - - Message is of invalid type. - - - - Method call. - - - - Method reply. - - - - Error reply. - - - - Signal emission. - - - - - - - -Emitted when @interface is added to @object. - -Since: 2.30 - - - - - The #GDBusObject emitting the signal. - - - - The #GDBusInterface that was added. - - - - - - - - -Emitted when @interface is removed from @object. - -Since: 2.30 - - - - - The #GDBusObject emitting the signal. - - - - The #GDBusInterface that was removed. - - - - - - - - -Emitted when @interface is added to @object. - -This signal exists purely as a convenience to avoid having to -connect signals to all objects managed by @manager. - -Since: 2.30 - - - - - The #GDBusObjectManager emitting the signal. - - - - The #GDBusObject on which an interface was added. - - - - The #GDBusInterface that was added. - - - - - - - - -Emitted when @interface has been removed from @object. - -This signal exists purely as a convenience to avoid having to -connect signals to all objects managed by @manager. - -Since: 2.30 - - - - - The #GDBusObjectManager emitting the signal. - - - - The #GDBusObject on which an interface was removed. - - - - The #GDBusInterface that was removed. - - - - - - - - -Emitted when @object is added to @manager. - -Since: 2.30 - - - - - The #GDBusObjectManager emitting the signal. - - - - The #GDBusObject that was added. - - - - - - - - -Emitted when @object is removed from @manager. - -Since: 2.30 - - - - - The #GDBusObjectManager emitting the signal. - - - - The #GDBusObject that was removed. - - - - - - - - -Emitted when one or more D-Bus properties on proxy changes. The -local cache has already been updated when this signal fires. Note -that both @changed_properties and @invalidated_properties are -guaranteed to never be %NULL (either may be empty though). - -This signal exists purely as a convenience to avoid having to -connect signals to all interface proxies managed by @manager. - -This signal is emitted in the -<link linkend="g-main-context-push-thread-default">thread-default main loop</link> -that @manager was constructed in. - -Since: 2.30 - - - - - The #GDBusObjectManagerClient emitting the signal. - - - - The #GDBusObjectProxy on which an interface has properties that are changing. - - - - The #GDBusProxy that has properties that are changing. - - - - A #GVariant containing the properties that changed. - - - - A %NULL terminated array of properties that was invalidated. - - - - - - - - -Emitted when a D-Bus signal is received on @interface_proxy. - -This signal exists purely as a convenience to avoid having to -connect signals to all interface proxies managed by @manager. - -This signal is emitted in the -<link linkend="g-main-context-push-thread-default">thread-default main loop</link> -that @manager was constructed in. - -Since: 2.30 - - - - - The #GDBusObjectManagerClient emitting the signal. - - - - The #GDBusObjectProxy on which an interface is emitting a D-Bus signal. - - - - The #GDBusProxy that is emitting a D-Bus signal. - - - - The sender of the signal or NULL if the connection is not a bus connection. - - - - The signal name. - - - - A #GVariant tuple with parameters for the signal. - - - - - - - - -Flags used when constructing a #GDBusObjectManagerClient. - -Since: 2.30 - - - - - No flags set. - - - - If not set and the -manager is for a well-known name, then request the bus to launch -an owner for the name if no-one owns the name. This flag can only -be used in managers for well-known names. - - - - - - - -Emitted when a method is invoked by a remote caller and used to -determine if the method call is authorized. - -This signal is like #GDBusInterfaceSkeleton<!-- -->'s -#GDBusInterfaceSkeleton::g-authorize-method signal, except that it is -for the enclosing object. - -The default class handler just returns %TRUE. - -Since: 2.30 - - - - - The #GDBusObjectSkeleton emitting the signal. - - - - The #GDBusInterfaceSkeleton that @invocation is for. - - - - A #GDBusMethodInvocation. - - - - %TRUE if the call is authorized, %FALSE otherwise. - - - - - - -Flags describing the access control of a D-Bus property. - -Since: 2.26 - - - - - No flags set. - - - - Property is readable. - - - - Property is writable. - - - - - - - -Emitted when one or more D-Bus properties on @proxy changes. The -local cache has already been updated when this signal fires. Note -that both @changed_properties and @invalidated_properties are -guaranteed to never be %NULL (either may be empty though). - -If the proxy has the flag -%G_DBUS_PROXY_FLAGS_GET_INVALIDATED_PROPERTIES set, then -@invalidated_properties will always be empty. - -This signal corresponds to the -<literal>PropertiesChanged</literal> D-Bus signal on the -<literal>org.freedesktop.DBus.Properties</literal> interface. - -Since: 2.26 - - - - - The #GDBusProxy emitting the signal. - - - - A #GVariant containing the properties that changed - - - - A %NULL terminated array of properties that was invalidated - - - - - - - - -Emitted when a signal from the remote object and interface that @proxy is for, has been received. - -Since: 2.26 - - - - - The #GDBusProxy emitting the signal. - - - - The sender of the signal or %NULL if the connection is not a bus connection. - - - - The name of the signal. - - - - A #GVariant tuple with parameters for the signal. - - - - - - - - -Flags used when constructing an instance of a #GDBusProxy derived class. - -Since: 2.26 - - - - - No flags set. - - - - Don't load properties. - - - - Don't connect to signals on the remote object. - - - - If not set and the proxy if for a well-known name, -then request the bus to launch an owner for the name if no-one owns the name. This flag can -only be used in proxies for well-known names. - - - - If set, the property value for any <emphasis>invalidated property</emphasis> will be (asynchronously) retrieved upon receiving the <ulink url="http://dbus.freedesktop.org/doc/dbus-specification.html#standard-interfaces-properties">PropertiesChanged</ulink> D-Bus signal and the property will not cause emission of the #GDBusProxy::g-properties-changed signal. When the value is received the #GDBusProxy::g-properties-changed signal is emitted for the property along with the retrieved value. Since 2.32. - - - - - - - -Flags used when sending #GDBusMessage<!-- -->s on a #GDBusConnection. - -Since: 2.26 - - - - - No flags set. - - - - Do not automatically -assign a serial number from the #GDBusConnection object when -sending a message. - - - - - - - -Emitted when a new authenticated connection has been made. Use -g_dbus_connection_get_peer_credentials() to figure out what -identity (if any), was authenticated. - -If you want to accept the connection, take a reference to the -@connection object and return %TRUE. When you are done with the -connection call g_dbus_connection_close() and give up your -reference. Note that the other peer may disconnect at any time - -a typical thing to do when accepting a connection is to listen to -the #GDBusConnection::closed signal. - -If #GDBusServer:flags contains %G_DBUS_SERVER_FLAGS_RUN_IN_THREAD -then the signal is emitted in a new thread dedicated to the -connection. Otherwise the signal is emitted in the <link -linkend="g-main-context-push-thread-default">thread-default main -loop</link> of the thread that @server was constructed in. - -You are guaranteed that signal handlers for this signal runs -before incoming messages on @connection are processed. This means -that it's suitable to call g_dbus_connection_register_object() or -similar from the signal handler. - -Since: 2.26 - - - - - The #GDBusServer emitting the signal. - - - - A #GDBusConnection for the new connection. - - - - %TRUE to claim @connection, %FALSE to let other handlers -run. - - - - - - -Flags used when creating a #GDBusServer. - -Since: 2.26 - - - - - No flags set. - - - - All #GDBusServer::new-connection -signals will run in separated dedicated threads (see signal for -details). - - - - Allow the anonymous -authentication method. - - - - - - - -Flags used when subscribing to signals via g_dbus_connection_signal_subscribe(). - -Since: 2.26 - - - - - No flags set. - - - - Don't actually send the AddMatch -D-Bus call for this signal subscription. This gives you more control -over which match rules you add (but you must add them manually). - - - - Match first arguments that -contain a bus or interface name with the given namespace. - - - - Match first arguments that -contain an object path that is either equivalent to the given path, -or one of the paths is a subpath of the other. - - - - - - - -Flags passed to g_dbus_connection_register_subtree(). - -Since: 2.26 - - - - - No flags set. - - - - Method calls to objects not in the enumerated range -will still be dispatched. This is useful if you want -to dynamically spawn objects in the subtree. - - - - - - - -#GDataStreamByteOrder is used to ensure proper endianness of streaming data sources -across various machine architectures. - - - - - - Selects Big Endian byte order. - - - - Selects Little Endian byte order. - - - - Selects endianness based on host machine's architecture. - - - - - - - -#GDataStreamNewlineType is used when checking for or setting the line endings for a given file. - - - - - Selects "LF" line endings, common on most modern UNIX platforms. - - - - Selects "CR" line endings. - - - - Selects "CR, LF" line ending, common on Microsoft Windows. - - - - Automatically try to handle any line ending type. - - - - - - - -Emitted when the drive's state has changed. - - - - - a #GDrive. - - - - - - - - -This signal is emitted when the #GDrive have been -disconnected. If the recipient is holding references to the -object they should release them so the object can be -finalized. - - - - - a #GDrive. - - - - - - - - -Emitted when the physical eject button (if any) of a drive has -been pressed. - - - - - a #GDrive. - - - - - - - - -Emitted when the physical stop button (if any) of a drive has -been pressed. - -Since: 2.22 - - - - - a #GDrive. - - - - - - - - -Flags used when starting a drive. - -Since: 2.22 - - - - - No flags set. - - - - - - - -Enumeration describing how a drive can be started/stopped. - -Since: 2.22 - - - - - Unknown or drive doesn't support -start/stop. - - - - The stop method will physically -shut down the drive and e.g. power down the port the drive is -attached to. - - - - The start/stop methods are used -for connecting/disconnect to the drive over the network. - - - - The start/stop methods will -assemble/disassemble a virtual drive from several physical -drives. - - - - The start/stop methods will -unlock/lock the disk (for example using the ATA <quote>SECURITY -UNLOCK DEVICE</quote> command) - - - - - - - -GEmblemOrigin is used to add information about the origin of the emblem -to #GEmblem. - -Since: 2.18 - - - - - Emblem of unknown origin - - - - Emblem adds device-specific information - - - - Emblem depicts live metadata, such as "readonly" - - - - Emblem comes from a user-defined tag, e.g. set by nautilus (in the future) - - - - - - - -Flags specifying the behaviour of an attribute. - - - - - no flags set. - - - - copy the attribute values when the file is copied. - - - - copy the attribute values when the file is moved. - - - - - - - -Used by g_file_set_attributes_from_info() when setting file attributes. - - - - - Attribute value is unset (empty). - - - - Attribute value is set. - - - - Indicates an error in setting the value. - - - - - - - -The data types for file attributes. - - - - - indicates an invalid or uninitalized type. - - - - a null terminated UTF8 string. - - - - a zero terminated string of non-zero bytes. - - - - a boolean value. - - - - an unsigned 4-byte/32-bit integer. - - - - a signed 4-byte/32-bit integer. - - - - an unsigned 8-byte/64-bit integer. - - - - a signed 8-byte/64-bit integer. - - - - a #GObject. - - - - a %NULL terminated char **. Since 2.22 - - - - - - - -Flags used when copying or moving files. - - - - - No flags set. - - - - Overwrite any existing files - - - - Make a backup of any existing files. - - - - Don't follow symlinks. - - - - Copy all file metadata instead of just default set used for copy (see #GFileInfo). - - - - Don't use copy and delete fallback if native move not supported. - - - - Leaves target file with default perms, instead of setting the source file perms. - - - - - - - -Flags used when an operation may create a file. - - - - - No flags set. - - - - Create a file that can only be -accessed by the current user. - - - - Replace the destination -as if it didn't exist before. Don't try to keep any old -permissions, replace instead of following links. This -is generally useful if you're doing a "copy over" -rather than a "save new version of" replace operation. -You can think of it as "unlink destination" before -writing to it, although the implementation may not -be exactly like that. Since 2.20 - - - - - - - -Emitted when @file has been changed. - -If using #G_FILE_MONITOR_SEND_MOVED flag and @event_type is -#G_FILE_MONITOR_EVENT_MOVED, @file will be set to a #GFile containing the -old path, and @other_file will be set to a #GFile containing the new path. - -In all the other cases, @other_file will be set to #NULL. - - - - - a #GFileMonitor. - - - - a #GFile. - - - - a #GFile or #NULL. - - - - a #GFileMonitorEvent. - - - - - - - - -Specifies what type of event a monitor event is. - - - - - a file changed. - - - - a hint that this was probably the last change in a set of changes. - - - - a file was deleted. - - - - a file was created. - - - - a file attribute was changed. - - - - the file location will soon be unmounted. - - - - the file location was unmounted. - - - - the file was moved. - - - - - - - -Flags used to set what a #GFileMonitor will watch for. - - - - - No flags set. - - - - Watch for mount events. - - - - Pair DELETED and CREATED events caused -by file renames (moves) and send a single G_FILE_MONITOR_EVENT_MOVED -event instead (NB: not supported on all backends; the default -behaviour -without specifying this flag- is to send single DELETED -and CREATED events). - - - - Watch for changes to the file made -via another hard link. Since 2.36. - - - - - - - -Flags used when querying a #GFileInfo. - - - - - No flags set. - - - - Don't follow symlinks. - - - - - - - -Indicates the file's on-disk type. - - - - - File's type is unknown. - - - - File handle represents a regular file. - - - - File handle represents a directory. - - - - File handle represents a symbolic link -(Unix systems). - - - - File is a "special" file, such as a socket, fifo, -block device, or character device. - - - - File is a shortcut (Windows systems). - - - - File is a mountable location. - - - - - - - -Emitted when the file name completion information comes available. - - - - - - - - - -Indicates a hint from the file system whether files should be -previewed in a file manager. Returned as the value of the key -#G_FILE_ATTRIBUTE_FILESYSTEM_USE_PREVIEW. - - - - - Only preview files if user has explicitly requested it. - - - - Preview files if user has requested preview of "local" files. - - - - Never preview files. - - - - - - - -Error codes returned by GIO functions. - - - - - - Generic error condition for when any operation fails. - - - - File not found. - - - - File already exists. - - - - File is a directory. - - - - File is not a directory. - - - - File is a directory that isn't empty. - - - - File is not a regular file. - - - - File is not a symbolic link. - - - - File cannot be mounted. - - - - Filename is too many characters. - - - - Filename is invalid or contains invalid characters. - - - - File contains too many symbolic links. - - - - No space left on drive. - - - - Invalid argument. - - - - Permission denied. - - - - Operation not supported for the current backend. - - - - File isn't mounted. - - - - File is already mounted. - - - - File was closed. - - - - Operation was cancelled. See #GCancellable. - - - - Operations are still pending. - - - - File is read only. - - - - Backup couldn't be created. - - - - File's Entity Tag was incorrect. - - - - Operation timed out. - - - - Operation would be recursive. - - - - File is busy. - - - - Operation would block. - - - - Host couldn't be found (remote operations). - - - - Operation would merge files. - - - - Operation failed and a helper program has -already interacted with the user. Do not display any error dialog. - - - - The current process has too many files -open and can't open any more. Duplicate descriptors do count toward -this limit. Since 2.20 - - - - The object has not been initialized. Since 2.22 - - - - The requested address is already in use. Since 2.22 - - - - Need more input to finish operation. Since 2.24 - - - - The input data was invalid. Since 2.24 - - - - A remote object generated an error that -doesn't correspond to a locally registered #GError error -domain. Use g_dbus_error_get_remote_error() to extract the D-Bus -error name and g_dbus_error_strip_remote_error() to fix up the -message so it matches what was received on the wire. Since 2.26. - - - - Host unreachable. Since 2.26 - - - - Network unreachable. Since 2.26 - - - - Connection refused. Since 2.26 - - - - Connection to proxy server failed. Since 2.26 - - - - Proxy authentication failed. Since 2.26 - - - - Proxy server needs authentication. Since 2.26 - - - - Proxy connection is not allowed by ruleset. -Since 2.26 - - - - Broken pipe. Since 2.36 - - - - - - - -Flags for use with g_io_module_scope_new(). - -Since: 2.30 - - - - - No module scan flags - - - - When using this scope to load or -scan modules, automatically block a modules which has the same base -basename as previously loaded module. - - - - - - - -GIOStreamSpliceFlags determine how streams should be spliced. - -Since: 2.28 - - - - - Do not close either stream. - - - - Close the first stream after -the splice. - - - - Close the second stream after -the splice. - - - - Wait for both splice operations to finish -before calling the callback. - - - - - - - -Emitted when a change has occured to the menu. - -The only changes that can occur to a menu is that items are removed -or added. Items may not change (except by being removed and added -back in the same location). This signal is capable of describing -both of those changes (at the same time). - -The signal means that starting at the index @position, @removed -items were removed and @added items were added in their place. If -@removed is zero then only items were added. If @added is zero -then only items were removed. - -As an example, if the menu contains items a, b, c, d (in that -order) and the signal (2, 1, 3) occurs then the new composition of -the menu will be a, b, _, _, _, d (with each _ representing some -new item). - -Signal handlers may query the model (particularly the added items) -and expect to see the results of the modification that is being -reported. The signal is emitted after the modification. - - - - - the #GMenuModel that is changing - - - - the position of the change - - - - the number of items removed - - - - the number of items added - - - - - - - - -Emitted when the mount has been changed. - - - - - the object on which the signal is emitted - - - - - - - - -This signal is emitted when the #GMount is about to be -unmounted. - -Since: 2.22 - - - - - the object on which the signal is emitted - - - - - - - - -This signal is emitted when the #GMount have been -unmounted. If the recipient is holding references to the -object they should release them so the object can be -finalized. - - - - - the object on which the signal is emitted - - - - - - - - -Flags used when mounting a mount. - - - - - No flags set. - - - - - - - -Emitted by the backend when e.g. a device becomes unavailable -while a mount operation is in progress. - -Implementations of GMountOperation should handle this signal -by dismissing open password dialogs. - -Since: 2.20 - - - - - - - - - -Emitted when a mount operation asks the user for a password. - -If the message contains a line break, the first line should be -presented as a heading. For example, it may be used as the -primary text in a #GtkMessageDialog. - - - - - a #GMountOperation requesting a password. - - - - string containing a message to display to the user. - - - - string containing the default user name. - - - - string containing the default domain. - - - - a set of #GAskPasswordFlags. - - - - - - - - -Emitted when asking the user a question and gives a list of -choices for the user to choose from. - -If the message contains a line break, the first line should be -presented as a heading. For example, it may be used as the -primary text in a #GtkMessageDialog. - - - - - a #GMountOperation asking a question. - - - - string containing a message to display to the user. - - - - an array of strings for each possible choice. - - - - - - - - -Emitted when the user has replied to the mount operation. - - - - - a #GMountOperation. - - - - a #GMountOperationResult indicating how the request was handled - - - - - - - - -Emitted when one or more processes are blocking an operation -e.g. unmounting/ejecting a #GMount or stopping a #GDrive. - -Note that this signal may be emitted several times to update the -list of blocking processes as processes close files. The -application should only respond with g_mount_operation_reply() to -the latest signal (setting #GMountOperation:choice to the choice -the user made). - -If the message contains a line break, the first line should be -presented as a heading. For example, it may be used as the -primary text in a #GtkMessageDialog. - -Since: 2.22 - - - - - a #GMountOperation. - - - - string containing a message to display to the user. - - - - an array of #GPid for processes -blocking the operation. - - - - an array of strings for each possible choice. - - - - - - - - -Emitted when an unmount operation has been busy for more than some time -(typically 1.5 seconds). - -When unmounting or ejecting a volume, the kernel might need to flush -pending data in its buffers to the volume stable storage, and this operation -can take a considerable amount of time. This signal may be emitted several -times as long as the unmount operation is outstanding, and then one -last time when the operation is completed, with @bytes_left set to zero. - -Implementations of GMountOperation should handle this signal by -showing an UI notification, and then dismiss it, or show another notification -of completion, when @bytes_left reaches zero. - -If the message contains a line break, the first line should be -presented as a heading. For example, it may be used as the -primary text in a #GtkMessageDialog. - -Since: 2.34 - - - - - a #GMountOperation: - - - - string containing a mesage to display to the user - - - - the estimated time left before the operation completes, -in microseconds, or -1 - - - - the amount of bytes to be written before the operation -completes (or -1 if such amount is not known), or zero if the operation -is completed - - - - - - - - -#GMountOperationResult is returned as a result when a request for -information is send by the mounting operation. - - - - - The request was fulfilled and the -user specified data is now available - - - - The user requested the mount operation -to be aborted - - - - The request was unhandled (i.e. not -implemented) - - - - - - - -Flags used when an unmounting a mount. - - - - - No flags set. - - - - Unmount even if there are outstanding -file operations on the mount. - - - - - - - -Emitted when the network configuration changes. If @available is -%TRUE, then some hosts may be reachable that were not reachable -before, while others that were reachable before may no longer be -reachable. If @available is %FALSE, then no remote hosts are -reachable. - -Since: 2.32 - - - - - a #GNetworkMonitor - - - - the current value of #GNetworkMonitor:network-available - - - - - - - - -GOutputStreamSpliceFlags determine how streams should be spliced. - - - - - Do not close either stream. - - - - Close the source stream after -the splice. - - - - Close the target stream after -the splice. - - - - - - - -#GPasswordSave is used to indicate the lifespan of a saved password. - -#Gvfs stores passwords in the Gnome keyring when this flag allows it -to, and later retrieves it again from there. - - - - - never save a password. - - - - save a password for the session. - - - - save a password permanently. - - - - - - - -Emitted when the resolver notices that the system resolver -configuration has changed. - - - - - a #GResolver - - - - - - - - -An error code used with %G_RESOLVER_ERROR in a #GError returned -from a #GResolver routine. - -Since: 2.22 - - - - - the requested name/address/service was not -found - - - - the requested information could not -be looked up due to a network error or similar problem - - - - unknown error - - - - - - - -The type of record that g_resolver_lookup_records() or -g_resolver_lookup_records_async() should retrieve. The records are returned -as lists of #GVariant tuples. Each record type has different values in -the variant tuples returned. - -%G_RESOLVER_RECORD_SRV records are returned as variants with the signature -'(qqqs)', containing a guint16 with the priority, a guint16 with the -weight, a guint16 with the port, and a string of the hostname. - -%G_RESOLVER_RECORD_MX records are returned as variants with the signature -'(qs)', representing a guint16 with the preference, and a string containing -the mail exchanger hostname. - -%G_RESOLVER_RECORD_TXT records are returned as variants with the signature -'(as)', representing an array of the strings in the text record. - -%G_RESOLVER_RECORD_SOA records are returned as variants with the signature -'(ssuuuuu)', representing a string containing the primary name server, a -string containing the administrator, the serial as a guint32, the refresh -interval as guint32, the retry interval as a guint32, the expire timeout -as a guint32, and the ttl as a guint32. - -%G_RESOLVER_RECORD_NS records are returned as variants with the signature -'(s)', representing a string of the hostname of the name server. - -Since: 2.34 - - - - - lookup DNS SRV records for a domain - - - - lookup DNS MX records for a domain - - - - lookup DNS TXT records for a name - - - - lookup DNS SOA records for a zone - - - - lookup DNS NS records for a domain - - - - - - - -An error code used with %G_RESOURCE_ERROR in a #GError returned -from a #GResource routine. - -Since: 2.32 - - - - - no file was found at the requested path - - - - unknown error - - - - - - - -GResourceFlags give information about a particular file inside a resource -bundle. - -Since: 2.32 - - - - - No flags set. - - - - The file is compressed. - - - - - - - -GResourceLookupFlags determine how resource path lookups are handled. - -Since: 2.32 - - - - - No flags set. - - - - - - - -The "change-event" signal is emitted once per change event that -affects this settings object. You should connect to this signal -only if you are interested in viewing groups of changes before they -are split out into multiple emissions of the "changed" signal. -For most use cases it is more appropriate to use the "changed" signal. - -In the event that the change event applies to one or more specified -keys, @keys will be an array of #GQuark of length @n_keys. In the -event that the change event applies to the #GSettings object as a -whole (ie: potentially every key has been changed) then @keys will -be %NULL and @n_keys will be 0. - -The default handler for this signal invokes the "changed" signal -for each affected key. If any other connected handler returns -%TRUE then this default functionality will be suppressed. - - - - - - the object on which the signal was emitted - - - - -an array of #GQuark<!-- -->s for the changed keys, or %NULL - - - - the length of the @keys array, or 0 - - - - %TRUE to stop other handlers from being invoked for the -event. FALSE to propagate the event further. - - - - - -The "changed" signal is emitted when a key has potentially changed. -You should call one of the g_settings_get() calls to check the new -value. - -This signal supports detailed connections. You can connect to the -detailed signal "changed::x" in order to only receive callbacks -when key "x" changes. - - - - - the object on which the signal was emitted - - - - the name of the key that changed - - - - - - - - -The "writable-change-event" signal is emitted once per writability -change event that affects this settings object. You should connect -to this signal if you are interested in viewing groups of changes -before they are split out into multiple emissions of the -"writable-changed" signal. For most use cases it is more -appropriate to use the "writable-changed" signal. - -In the event that the writability change applies only to a single -key, @key will be set to the #GQuark for that key. In the event -that the writability change affects the entire settings object, -@key will be 0. - -The default handler for this signal invokes the "writable-changed" -and "changed" signals for each affected key. This is done because -changes in writability might also imply changes in value (if for -example, a new mandatory setting is introduced). If any other -connected handler returns %TRUE then this default functionality -will be suppressed. - - - - - - the object on which the signal was emitted - - - - the quark of the key, or 0 - - - - %TRUE to stop other handlers from being invoked for the -event. FALSE to propagate the event further. - - - - - -The "writable-changed" signal is emitted when the writability of a -key has potentially changed. You should call -g_settings_is_writable() in order to determine the new status. - -This signal supports detailed connections. You can connect to the -detailed signal "writable-changed::x" in order to only receive -callbacks when the writability of "x" changes. - - - - - the object on which the signal was emitted - - - - the key - - - - - - - - -Flags used when creating a binding. These flags determine in which -direction the binding works. The default is to synchronize in both -directions. - - - - - Equivalent to <literal>G_SETTINGS_BIND_GET|G_SETTINGS_BIND_SET</literal> - - - - Update the #GObject property when the setting changes. -It is an error to use this flag if the property is not writable. - - - - Update the setting when the #GObject property changes. -It is an error to use this flag if the property is not readable. - - - - Do not try to bind a "sensitivity" property to the writability of the setting - - - - When set in addition to #G_SETTINGS_BIND_GET, set the #GObject property -value initially from the setting, but do not listen for changes of the setting - - - - When passed to g_settings_bind(), uses a pair of mapping functions that invert -the boolean value when mapping between the setting and the property. The setting and property must both -be booleans. You cannot pass this flag to g_settings_bind_with_mapping(). - - - - - - - -Indicates that the action was just activated. - -@parameter will always be of the expected type. In the event that -an incorrect type was given, no signal will be emitted. - -Since: 2.28 - - - - - the #GSimpleAction - - - - the parameter to the activation - - - - - - - - -Indicates that the action just received a request to change its -state. - -@value will always be of the correct state type. In the event that -an incorrect type was given, no signal will be emitted. - -If no handler is connected to this signal then the default -behaviour is to call g_simple_action_set_state() to set the state -to the requested value. If you connect a signal handler then no -default action is taken. If the state should change then you must -call g_simple_action_set_state() from the handler. - -<example> -<title>Example 'change-state' handler</title> -<programlisting> -static void -change_volume_state (GSimpleAction *action, -GVariant *value, -gpointer user_data) -{ -gint requested; - -requested = g_variant_get_int32 (value); - -// Volume only goes from 0 to 10 -if (0 <= requested && requested <= 10) -g_simple_action_set_state (action, value); -} -</programlisting> -</example> - -The handler need not set the state to the requested value. It -could set it to any value at all, or take some other action. - -Since: 2.30 - - - - - the #GSimpleAction - - - - the requested value for the state - - - - - - - - -Emitted when @client's activity on @connectable changes state. -Among other things, this can be used to provide progress -information about a network connection in the UI. The meanings of -the different @event values are as follows: - -<variablelist> -<varlistentry> -<term>%G_SOCKET_CLIENT_RESOLVING:</term> -<listitem><para> -@client is about to look up @connectable in DNS. -@connection will be %NULL. -</para></listitem> -</varlistentry> -<varlistentry> -<term>%G_SOCKET_CLIENT_RESOLVED:</term> -<listitem><para> -@client has successfully resolved @connectable in DNS. -@connection will be %NULL. -</para></listitem> -</varlistentry> -<varlistentry> -<term>%G_SOCKET_CLIENT_CONNECTING:</term> -<listitem><para> -@client is about to make a connection to a remote host; -either a proxy server or the destination server itself. -@connection is the #GSocketConnection, which is not yet -connected. -</para></listitem> -</varlistentry> -<varlistentry> -<term>%G_SOCKET_CLIENT_CONNECTED:</term> -<listitem><para> -@client has successfully connected to a remote host. -@connection is the connected #GSocketConnection. -</para></listitem> -</varlistentry> -<varlistentry> -<term>%G_SOCKET_CLIENT_PROXY_NEGOTIATING:</term> -<listitem><para> -@client is about to negotiate with a proxy to get it to -connect to @connectable. @connection is the -#GSocketConnection to the proxy server. -</para></listitem> -</varlistentry> -<varlistentry> -<term>%G_SOCKET_CLIENT_PROXY_NEGOTIATED:</term> -<listitem><para> -@client has negotiated a connection to @connectable through -a proxy server. @connection is the stream returned from -g_proxy_connect(), which may or may not be a -#GSocketConnection. -</para></listitem> -</varlistentry> -<varlistentry> -<term>%G_SOCKET_CLIENT_TLS_HANDSHAKING:</term> -<listitem><para> -@client is about to begin a TLS handshake. @connection is a -#GTlsClientConnection. -</para></listitem> -</varlistentry> -<varlistentry> -<term>%G_SOCKET_CLIENT_TLS_HANDSHAKED:</term> -<listitem><para> -@client has successfully completed the TLS handshake. -@connection is a #GTlsClientConnection. -</para></listitem> -</varlistentry> -<varlistentry> -<term>%G_SOCKET_CLIENT_COMPLETE:</term> -<listitem><para> -@client has either successfully connected to @connectable -(in which case @connection is the #GSocketConnection that -it will be returning to the caller) or has failed (in which -case @connection is %NULL and the client is about to return -an error). -</para></listitem> -</varlistentry> -</variablelist> - -Each event except %G_SOCKET_CLIENT_COMPLETE may be emitted -multiple times (or not at all) for a given connectable (in -particular, if @client ends up attempting to connect to more than -one address). However, if @client emits the #GSocketClient::event -signal at all for a given connectable, that it will always emit -it with %G_SOCKET_CLIENT_COMPLETE when it is done. - -Note that there may be additional #GSocketClientEvent values in -the future; unrecognized @event values should be ignored. - -Since: 2.32 - - - - - the #GSocketClient - - - - the event that is occurring - - - - the #GSocketConnectable that @event is occurring on - - - - the current representation of the connection - - - - - - - - -Describes an event occurring on a #GSocketClient. See the -#GSocketClient::event signal for more details. - -Additional values may be added to this type in the future. - -Since: 2.32 - - - - - The client is doing a DNS lookup. - - - - The client has completed a DNS lookup. - - - - The client is connecting to a remote -host (either a proxy or the destination server). - - - - The client has connected to a remote -host. - - - - The client is negotiating -with a proxy to connect to the destination server. - - - - The client has negotiated -with the proxy server. - - - - The client is performing a -TLS handshake. - - - - The client has performed a -TLS handshake. - - - - The client is done with a particular -#GSocketConnectable. - - - - - - - -The protocol family of a #GSocketAddress. (These values are -identical to the system defines %AF_INET, %AF_INET6 and %AF_UNIX, -if available.) - -Since: 2.22 - - - - - no address family - - - - the IPv4 family - - - - the IPv6 family - - - - the UNIX domain family - - - - - - - -Flags used in g_socket_receive_message() and g_socket_send_message(). -The flags listed in the enum are some commonly available flags, but the -values used for them are the same as on the platform, and any other flags -are passed in/out as is. So to use a platform specific flag, just include -the right system header and pass in the flag. - -Since: 2.22 - - - - - No flags. - - - - Request to send/receive out of band data. - - - - Read data from the socket without removing it from -the queue. - - - - Don't use a gateway to send out the packet, -only send to hosts on directly connected networks. - - - - - - - -A protocol identifier is specified when creating a #GSocket, which is a -family/type specific identifier, where 0 means the default protocol for -the particular family/type. - -This enum contains a set of commonly available and used protocols. You -can also pass any other identifiers handled by the platform in order to -use protocols not listed here. - -Since: 2.22 - - - - - The protocol type is unknown - - - - The default protocol for the family/type - - - - TCP over IP - - - - UDP over IP - - - - SCTP over IP - - - - - - - -The ::incoming signal is emitted when a new incoming connection -to @service needs to be handled. The handler must initiate the -handling of @connection, but may not block; in essence, -asynchronous operations must be used. - -@connection will be unreffed once the signal handler returns, -so you need to ref it yourself if you are planning to use it. - -Since: 2.22 - - - - - the #GSocketService - - - - a new #GSocketConnection object - - - - the source_object passed to -g_socket_listener_add_address() - - - - %TRUE to stop other handlers from being called - - - - - - -Flags used when creating a #GSocket. Some protocols may not implement -all the socket types. - -Since: 2.22 - - - - - Type unknown or wrong - - - - Reliable connection-based byte streams (e.g. TCP). - - - - Connectionless, unreliable datagram passing. -(e.g. UDP) - - - - Reliable connection-based passing of datagrams -of fixed maximum length (e.g. SCTP). - - - - - - - -Flags to define future #GTestDBus behaviour. - -Since: 2.34 - - - - - No flags. - - - - - - - -The ::run signal is emitted in a worker thread in response to an -incoming connection. This thread is dedicated to handling -@connection and may perform blocking IO. The signal handler need -not return until the connection is closed. - - - - - - the #GThreadedSocketService. - - - - a new #GSocketConnection object. - - - - the source_object passed to g_socket_listener_add_address(). - - - - %TRUE to stop further signal handlers from being called - - - - - -The client authentication mode for a #GTlsServerConnection. - -Since: 2.28 - - - - - client authentication not required - - - - client authentication is requested - - - - client authentication is required - - - - - - - -A set of flags describing TLS certification validation. This can be -used to set which validation steps to perform (eg, with -g_tls_client_connection_set_validation_flags()), or to describe why -a particular certificate was rejected (eg, in -#GTlsConnection::accept-certificate). - -Since: 2.28 - - - - - The signing certificate authority is -not known. - - - - The certificate does not match the -expected identity of the site that it was retrieved from. - - - - The certificate's activation time -is still in the future - - - - The certificate has expired - - - - The certificate has been revoked -according to the #GTlsConnection's certificate revocation list. - - - - The certificate's algorithm is -considered insecure. - - - - Some other error occurred validating -the certificate - - - - the combination of all of the above -flags - - - - - - - -Emitted during the TLS handshake after the peer certificate has -been received. You can examine @peer_cert's certification path by -calling g_tls_certificate_get_issuer() on it. - -For a client-side connection, @peer_cert is the server's -certificate, and the signal will only be emitted if the -certificate was not acceptable according to @conn's -#GTlsClientConnection:validation_flags. If you would like the -certificate to be accepted despite @errors, return %TRUE from the -signal handler. Otherwise, if no handler accepts the certificate, -the handshake will fail with %G_TLS_ERROR_BAD_CERTIFICATE. - -For a server-side connection, @peer_cert is the certificate -presented by the client, if this was requested via the server's -#GTlsServerConnection:authentication_mode. On the server side, -the signal is always emitted when the client presents a -certificate, and the certificate will only be accepted if a -handler returns %TRUE. - -Note that if this signal is emitted as part of asynchronous I/O -in the main thread, then you should not attempt to interact with -the user before returning from the signal handler. If you want to -let the user decide whether or not to accept the certificate, you -would have to return %FALSE from the signal handler on the first -attempt, and then after the connection attempt returns a -%G_TLS_ERROR_HANDSHAKE, you can interact with the user, and if -the user decides to accept the certificate, remember that fact, -create a new connection, and return %TRUE from the signal handler -the next time. - -If you are doing I/O in another thread, you do not -need to worry about this, and can simply block in the signal -handler until the UI thread returns an answer. - -Since: 2.28 - - - - - a #GTlsConnection - - - - the peer's #GTlsCertificate - - - - the problems with @peer_cert. - - - - %TRUE to accept @peer_cert (which will also -immediately end the signal emission). %FALSE to allow the signal -emission to continue, which will cause the handshake to fail if -no one else overrides it. - - - - - - -Flags for g_tls_database_lookup_certificate_handle(), -g_tls_database_lookup_certificate_issuer(), -and g_tls_database_lookup_certificates_issued_by(). - -Since: 2.30 - - - - - No lookup flags - - - - Restrict lookup to certificates that have -a private key. - - - - - - - -Flags for g_tls_database_verify_chain(). - -Since: 2.30 - - - - - No verification flags - - - - - - - -An error code used with %G_TLS_ERROR in a #GError returned from a -TLS-related routine. - -Since: 2.28 - - - - - No TLS provider is available - - - - Miscellaneous TLS error - - - - A certificate could not be parsed - - - - The TLS handshake failed because the -peer does not seem to be a TLS server. - - - - The TLS handshake failed because the -peer's certificate was not acceptable. - - - - The TLS handshake failed because -the server requested a client-side certificate, but none was -provided. See g_tls_connection_set_certificate(). - - - - The TLS connection was closed without proper -notice, which may indicate an attack. See -g_tls_connection_set_require_close_notify(). - - - - - - - -#GTlsInteractionResult is returned by various functions in #GTlsInteraction -when finishing an interaction request. - -Since: 2.30 - - - - - The interaction was unhandled (i.e. not -implemented). - - - - The interaction completed, and resulting data -is available. - - - - The interaction has failed, or was cancelled. -and the operation should be aborted. - - - - - - - -Various flags for the password. - -Since: 2.30 - - - - - No flags - - - - The password was wrong, and the user should retry. - - - - Hint to the user that the password has been -wrong many times, and the user may not have many chances left. - - - - Hint to the user that this is the last try to get -this password right. - - - - - - - -When to allow rehandshaking. See -g_tls_connection_set_rehandshake_mode(). - -Since: 2.28 - - - - - Never allow rehandshaking - - - - Allow safe rehandshaking only - - - - Allow unsafe rehandshaking - - - - - - - -Emitted when the unix mount points have changed. - - - - - the object on which the signal is emitted - - - - - - - - -Emitted when the unix mounts have changed. - - - - - the object on which the signal is emitted - - - - - - - - -The type of name used by a #GUnixSocketAddress. -%G_UNIX_SOCKET_ADDRESS_PATH indicates a traditional unix domain -socket bound to a filesystem path. %G_UNIX_SOCKET_ADDRESS_ANONYMOUS -indicates a socket not bound to any name (eg, a client-side socket, -or a socket created with socketpair()). - -For abstract sockets, there are two incompatible ways of naming -them; the man pages suggest using the entire <literal>struct -sockaddr_un</literal> as the name, padding the unused parts of the -%sun_path field with zeroes; this corresponds to -%G_UNIX_SOCKET_ADDRESS_ABSTRACT_PADDED. However, many programs -instead just use a portion of %sun_path, and pass an appropriate -smaller length to bind() or connect(). This is -%G_UNIX_SOCKET_ADDRESS_ABSTRACT. - -Since: 2.26 - - - - - invalid - - - - anonymous - - - - a filesystem path - - - - an abstract name - - - - an abstract name, 0-padded -to the full length of a unix socket name - - - - - - - -Emitted when the volume has been changed. - - - - - - - - - -This signal is emitted when the #GVolume have been removed. If -the recipient is holding references to the object they should -release them so the object can be finalized. - - - - - - - - - -Emitted when a drive changes. - - - - - The volume monitor emitting the signal. - - - - the drive that changed - - - - - - - - -Emitted when a drive is connected to the system. - - - - - The volume monitor emitting the signal. - - - - a #GDrive that was connected. - - - - - - - - -Emitted when a drive is disconnected from the system. - - - - - The volume monitor emitting the signal. - - - - a #GDrive that was disconnected. - - - - - - - - -Emitted when the eject button is pressed on @drive. - -Since: 2.18 - - - - - The volume monitor emitting the signal. - - - - the drive where the eject button was pressed - - - - - - - - -Emitted when the stop button is pressed on @drive. - -Since: 2.22 - - - - - The volume monitor emitting the signal. - - - - the drive where the stop button was pressed - - - - - - - - -Emitted when a mount is added. - - - - - The volume monitor emitting the signal. - - - - a #GMount that was added. - - - - - - - - -Emitted when a mount changes. - - - - - The volume monitor emitting the signal. - - - - a #GMount that changed. - - - - - - - - -Emitted when a mount is about to be removed. - - - - - The volume monitor emitting the signal. - - - - a #GMount that is being unmounted. - - - - - - - - -Emitted when a mount is removed. - - - - - The volume monitor emitting the signal. - - - - a #GMount that was removed. - - - - - - - - -Emitted when a mountable volume is added to the system. - - - - - The volume monitor emitting the signal. - - - - a #GVolume that was added. - - - - - - - - -Emitted when mountable volume is changed. - - - - - The volume monitor emitting the signal. - - - - a #GVolume that changed. - - - - - - - - -Emitted when a mountable volume is removed from the system. - - - - - The volume monitor emitting the signal. - - - - a #GVolume that was removed. - - - - - - - - -Used to select the type of data format to use for #GZlibDecompressor -and #GZlibCompressor. - -Since: 2.24 - - - - - deflate compression with zlib header - - - - gzip file format - - - - deflate compression with no header - - - - - - - -Translates kqueue filter flags into GIO event flags. - - - - - - a set of kqueue filter flags - - - - a pointer to #gboolean indicating that the -conversion has been done (out) - - - - a #GFileMonitorEvent - - - - - -Asynchronously invokes the <link linkend="gdbus-method-org-gtk-GDBus-Example-ObjectManager-Animal.Poke">Poke()</link> D-Bus method on @proxy. -When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. -You can then call example_animal_call_poke_finish() to get the result of the operation. - -See example_animal_call_poke_sync() for the synchronous, blocking version of this method. - -Since: 2.30 - - - - - A #ExampleAnimalProxy. - - - - Argument to pass with the method invocation. - - - - Argument to pass with the method invocation. - - - - A #GCancellable or %NULL. - - - - A #GAsyncReadyCallback to call when the request is satisfied or %NULL. - - - - User data to pass to @callback. - - - - - - - - -Finishes an operation started with example_animal_call_poke(). - -Since: 2.30 - - - - - A #ExampleAnimalProxy. - - - - The #GAsyncResult obtained from the #GAsyncReadyCallback passed to example_animal_call_poke(). - - - - Return location for error or %NULL. - - - - %TRUE if the call succeded, %FALSE if @error is set. - - - - - - -Synchronously invokes the <link linkend="gdbus-method-org-gtk-GDBus-Example-ObjectManager-Animal.Poke">Poke()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. - -See example_animal_call_poke() for the asynchronous version of this method. - -Since: 2.30 - - - - - A #ExampleAnimalProxy. - - - - Argument to pass with the method invocation. - - - - Argument to pass with the method invocation. - - - - A #GCancellable or %NULL. - - - - Return location for error or %NULL. - - - - %TRUE if the call succeded, %FALSE if @error is set. - - - - - - -Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-gtk-GDBus-Example-ObjectManager-Animal.Poke">Poke()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. - -This method will free @invocation, you cannot use it afterwards. - -Since: 2.30 - - - - - A #ExampleAnimal. - - - - A #GDBusMethodInvocation. - - - - - - - - -Gets a copy of the <link linkend="gdbus-property-org-gtk-GDBus-Example-ObjectManager-Animal.Bar">"Bar"</link> D-Bus property. - -Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. - -Since: 2.36 - - - - - A #ExampleAnimal. - - - - The property value or %NULL if the property is not set. The returned value should be freed with g_free(). - - - - - - -Gets a copy of the <link linkend="gdbus-property-org-gtk-GDBus-Example-ObjectManager-Animal.Foo">"Foo"</link> D-Bus property. - -Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. - -Since: 2.30 - - - - - A #ExampleAnimal. - - - - The property value or %NULL if the property is not set. The returned value should be freed with g_free(). - - - - - - -Gets a copy of the <link linkend="gdbus-property-org-gtk-GDBus-Example-ObjectManager-Animal.Mood">"Mood"</link> D-Bus property. - -Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. - -Since: 2.30 - - - - - A #ExampleAnimal. - - - - The property value or %NULL if the property is not set. The returned value should be freed with g_free(). - - - - - - -Emits the <link linkend="gdbus-signal-org-gtk-GDBus-Example-ObjectManager-Animal.Jumped">"Jumped"</link> D-Bus signal. - -Since: 2.30 - - - - - A #ExampleAnimal. - - - - Argument to pass with the signal. - - - - - - - - -Gets the value of the <link linkend="gdbus-property-org-gtk-GDBus-Example-ObjectManager-Animal.Bar">"Bar"</link> D-Bus property. - -Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. - -<warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use example_animal_dup_bar() if on another thread.</warning> - -Since: 2.36 - - - - - A #ExampleAnimal. - - - - The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. - - - - - - -Gets the value of the <link linkend="gdbus-property-org-gtk-GDBus-Example-ObjectManager-Animal.Foo">"Foo"</link> D-Bus property. - -Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. - -<warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use example_animal_dup_foo() if on another thread.</warning> - -Since: 2.30 - - - - - A #ExampleAnimal. - - - - The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. - - - - - - -Gets the value of the <link linkend="gdbus-property-org-gtk-GDBus-Example-ObjectManager-Animal.Mood">"Mood"</link> D-Bus property. - -Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. - -<warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use example_animal_dup_mood() if on another thread.</warning> - -Since: 2.30 - - - - - A #ExampleAnimal. - - - - The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. - - - - - - -Gets a machine-readable description of the <link linkend="gdbus-interface-org-gtk-GDBus-Example-ObjectManager-Animal.top_of_page">org.gtk.GDBus.Example.ObjectManager.Animal</link> D-Bus interface. - -Since: 2.30 - - - - - A #GDBusInterfaceInfo. Do not free. - - - - - - -Overrides all #GObject properties in the #ExampleAnimal interface for a concrete class. -The properties are overridden in the order they are defined. - -Since: 2.30 - - - - - The class structure for a #GObject<!-- -->-derived class. - - - - The property id to assign to the first overridden property. - - - - The last property id. - - - - - - -Asynchronously creates a proxy for the D-Bus interface <link linkend="gdbus-interface-org-gtk-GDBus-Example-ObjectManager-Animal.top_of_page">org.gtk.GDBus.Example.ObjectManager.Animal</link>. See g_dbus_proxy_new() for more details. - -When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. -You can then call example_animal_proxy_new_finish() to get the result of the operation. - -See example_animal_proxy_new_sync() for the synchronous, blocking version of this constructor. - -Since: 2.30 - - - - - A #GDBusConnection. - - - - Flags from the #GDBusProxyFlags enumeration. - - - - A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. - - - - An object path. - - - - A #GCancellable or %NULL. - - - - A #GAsyncReadyCallback to call when the request is satisfied. - - - - User data to pass to @callback. - - - - - - - - -Finishes an operation started with example_animal_proxy_new(). - -Since: 2.30 - - - - - The #GAsyncResult obtained from the #GAsyncReadyCallback passed to example_animal_proxy_new(). - - - - Return location for error or %NULL - - - - The constructed proxy object or %NULL if @error is set. - - - - - - -Like example_animal_proxy_new() but takes a #GBusType instead of a #GDBusConnection. - -When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. -You can then call example_animal_proxy_new_for_bus_finish() to get the result of the operation. - -See example_animal_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. - -Since: 2.30 - - - - - A #GBusType. - - - - Flags from the #GDBusProxyFlags enumeration. - - - - A bus name (well-known or unique). - - - - An object path. - - - - A #GCancellable or %NULL. - - - - A #GAsyncReadyCallback to call when the request is satisfied. - - - - User data to pass to @callback. - - - - - - - - -Finishes an operation started with example_animal_proxy_new_for_bus(). - -Since: 2.30 - - - - - The #GAsyncResult obtained from the #GAsyncReadyCallback passed to example_animal_proxy_new_for_bus(). - - - - Return location for error or %NULL - - - - The constructed proxy object or %NULL if @error is set. - - - - - - -Like example_animal_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. - -The calling thread is blocked until a reply is received. - -See example_animal_proxy_new_for_bus() for the asynchronous version of this constructor. - -Since: 2.30 - - - - - A #GBusType. - - - - Flags from the #GDBusProxyFlags enumeration. - - - - A bus name (well-known or unique). - - - - An object path. - - - - A #GCancellable or %NULL. - - - - Return location for error or %NULL - - - - The constructed proxy object or %NULL if @error is set. - - - - - - -Synchronously creates a proxy for the D-Bus interface <link linkend="gdbus-interface-org-gtk-GDBus-Example-ObjectManager-Animal.top_of_page">org.gtk.GDBus.Example.ObjectManager.Animal</link>. See g_dbus_proxy_new_sync() for more details. - -The calling thread is blocked until a reply is received. - -See example_animal_proxy_new() for the asynchronous version of this constructor. - -Since: 2.30 - - - - - A #GDBusConnection. - - - - Flags from the #GDBusProxyFlags enumeration. - - - - A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. - - - - An object path. - - - - A #GCancellable or %NULL. - - - - Return location for error or %NULL - - - - The constructed proxy object or %NULL if @error is set. - - - - - - -Sets the <link linkend="gdbus-property-org-gtk-GDBus-Example-ObjectManager-Animal.Bar">"Bar"</link> D-Bus property to @value. - -Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. - -Since: 2.36 - - - - - A #ExampleAnimal. - - - - The value to set. - - - - - - - - -Sets the <link linkend="gdbus-property-org-gtk-GDBus-Example-ObjectManager-Animal.Foo">"Foo"</link> D-Bus property to @value. - -Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. - -Since: 2.30 - - - - - A #ExampleAnimal. - - - - The value to set. - - - - - - - - -Sets the <link linkend="gdbus-property-org-gtk-GDBus-Example-ObjectManager-Animal.Mood">"Mood"</link> D-Bus property to @value. - -Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. - -Since: 2.30 - - - - - A #ExampleAnimal. - - - - The value to set. - - - - - - - - -Creates a skeleton object for the D-Bus interface <link linkend="gdbus-interface-org-gtk-GDBus-Example-ObjectManager-Animal.top_of_page">org.gtk.GDBus.Example.ObjectManager.Animal</link>. - -Since: 2.30 - - - - - The skeleton object. - - - - - - -Gets a machine-readable description of the <link linkend="gdbus-interface-org-gtk-GDBus-Example-ObjectManager-Cat.top_of_page">org.gtk.GDBus.Example.ObjectManager.Cat</link> D-Bus interface. - - - - - - A #GDBusInterfaceInfo. Do not free. - - - - - -Overrides all #GObject properties in the #ExampleCat interface for a concrete class. -The properties are overridden in the order they are defined. - - - - - - The class structure for a #GObject<!-- -->-derived class. - - - - The property id to assign to the first overridden property. - - - - The last property id. - - - - - -Asynchronously creates a proxy for the D-Bus interface <link linkend="gdbus-interface-org-gtk-GDBus-Example-ObjectManager-Cat.top_of_page">org.gtk.GDBus.Example.ObjectManager.Cat</link>. See g_dbus_proxy_new() for more details. - -When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. -You can then call example_cat_proxy_new_finish() to get the result of the operation. - -See example_cat_proxy_new_sync() for the synchronous, blocking version of this constructor. - - - - - A #GDBusConnection. - - - - Flags from the #GDBusProxyFlags enumeration. - - - - A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. - - - - An object path. - - - - A #GCancellable or %NULL. - - - - A #GAsyncReadyCallback to call when the request is satisfied. - - - - User data to pass to @callback. - - - - - - - - -Finishes an operation started with example_cat_proxy_new(). - - - - - - The #GAsyncResult obtained from the #GAsyncReadyCallback passed to example_cat_proxy_new(). - - - - Return location for error or %NULL - - - - The constructed proxy object or %NULL if @error is set. - - - - - -Like example_cat_proxy_new() but takes a #GBusType instead of a #GDBusConnection. - -When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. -You can then call example_cat_proxy_new_for_bus_finish() to get the result of the operation. - -See example_cat_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. - - - - - A #GBusType. - - - - Flags from the #GDBusProxyFlags enumeration. - - - - A bus name (well-known or unique). - - - - An object path. - - - - A #GCancellable or %NULL. - - - - A #GAsyncReadyCallback to call when the request is satisfied. - - - - User data to pass to @callback. - - - - - - - - -Finishes an operation started with example_cat_proxy_new_for_bus(). - - - - - - The #GAsyncResult obtained from the #GAsyncReadyCallback passed to example_cat_proxy_new_for_bus(). - - - - Return location for error or %NULL - - - - The constructed proxy object or %NULL if @error is set. - - - - - -Like example_cat_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. - -The calling thread is blocked until a reply is received. - -See example_cat_proxy_new_for_bus() for the asynchronous version of this constructor. - - - - - - A #GBusType. - - - - Flags from the #GDBusProxyFlags enumeration. - - - - A bus name (well-known or unique). - - - - An object path. - - - - A #GCancellable or %NULL. - - - - Return location for error or %NULL - - - - The constructed proxy object or %NULL if @error is set. - - - - - -Synchronously creates a proxy for the D-Bus interface <link linkend="gdbus-interface-org-gtk-GDBus-Example-ObjectManager-Cat.top_of_page">org.gtk.GDBus.Example.ObjectManager.Cat</link>. See g_dbus_proxy_new_sync() for more details. - -The calling thread is blocked until a reply is received. - -See example_cat_proxy_new() for the asynchronous version of this constructor. - - - - - - A #GDBusConnection. - - - - Flags from the #GDBusProxyFlags enumeration. - - - - A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. - - - - An object path. - - - - A #GCancellable or %NULL. - - - - Return location for error or %NULL - - - - The constructed proxy object or %NULL if @error is set. - - - - - -Creates a skeleton object for the D-Bus interface <link linkend="gdbus-interface-org-gtk-GDBus-Example-ObjectManager-Cat.top_of_page">org.gtk.GDBus.Example.ObjectManager.Cat</link>. - - - - - - The skeleton object. - - - - - -Gets the #ExampleAnimal instance for the D-Bus interface <link linkend="gdbus-interface-org-gtk-GDBus-Example-ObjectManager-Animal.top_of_page">org.gtk.GDBus.Example.ObjectManager.Animal</link> on @object, if any. - -Since: 2.30 - - - - - A #ExampleObject. - - - - A #ExampleAnimal that must be freed with g_object_unref() or %NULL if @object does not implement the interface. - - - - - - -Gets the #ExampleCat instance for the D-Bus interface <link linkend="gdbus-interface-org-gtk-GDBus-Example-ObjectManager-Cat.top_of_page">org.gtk.GDBus.Example.ObjectManager.Cat</link> on @object, if any. - - - - - - A #ExampleObject. - - - - A #ExampleCat that must be freed with g_object_unref() or %NULL if @object does not implement the interface. - - - - - -A #GDBusProxyTypeFunc that maps @interface_name to the generated #GDBusObjectProxy<!-- -->- and #GDBusProxy<!-- -->-derived types. - - - - - - A #GDBusObjectManagerClient. - - - - The object path of the remote object (unused). - - - - Interface name of the remote object or %NULL to get the object proxy #GType. - - - - User data (unused). - - - - A #GDBusProxy<!-- -->-derived #GType if @interface_name is not %NULL, otherwise the #GType for #ExampleObjectProxy. - - - - - -Asynchronously creates #GDBusObjectManagerClient using example_object_manager_client_get_proxy_type() as the #GDBusProxyTypeFunc. See g_dbus_object_manager_client_new() for more details. - -When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. -You can then call example_object_manager_client_new_finish() to get the result of the operation. - -See example_object_manager_client_new_sync() for the synchronous, blocking version of this constructor. - - - - - A #GDBusConnection. - - - - Flags from the #GDBusObjectManagerClientFlags enumeration. - - - - A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. - - - - An object path. - - - - A #GCancellable or %NULL. - - - - A #GAsyncReadyCallback to call when the request is satisfied. - - - - User data to pass to @callback. - - - - - - - - -Finishes an operation started with example_object_manager_client_new(). - - - - - - The #GAsyncResult obtained from the #GAsyncReadyCallback passed to example_object_manager_client_new(). - - - - Return location for error or %NULL - - - - The constructed object manager client or %NULL if @error is set. - - - - - -Like example_object_manager_client_new() but takes a #GBusType instead of a #GDBusConnection. - -When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. -You can then call example_object_manager_client_new_for_bus_finish() to get the result of the operation. - -See example_object_manager_client_new_for_bus_sync() for the synchronous, blocking version of this constructor. - - - - - A #GBusType. - - - - Flags from the #GDBusObjectManagerClientFlags enumeration. - - - - A bus name (well-known or unique). - - - - An object path. - - - - A #GCancellable or %NULL. - - - - A #GAsyncReadyCallback to call when the request is satisfied. - - - - User data to pass to @callback. - - - - - - - - -Finishes an operation started with example_object_manager_client_new_for_bus(). - - - - - - The #GAsyncResult obtained from the #GAsyncReadyCallback passed to example_object_manager_client_new_for_bus(). - - - - Return location for error or %NULL - - - - The constructed object manager client or %NULL if @error is set. - - - - - -Like example_object_manager_client_new_sync() but takes a #GBusType instead of a #GDBusConnection. - -The calling thread is blocked until a reply is received. - -See example_object_manager_client_new_for_bus() for the asynchronous version of this constructor. - - - - - - A #GBusType. - - - - Flags from the #GDBusObjectManagerClientFlags enumeration. - - - - A bus name (well-known or unique). - - - - An object path. - - - - A #GCancellable or %NULL. - - - - Return location for error or %NULL - - - - The constructed object manager client or %NULL if @error is set. - - - - - -Synchronously creates #GDBusObjectManagerClient using example_object_manager_client_get_proxy_type() as the #GDBusProxyTypeFunc. See g_dbus_object_manager_client_new_sync() for more details. - -The calling thread is blocked until a reply is received. - -See example_object_manager_client_new() for the asynchronous version of this constructor. - - - - - - A #GDBusConnection. - - - - Flags from the #GDBusObjectManagerClientFlags enumeration. - - - - A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. - - - - An object path. - - - - A #GCancellable or %NULL. - - - - Return location for error or %NULL - - - - The constructed object manager client or %NULL if @error is set. - - - - - -Like example_object_get_animal() but doesn't increase the reference count on the returned object. - -<warning>It is not safe to use the returned object if you are on another thread than the one where the #GDBusObjectManagerClient or #GDBusObjectManagerServer for @object is running.</warning> - -Since: 2.30 - - - - - A #ExampleObject. - - - - A #ExampleAnimal or %NULL if @object does not implement the interface. Do not free the returned object, it is owned by @object. - - - - - - -Like example_object_get_cat() but doesn't increase the reference count on the returned object. - -<warning>It is not safe to use the returned object if you are on another thread than the one where the #GDBusObjectManagerClient or #GDBusObjectManagerServer for @object is running.</warning> - - - - - - A #ExampleObject. - - - - A #ExampleCat or %NULL if @object does not implement the interface. Do not free the returned object, it is owned by @object. - - - - - -Creates a new proxy object. - - - - - - A #GDBusConnection. - - - - An object path. - - - - The proxy object. - - - - - -Creates a new skeleton object. - - - - - - An object path. - - - - The skeleton object. - - - - - -Sets the #ExampleAnimal instance for the D-Bus interface <link linkend="gdbus-interface-org-gtk-GDBus-Example-ObjectManager-Animal.top_of_page">org.gtk.GDBus.Example.ObjectManager.Animal</link> on @object. - -Since: 2.30 - - - - - A #ExampleObjectSkeleton. - - - - A #ExampleAnimal or %NULL to clear the interface. - - - - - - - - -Sets the #ExampleCat instance for the D-Bus interface <link linkend="gdbus-interface-org-gtk-GDBus-Example-ObjectManager-Cat.top_of_page">org.gtk.GDBus.Example.ObjectManager.Cat</link> on @object. - - - - - A #ExampleObjectSkeleton. - - - - A #ExampleCat or %NULL to clear the interface. - - - - - - - - -Won't hold a ref, we have a timout callback to clean unused node_t. -If there is no value for a key, add it and return it; else return the old -one. - - - - - - - - - -FEN subsystem initializing. - - - - - - - - - -Asynchronously invokes the <link linkend="gdbus-method-org-project-Authorize.CheckAuthorized">CheckAuthorized()</link> D-Bus method on @proxy. -When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. -You can then call foo_igen_authorize_call_check_authorized_finish() to get the result of the operation. - -See foo_igen_authorize_call_check_authorized_sync() for the synchronous, blocking version of this method. - - - - - A #FooiGenAuthorizeProxy. - - - - A #GCancellable or %NULL. - - - - A #GAsyncReadyCallback to call when the request is satisfied or %NULL. - - - - User data to pass to @callback. - - - - - - - - -Finishes an operation started with foo_igen_authorize_call_check_authorized(). - - - - - - A #FooiGenAuthorizeProxy. - - - - The #GAsyncResult obtained from the #GAsyncReadyCallback passed to foo_igen_authorize_call_check_authorized(). - - - - Return location for error or %NULL. - - - - %TRUE if the call succeded, %FALSE if @error is set. - - - - - -Synchronously invokes the <link linkend="gdbus-method-org-project-Authorize.CheckAuthorized">CheckAuthorized()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. - -See foo_igen_authorize_call_check_authorized() for the asynchronous version of this method. - - - - - - A #FooiGenAuthorizeProxy. - - - - A #GCancellable or %NULL. - - - - Return location for error or %NULL. - - - - %TRUE if the call succeded, %FALSE if @error is set. - - - - - -Asynchronously invokes the <link linkend="gdbus-method-org-project-Authorize.CheckNotAuthorized">CheckNotAuthorized()</link> D-Bus method on @proxy. -When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. -You can then call foo_igen_authorize_call_check_not_authorized_finish() to get the result of the operation. - -See foo_igen_authorize_call_check_not_authorized_sync() for the synchronous, blocking version of this method. - - - - - A #FooiGenAuthorizeProxy. - - - - A #GCancellable or %NULL. - - - - A #GAsyncReadyCallback to call when the request is satisfied or %NULL. - - - - User data to pass to @callback. - - - - - - - - -Finishes an operation started with foo_igen_authorize_call_check_not_authorized(). - - - - - - A #FooiGenAuthorizeProxy. - - - - The #GAsyncResult obtained from the #GAsyncReadyCallback passed to foo_igen_authorize_call_check_not_authorized(). - - - - Return location for error or %NULL. - - - - %TRUE if the call succeded, %FALSE if @error is set. - - - - - -Asynchronously invokes the <link linkend="gdbus-method-org-project-Authorize.CheckNotAuthorizedFromObject">CheckNotAuthorizedFromObject()</link> D-Bus method on @proxy. -When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. -You can then call foo_igen_authorize_call_check_not_authorized_from_object_finish() to get the result of the operation. - -See foo_igen_authorize_call_check_not_authorized_from_object_sync() for the synchronous, blocking version of this method. - - - - - A #FooiGenAuthorizeProxy. - - - - A #GCancellable or %NULL. - - - - A #GAsyncReadyCallback to call when the request is satisfied or %NULL. - - - - User data to pass to @callback. - - - - - - - - -Finishes an operation started with foo_igen_authorize_call_check_not_authorized_from_object(). - - - - - - A #FooiGenAuthorizeProxy. - - - - The #GAsyncResult obtained from the #GAsyncReadyCallback passed to foo_igen_authorize_call_check_not_authorized_from_object(). - - - - Return location for error or %NULL. - - - - %TRUE if the call succeded, %FALSE if @error is set. - - - - - -Synchronously invokes the <link linkend="gdbus-method-org-project-Authorize.CheckNotAuthorizedFromObject">CheckNotAuthorizedFromObject()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. - -See foo_igen_authorize_call_check_not_authorized_from_object() for the asynchronous version of this method. - - - - - - A #FooiGenAuthorizeProxy. - - - - A #GCancellable or %NULL. - - - - Return location for error or %NULL. - - - - %TRUE if the call succeded, %FALSE if @error is set. - - - - - -Synchronously invokes the <link linkend="gdbus-method-org-project-Authorize.CheckNotAuthorized">CheckNotAuthorized()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. - -See foo_igen_authorize_call_check_not_authorized() for the asynchronous version of this method. - - - - - - A #FooiGenAuthorizeProxy. - - - - A #GCancellable or %NULL. - - - - Return location for error or %NULL. - - - - %TRUE if the call succeded, %FALSE if @error is set. - - - - - -Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-project-Authorize.CheckAuthorized">CheckAuthorized()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. - -This method will free @invocation, you cannot use it afterwards. - - - - - A #FooiGenAuthorize. - - - - A #GDBusMethodInvocation. - - - - - - - - -Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-project-Authorize.CheckNotAuthorized">CheckNotAuthorized()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. - -This method will free @invocation, you cannot use it afterwards. - - - - - A #FooiGenAuthorize. - - - - A #GDBusMethodInvocation. - - - - - - - - -Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-project-Authorize.CheckNotAuthorizedFromObject">CheckNotAuthorizedFromObject()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. - -This method will free @invocation, you cannot use it afterwards. - - - - - A #FooiGenAuthorize. - - - - A #GDBusMethodInvocation. - - - - - - - - -Gets a machine-readable description of the <link linkend="gdbus-interface-org-project-Authorize.top_of_page">org.project.Authorize</link> D-Bus interface. - - - - - - A #GDBusInterfaceInfo. Do not free. - - - - - -Overrides all #GObject properties in the #FooiGenAuthorize interface for a concrete class. -The properties are overridden in the order they are defined. - - - - - - The class structure for a #GObject<!-- -->-derived class. - - - - The property id to assign to the first overridden property. - - - - The last property id. - - - - - -Asynchronously creates a proxy for the D-Bus interface <link linkend="gdbus-interface-org-project-Authorize.top_of_page">org.project.Authorize</link>. See g_dbus_proxy_new() for more details. - -When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. -You can then call foo_igen_authorize_proxy_new_finish() to get the result of the operation. - -See foo_igen_authorize_proxy_new_sync() for the synchronous, blocking version of this constructor. - - - - - A #GDBusConnection. - - - - Flags from the #GDBusProxyFlags enumeration. - - - - A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. - - - - An object path. - - - - A #GCancellable or %NULL. - - - - A #GAsyncReadyCallback to call when the request is satisfied. - - - - User data to pass to @callback. - - - - - - - - -Finishes an operation started with foo_igen_authorize_proxy_new(). - - - - - - The #GAsyncResult obtained from the #GAsyncReadyCallback passed to foo_igen_authorize_proxy_new(). - - - - Return location for error or %NULL - - - - The constructed proxy object or %NULL if @error is set. - - - - - -Like foo_igen_authorize_proxy_new() but takes a #GBusType instead of a #GDBusConnection. - -When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. -You can then call foo_igen_authorize_proxy_new_for_bus_finish() to get the result of the operation. - -See foo_igen_authorize_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. - - - - - A #GBusType. - - - - Flags from the #GDBusProxyFlags enumeration. - - - - A bus name (well-known or unique). - - - - An object path. - - - - A #GCancellable or %NULL. - - - - A #GAsyncReadyCallback to call when the request is satisfied. - - - - User data to pass to @callback. - - - - - - - - -Finishes an operation started with foo_igen_authorize_proxy_new_for_bus(). - - - - - - The #GAsyncResult obtained from the #GAsyncReadyCallback passed to foo_igen_authorize_proxy_new_for_bus(). - - - - Return location for error or %NULL - - - - The constructed proxy object or %NULL if @error is set. - - - - - -Like foo_igen_authorize_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. - -The calling thread is blocked until a reply is received. - -See foo_igen_authorize_proxy_new_for_bus() for the asynchronous version of this constructor. - - - - - - A #GBusType. - - - - Flags from the #GDBusProxyFlags enumeration. - - - - A bus name (well-known or unique). - - - - An object path. - - - - A #GCancellable or %NULL. - - - - Return location for error or %NULL - - - - The constructed proxy object or %NULL if @error is set. - - - - - -Synchronously creates a proxy for the D-Bus interface <link linkend="gdbus-interface-org-project-Authorize.top_of_page">org.project.Authorize</link>. See g_dbus_proxy_new_sync() for more details. - -The calling thread is blocked until a reply is received. - -See foo_igen_authorize_proxy_new() for the asynchronous version of this constructor. - - - - - - A #GDBusConnection. - - - - Flags from the #GDBusProxyFlags enumeration. - - - - A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. - - - - An object path. - - - - A #GCancellable or %NULL. - - - - Return location for error or %NULL - - - - The constructed proxy object or %NULL if @error is set. - - - - - -Creates a skeleton object for the D-Bus interface <link linkend="gdbus-interface-org-project-Authorize.top_of_page">org.project.Authorize</link>. - - - - - - The skeleton object. - - - - - -Asynchronously invokes the <link linkend="gdbus-method-org-project-Bar.HelloWorld">HelloWorld()</link> D-Bus method on @proxy. -When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. -You can then call foo_igen_bar_call_hello_world_finish() to get the result of the operation. - -See foo_igen_bar_call_hello_world_sync() for the synchronous, blocking version of this method. - - - - - A #FooiGenBarProxy. - - - - Argument to pass with the method invocation. - - - - A #GCancellable or %NULL. - - - - A #GAsyncReadyCallback to call when the request is satisfied or %NULL. - - - - User data to pass to @callback. - - - - - - - - -Finishes an operation started with foo_igen_bar_call_hello_world(). - - - - - - A #FooiGenBarProxy. - - - - Return location for return parameter or %NULL to ignore. - - - - The #GAsyncResult obtained from the #GAsyncReadyCallback passed to foo_igen_bar_call_hello_world(). - - - - Return location for error or %NULL. - - - - %TRUE if the call succeded, %FALSE if @error is set. - - - - - -Synchronously invokes the <link linkend="gdbus-method-org-project-Bar.HelloWorld">HelloWorld()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. - -See foo_igen_bar_call_hello_world() for the asynchronous version of this method. - - - - - - A #FooiGenBarProxy. - - - - Argument to pass with the method invocation. - - - - Return location for return parameter or %NULL to ignore. - - - - A #GCancellable or %NULL. - - - - Return location for error or %NULL. - - - - %TRUE if the call succeded, %FALSE if @error is set. - - - - - -Asynchronously invokes the <link linkend="gdbus-method-org-project-Bar.PropertyCancellation">PropertyCancellation()</link> D-Bus method on @proxy. -When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. -You can then call foo_igen_bar_call_property_cancellation_finish() to get the result of the operation. - -See foo_igen_bar_call_property_cancellation_sync() for the synchronous, blocking version of this method. - - - - - A #FooiGenBarProxy. - - - - A #GCancellable or %NULL. - - - - A #GAsyncReadyCallback to call when the request is satisfied or %NULL. - - - - User data to pass to @callback. - - - - - - - - -Finishes an operation started with foo_igen_bar_call_property_cancellation(). - - - - - - A #FooiGenBarProxy. - - - - The #GAsyncResult obtained from the #GAsyncReadyCallback passed to foo_igen_bar_call_property_cancellation(). - - - - Return location for error or %NULL. - - - - %TRUE if the call succeded, %FALSE if @error is set. - - - - - -Synchronously invokes the <link linkend="gdbus-method-org-project-Bar.PropertyCancellation">PropertyCancellation()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. - -See foo_igen_bar_call_property_cancellation() for the asynchronous version of this method. - - - - - - A #FooiGenBarProxy. - - - - A #GCancellable or %NULL. - - - - Return location for error or %NULL. - - - - %TRUE if the call succeded, %FALSE if @error is set. - - - - - -Asynchronously invokes the <link linkend="gdbus-method-org-project-Bar.RequestMultiPropertyMods">RequestMultiPropertyMods()</link> D-Bus method on @proxy. -When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. -You can then call foo_igen_bar_call_request_multi_property_mods_finish() to get the result of the operation. - -See foo_igen_bar_call_request_multi_property_mods_sync() for the synchronous, blocking version of this method. - - - - - A #FooiGenBarProxy. - - - - A #GCancellable or %NULL. - - - - A #GAsyncReadyCallback to call when the request is satisfied or %NULL. - - - - User data to pass to @callback. - - - - - - - - -Finishes an operation started with foo_igen_bar_call_request_multi_property_mods(). - - - - - - A #FooiGenBarProxy. - - - - The #GAsyncResult obtained from the #GAsyncReadyCallback passed to foo_igen_bar_call_request_multi_property_mods(). - - - - Return location for error or %NULL. - - - - %TRUE if the call succeded, %FALSE if @error is set. - - - - - -Synchronously invokes the <link linkend="gdbus-method-org-project-Bar.RequestMultiPropertyMods">RequestMultiPropertyMods()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. - -See foo_igen_bar_call_request_multi_property_mods() for the asynchronous version of this method. - - - - - - A #FooiGenBarProxy. - - - - A #GCancellable or %NULL. - - - - Return location for error or %NULL. - - - - %TRUE if the call succeded, %FALSE if @error is set. - - - - - -Asynchronously invokes the <link linkend="gdbus-method-org-project-Bar.RequestSignalEmission">RequestSignalEmission()</link> D-Bus method on @proxy. -When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. -You can then call foo_igen_bar_call_request_signal_emission_finish() to get the result of the operation. - -See foo_igen_bar_call_request_signal_emission_sync() for the synchronous, blocking version of this method. - - - - - A #FooiGenBarProxy. - - - - Argument to pass with the method invocation. - - - - A #GCancellable or %NULL. - - - - A #GAsyncReadyCallback to call when the request is satisfied or %NULL. - - - - User data to pass to @callback. - - - - - - - - -Finishes an operation started with foo_igen_bar_call_request_signal_emission(). - - - - - - A #FooiGenBarProxy. - - - - The #GAsyncResult obtained from the #GAsyncReadyCallback passed to foo_igen_bar_call_request_signal_emission(). - - - - Return location for error or %NULL. - - - - %TRUE if the call succeded, %FALSE if @error is set. - - - - - -Synchronously invokes the <link linkend="gdbus-method-org-project-Bar.RequestSignalEmission">RequestSignalEmission()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. - -See foo_igen_bar_call_request_signal_emission() for the asynchronous version of this method. - - - - - - A #FooiGenBarProxy. - - - - Argument to pass with the method invocation. - - - - A #GCancellable or %NULL. - - - - Return location for error or %NULL. - - - - %TRUE if the call succeded, %FALSE if @error is set. - - - - - -Asynchronously invokes the <link linkend="gdbus-method-org-project-Bar.TestNonPrimitiveTypes">TestNonPrimitiveTypes()</link> D-Bus method on @proxy. -When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. -You can then call foo_igen_bar_call_test_non_primitive_types_finish() to get the result of the operation. - -See foo_igen_bar_call_test_non_primitive_types_sync() for the synchronous, blocking version of this method. - - - - - A #FooiGenBarProxy. - - - - Argument to pass with the method invocation. - - - - Argument to pass with the method invocation. - - - - Argument to pass with the method invocation. - - - - Argument to pass with the method invocation. - - - - Argument to pass with the method invocation. - - - - Argument to pass with the method invocation. - - - - Argument to pass with the method invocation. - - - - A #GCancellable or %NULL. - - - - A #GAsyncReadyCallback to call when the request is satisfied or %NULL. - - - - User data to pass to @callback. - - - - - - - - -Finishes an operation started with foo_igen_bar_call_test_non_primitive_types(). - - - - - - A #FooiGenBarProxy. - - - - Return location for return parameter or %NULL to ignore. - - - - The #GAsyncResult obtained from the #GAsyncReadyCallback passed to foo_igen_bar_call_test_non_primitive_types(). - - - - Return location for error or %NULL. - - - - %TRUE if the call succeded, %FALSE if @error is set. - - - - - -Synchronously invokes the <link linkend="gdbus-method-org-project-Bar.TestNonPrimitiveTypes">TestNonPrimitiveTypes()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. - -See foo_igen_bar_call_test_non_primitive_types() for the asynchronous version of this method. - - - - - - A #FooiGenBarProxy. - - - - Argument to pass with the method invocation. - - - - Argument to pass with the method invocation. - - - - Argument to pass with the method invocation. - - - - Argument to pass with the method invocation. - - - - Argument to pass with the method invocation. - - - - Argument to pass with the method invocation. - - - - Argument to pass with the method invocation. - - - - Return location for return parameter or %NULL to ignore. - - - - A #GCancellable or %NULL. - - - - Return location for error or %NULL. - - - - %TRUE if the call succeded, %FALSE if @error is set. - - - - - -Asynchronously invokes the <link linkend="gdbus-method-org-project-Bar.TestPrimitiveTypes">TestPrimitiveTypes()</link> D-Bus method on @proxy. -When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. -You can then call foo_igen_bar_call_test_primitive_types_finish() to get the result of the operation. - -See foo_igen_bar_call_test_primitive_types_sync() for the synchronous, blocking version of this method. - - - - - A #FooiGenBarProxy. - - - - Argument to pass with the method invocation. - - - - Argument to pass with the method invocation. - - - - Argument to pass with the method invocation. - - - - Argument to pass with the method invocation. - - - - Argument to pass with the method invocation. - - - - Argument to pass with the method invocation. - - - - Argument to pass with the method invocation. - - - - Argument to pass with the method invocation. - - - - Argument to pass with the method invocation. - - - - Argument to pass with the method invocation. - - - - Argument to pass with the method invocation. - - - - Argument to pass with the method invocation. - - - - Argument to pass with the method invocation. - - - - A #GCancellable or %NULL. - - - - A #GAsyncReadyCallback to call when the request is satisfied or %NULL. - - - - User data to pass to @callback. - - - - - - - - -Finishes an operation started with foo_igen_bar_call_test_primitive_types(). - - - - - - A #FooiGenBarProxy. - - - - Return location for return parameter or %NULL to ignore. - - - - Return location for return parameter or %NULL to ignore. - - - - Return location for return parameter or %NULL to ignore. - - - - Return location for return parameter or %NULL to ignore. - - - - Return location for return parameter or %NULL to ignore. - - - - Return location for return parameter or %NULL to ignore. - - - - Return location for return parameter or %NULL to ignore. - - - - Return location for return parameter or %NULL to ignore. - - - - Return location for return parameter or %NULL to ignore. - - - - Return location for return parameter or %NULL to ignore. - - - - Return location for return parameter or %NULL to ignore. - - - - Return location for return parameter or %NULL to ignore. - - - - Return location for return parameter or %NULL to ignore. - - - - The #GAsyncResult obtained from the #GAsyncReadyCallback passed to foo_igen_bar_call_test_primitive_types(). - - - - Return location for error or %NULL. - - - - %TRUE if the call succeded, %FALSE if @error is set. - - - - - -Synchronously invokes the <link linkend="gdbus-method-org-project-Bar.TestPrimitiveTypes">TestPrimitiveTypes()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. - -See foo_igen_bar_call_test_primitive_types() for the asynchronous version of this method. - - - - - - A #FooiGenBarProxy. - - - - Argument to pass with the method invocation. - - - - Argument to pass with the method invocation. - - - - Argument to pass with the method invocation. - - - - Argument to pass with the method invocation. - - - - Argument to pass with the method invocation. - - - - Argument to pass with the method invocation. - - - - Argument to pass with the method invocation. - - - - Argument to pass with the method invocation. - - - - Argument to pass with the method invocation. - - - - Argument to pass with the method invocation. - - - - Argument to pass with the method invocation. - - - - Argument to pass with the method invocation. - - - - Argument to pass with the method invocation. - - - - Return location for return parameter or %NULL to ignore. - - - - Return location for return parameter or %NULL to ignore. - - - - Return location for return parameter or %NULL to ignore. - - - - Return location for return parameter or %NULL to ignore. - - - - Return location for return parameter or %NULL to ignore. - - - - Return location for return parameter or %NULL to ignore. - - - - Return location for return parameter or %NULL to ignore. - - - - Return location for return parameter or %NULL to ignore. - - - - Return location for return parameter or %NULL to ignore. - - - - Return location for return parameter or %NULL to ignore. - - - - Return location for return parameter or %NULL to ignore. - - - - Return location for return parameter or %NULL to ignore. - - - - Return location for return parameter or %NULL to ignore. - - - - A #GCancellable or %NULL. - - - - Return location for error or %NULL. - - - - %TRUE if the call succeded, %FALSE if @error is set. - - - - - -Asynchronously invokes the <link linkend="gdbus-method-org-project-Bar.UnimplementedMethod">UnimplementedMethod()</link> D-Bus method on @proxy. -When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. -You can then call foo_igen_bar_call_unimplemented_method_finish() to get the result of the operation. - -See foo_igen_bar_call_unimplemented_method_sync() for the synchronous, blocking version of this method. - - - - - A #FooiGenBarProxy. - - - - A #GCancellable or %NULL. - - - - A #GAsyncReadyCallback to call when the request is satisfied or %NULL. - - - - User data to pass to @callback. - - - - - - - - -Finishes an operation started with foo_igen_bar_call_unimplemented_method(). - - - - - - A #FooiGenBarProxy. - - - - The #GAsyncResult obtained from the #GAsyncReadyCallback passed to foo_igen_bar_call_unimplemented_method(). - - - - Return location for error or %NULL. - - - - %TRUE if the call succeded, %FALSE if @error is set. - - - - - -Synchronously invokes the <link linkend="gdbus-method-org-project-Bar.UnimplementedMethod">UnimplementedMethod()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. - -See foo_igen_bar_call_unimplemented_method() for the asynchronous version of this method. - - - - - - A #FooiGenBarProxy. - - - - A #GCancellable or %NULL. - - - - Return location for error or %NULL. - - - - %TRUE if the call succeded, %FALSE if @error is set. - - - - - -Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-project-Bar.HelloWorld">HelloWorld()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. - -This method will free @invocation, you cannot use it afterwards. - - - - - A #FooiGenBar. - - - - A #GDBusMethodInvocation. - - - - Parameter to return. - - - - - - - - -Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-project-Bar.PropertyCancellation">PropertyCancellation()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. - -This method will free @invocation, you cannot use it afterwards. - - - - - A #FooiGenBar. - - - - A #GDBusMethodInvocation. - - - - - - - - -Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-project-Bar.RequestMultiPropertyMods">RequestMultiPropertyMods()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. - -This method will free @invocation, you cannot use it afterwards. - - - - - A #FooiGenBar. - - - - A #GDBusMethodInvocation. - - - - - - - - -Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-project-Bar.RequestSignalEmission">RequestSignalEmission()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. - -This method will free @invocation, you cannot use it afterwards. - - - - - A #FooiGenBar. - - - - A #GDBusMethodInvocation. - - - - - - - - -Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-project-Bar.TestNonPrimitiveTypes">TestNonPrimitiveTypes()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. - -This method will free @invocation, you cannot use it afterwards. - - - - - A #FooiGenBar. - - - - A #GDBusMethodInvocation. - - - - Parameter to return. - - - - - - - - -Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-project-Bar.TestPrimitiveTypes">TestPrimitiveTypes()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. - -This method will free @invocation, you cannot use it afterwards. - - - - - A #FooiGenBar. - - - - A #GDBusMethodInvocation. - - - - Parameter to return. - - - - Parameter to return. - - - - Parameter to return. - - - - Parameter to return. - - - - Parameter to return. - - - - Parameter to return. - - - - Parameter to return. - - - - Parameter to return. - - - - Parameter to return. - - - - Parameter to return. - - - - Parameter to return. - - - - Parameter to return. - - - - Parameter to return. - - - - - - - - -Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-project-Bar.UnimplementedMethod">UnimplementedMethod()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. - -This method will free @invocation, you cannot use it afterwards. - - - - - A #FooiGenBar. - - - - A #GDBusMethodInvocation. - - - - - - - - -Gets a copy of the <link linkend="gdbus-property-org-project-Bar.aay">"aay"</link> D-Bus property. - -Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side. - - - - - - A #FooiGenBar. - - - - The property value or %NULL if the property is not set. The returned value should be freed with g_strfreev(). - - - - - -Gets a copy of the <link linkend="gdbus-property-org-project-Bar.ag">"ag"</link> D-Bus property. - -Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side. - - - - - - A #FooiGenBar. - - - - The property value or %NULL if the property is not set. The returned value should be freed with g_variant_unref(). - - - - - -Gets a copy of the <link linkend="gdbus-property-org-project-Bar.ao">"ao"</link> D-Bus property. - -Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side. - - - - - - A #FooiGenBar. - - - - The property value or %NULL if the property is not set. The returned value should be freed with g_strfreev(). - - - - - -Gets a copy of the <link linkend="gdbus-property-org-project-Bar.as">"as"</link> D-Bus property. - -Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side. - - - - - - A #FooiGenBar. - - - - The property value or %NULL if the property is not set. The returned value should be freed with g_strfreev(). - - - - - -Gets a copy of the <link linkend="gdbus-property-org-project-Bar.ay">"ay"</link> D-Bus property. - -Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side. - - - - - - A #FooiGenBar. - - - - The property value or %NULL if the property is not set. The returned value should be freed with g_free(). - - - - - -Gets a copy of the <link linkend="gdbus-property-org-project-Bar.FinallyNormalName">"FinallyNormalName"</link> D-Bus property. - -Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side. - - - - - - A #FooiGenBar. - - - - The property value or %NULL if the property is not set. The returned value should be freed with g_free(). - - - - - -Gets a copy of the <link linkend="gdbus-property-org-project-Bar.g">"g"</link> D-Bus property. - -Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side. - - - - - - A #FooiGenBar. - - - - The property value or %NULL if the property is not set. The returned value should be freed with g_free(). - - - - - -Gets a copy of the <link linkend="gdbus-property-org-project-Bar.o">"o"</link> D-Bus property. - -Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side. - - - - - - A #FooiGenBar. - - - - The property value or %NULL if the property is not set. The returned value should be freed with g_free(). - - - - - -Gets a copy of the <link linkend="gdbus-property-org-project-Bar.ReadonlyProperty">"ReadonlyProperty"</link> D-Bus property. - -Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. - - - - - - A #FooiGenBar. - - - - The property value or %NULL if the property is not set. The returned value should be freed with g_free(). - - - - - -Gets a copy of the <link linkend="gdbus-property-org-project-Bar.s">"s"</link> D-Bus property. - -Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side. - - - - - - A #FooiGenBar. - - - - The property value or %NULL if the property is not set. The returned value should be freed with g_free(). - - - - - -Gets a copy of the <link linkend="gdbus-property-org-project-Bar.unset_ag">"unset_ag"</link> D-Bus property. - -Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side. - - - - - - A #FooiGenBar. - - - - The property value or %NULL if the property is not set. The returned value should be freed with g_variant_unref(). - - - - - -Gets a copy of the <link linkend="gdbus-property-org-project-Bar.unset_ao">"unset_ao"</link> D-Bus property. - -Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side. - - - - - - A #FooiGenBar. - - - - The property value or %NULL if the property is not set. The returned value should be freed with g_strfreev(). - - - - - -Gets a copy of the <link linkend="gdbus-property-org-project-Bar.unset_as">"unset_as"</link> D-Bus property. - -Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side. - - - - - - A #FooiGenBar. - - - - The property value or %NULL if the property is not set. The returned value should be freed with g_strfreev(). - - - - - -Gets a copy of the <link linkend="gdbus-property-org-project-Bar.unset_ay">"unset_ay"</link> D-Bus property. - -Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side. - - - - - - A #FooiGenBar. - - - - The property value or %NULL if the property is not set. The returned value should be freed with g_free(). - - - - - -Gets a copy of the <link linkend="gdbus-property-org-project-Bar.unset_g">"unset_g"</link> D-Bus property. - -Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side. - - - - - - A #FooiGenBar. - - - - The property value or %NULL if the property is not set. The returned value should be freed with g_free(). - - - - - -Gets a copy of the <link linkend="gdbus-property-org-project-Bar.unset_o">"unset_o"</link> D-Bus property. - -Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side. - - - - - - A #FooiGenBar. - - - - The property value or %NULL if the property is not set. The returned value should be freed with g_free(). - - - - - -Gets a copy of the <link linkend="gdbus-property-org-project-Bar.unset_s">"unset_s"</link> D-Bus property. - -Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side. - - - - - - A #FooiGenBar. - - - - The property value or %NULL if the property is not set. The returned value should be freed with g_free(). - - - - - -Gets a copy of the <link linkend="gdbus-property-org-project-Bar.unset_struct">"unset_struct"</link> D-Bus property. - -Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side. - - - - - - A #FooiGenBar. - - - - The property value or %NULL if the property is not set. The returned value should be freed with g_variant_unref(). - - - - - -Gets a copy of the <link linkend="gdbus-property-org-project-Bar.WriteonlyProperty">"WriteonlyProperty"</link> D-Bus property. - -Since this D-Bus property is not readable, it is only meaningful to use this function on the service-side. - - - - - - A #FooiGenBar. - - - - The property value or %NULL if the property is not set. The returned value should be freed with g_free(). - - - - - -Emits the <link linkend="gdbus-signal-org-project-Bar.AnotherSignal">"AnotherSignal"</link> D-Bus signal. - - - - - A #FooiGenBar. - - - - Argument to pass with the signal. - - - - - - - - -Emits the <link linkend="gdbus-signal-org-project-Bar.TestSignal">"TestSignal"</link> D-Bus signal. - - - - - A #FooiGenBar. - - - - Argument to pass with the signal. - - - - Argument to pass with the signal. - - - - Argument to pass with the signal. - - - - Argument to pass with the signal. - - - - - - - - -Asynchronously invokes the <link linkend="gdbus-method-org-project-Bar-Frobnicator.RandomMethod">RandomMethod()</link> D-Bus method on @proxy. -When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. -You can then call foo_igen_bar_frobnicator_call_random_method_finish() to get the result of the operation. - -See foo_igen_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. - - - - - A #FooiGenBarFrobnicatorProxy. - - - - A #GCancellable or %NULL. - - - - A #GAsyncReadyCallback to call when the request is satisfied or %NULL. - - - - User data to pass to @callback. - - - - - - - - -Finishes an operation started with foo_igen_bar_frobnicator_call_random_method(). - - - - - - A #FooiGenBarFrobnicatorProxy. - - - - The #GAsyncResult obtained from the #GAsyncReadyCallback passed to foo_igen_bar_frobnicator_call_random_method(). - - - - Return location for error or %NULL. - - - - %TRUE if the call succeded, %FALSE if @error is set. - - - - - -Synchronously invokes the <link linkend="gdbus-method-org-project-Bar-Frobnicator.RandomMethod">RandomMethod()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. - -See foo_igen_bar_frobnicator_call_random_method() for the asynchronous version of this method. - - - - - - A #FooiGenBarFrobnicatorProxy. - - - - A #GCancellable or %NULL. - - - - Return location for error or %NULL. - - - - %TRUE if the call succeded, %FALSE if @error is set. - - - - - -Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-project-Bar-Frobnicator.RandomMethod">RandomMethod()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. - -This method will free @invocation, you cannot use it afterwards. - - - - - A #FooiGenBarFrobnicator. - - - - A #GDBusMethodInvocation. - - - - - - - - -Gets a machine-readable description of the <link linkend="gdbus-interface-org-project-Bar-Frobnicator.top_of_page">org.project.Bar.Frobnicator</link> D-Bus interface. - - - - - - A #GDBusInterfaceInfo. Do not free. - - - - - -Overrides all #GObject properties in the #FooiGenBarFrobnicator interface for a concrete class. -The properties are overridden in the order they are defined. - - - - - - The class structure for a #GObject<!-- -->-derived class. - - - - The property id to assign to the first overridden property. - - - - The last property id. - - - - - -Asynchronously creates a proxy for the D-Bus interface <link linkend="gdbus-interface-org-project-Bar-Frobnicator.top_of_page">org.project.Bar.Frobnicator</link>. See g_dbus_proxy_new() for more details. - -When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. -You can then call foo_igen_bar_frobnicator_proxy_new_finish() to get the result of the operation. - -See foo_igen_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. - - - - - A #GDBusConnection. - - - - Flags from the #GDBusProxyFlags enumeration. - - - - A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. - - - - An object path. - - - - A #GCancellable or %NULL. - - - - A #GAsyncReadyCallback to call when the request is satisfied. - - - - User data to pass to @callback. - - - - - - - - -Finishes an operation started with foo_igen_bar_frobnicator_proxy_new(). - - - - - - The #GAsyncResult obtained from the #GAsyncReadyCallback passed to foo_igen_bar_frobnicator_proxy_new(). - - - - Return location for error or %NULL - - - - The constructed proxy object or %NULL if @error is set. - - - - - -Like foo_igen_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. - -When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. -You can then call foo_igen_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. - -See foo_igen_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. - - - - - A #GBusType. - - - - Flags from the #GDBusProxyFlags enumeration. - - - - A bus name (well-known or unique). - - - - An object path. - - - - A #GCancellable or %NULL. - - - - A #GAsyncReadyCallback to call when the request is satisfied. - - - - User data to pass to @callback. - - - - - - - - -Finishes an operation started with foo_igen_bar_frobnicator_proxy_new_for_bus(). - - - - - - The #GAsyncResult obtained from the #GAsyncReadyCallback passed to foo_igen_bar_frobnicator_proxy_new_for_bus(). - - - - Return location for error or %NULL - - - - The constructed proxy object or %NULL if @error is set. - - - - - -Like foo_igen_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. - -The calling thread is blocked until a reply is received. - -See foo_igen_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. - - - - - - A #GBusType. - - - - Flags from the #GDBusProxyFlags enumeration. - - - - A bus name (well-known or unique). - - - - An object path. - - - - A #GCancellable or %NULL. - - - - Return location for error or %NULL - - - - The constructed proxy object or %NULL if @error is set. - - - - - -Synchronously creates a proxy for the D-Bus interface <link linkend="gdbus-interface-org-project-Bar-Frobnicator.top_of_page">org.project.Bar.Frobnicator</link>. See g_dbus_proxy_new_sync() for more details. - -The calling thread is blocked until a reply is received. - -See foo_igen_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. - - - - - - A #GDBusConnection. - - - - Flags from the #GDBusProxyFlags enumeration. - - - - A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. - - - - An object path. - - - - A #GCancellable or %NULL. - - - - Return location for error or %NULL - - - - The constructed proxy object or %NULL if @error is set. - - - - - -Creates a skeleton object for the D-Bus interface <link linkend="gdbus-interface-org-project-Bar-Frobnicator.top_of_page">org.project.Bar.Frobnicator</link>. - - - - - - The skeleton object. - - - - - -Gets the value of the <link linkend="gdbus-property-org-project-Bar.aay">"aay"</link> D-Bus property. - -Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side. - -<warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use foo_igen_bar_dup_aay() if on another thread.</warning> - - - - - - A #FooiGenBar. - - - - The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. - - - - - -Gets the value of the <link linkend="gdbus-property-org-project-Bar.ag">"ag"</link> D-Bus property. - -Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side. - -<warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use foo_igen_bar_dup_ag() if on another thread.</warning> - - - - - - A #FooiGenBar. - - - - The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. - - - - - -Gets the value of the <link linkend="gdbus-property-org-project-Bar.ao">"ao"</link> D-Bus property. - -Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side. - -<warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use foo_igen_bar_dup_ao() if on another thread.</warning> - - - - - - A #FooiGenBar. - - - - The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. - - - - - -Gets the value of the <link linkend="gdbus-property-org-project-Bar.as">"as"</link> D-Bus property. - -Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side. - -<warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use foo_igen_bar_dup_as() if on another thread.</warning> - - - - - - A #FooiGenBar. - - - - The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. - - - - - -Gets the value of the <link linkend="gdbus-property-org-project-Bar.ay">"ay"</link> D-Bus property. - -Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side. - -<warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use foo_igen_bar_dup_ay() if on another thread.</warning> - - - - - - A #FooiGenBar. - - - - The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. - - - - - -Gets the value of the <link linkend="gdbus-property-org-project-Bar.b">"b"</link> D-Bus property. - -Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side. - - - - - - A #FooiGenBar. - - - - The property value. - - - - - -Gets the value of the <link linkend="gdbus-property-org-project-Bar.d">"d"</link> D-Bus property. - -Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side. - - - - - - A #FooiGenBar. - - - - The property value. - - - - - -Gets the value of the <link linkend="gdbus-property-org-project-Bar.FinallyNormalName">"FinallyNormalName"</link> D-Bus property. - -Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side. - -<warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use foo_igen_bar_dup_finally_normal_name() if on another thread.</warning> - - - - - - A #FooiGenBar. - - - - The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. - - - - - -Gets the value of the <link linkend="gdbus-property-org-project-Bar.g">"g"</link> D-Bus property. - -Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side. - -<warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use foo_igen_bar_dup_g() if on another thread.</warning> - - - - - - A #FooiGenBar. - - - - The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. - - - - - -Gets the value of the <link linkend="gdbus-property-org-project-Bar.i">"i"</link> D-Bus property. - -Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side. - - - - - - A #FooiGenBar. - - - - The property value. - - - - - -Gets the value of the <link linkend="gdbus-property-org-project-Bar.n">"n"</link> D-Bus property. - -Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side. - - - - - - A #FooiGenBar. - - - - The property value. - - - - - -Gets the value of the <link linkend="gdbus-property-org-project-Bar.o">"o"</link> D-Bus property. - -Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side. - -<warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use foo_igen_bar_dup_o() if on another thread.</warning> - - - - - - A #FooiGenBar. - - - - The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. - - - - - -Gets the value of the <link linkend="gdbus-property-org-project-Bar.q">"q"</link> D-Bus property. - -Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side. - - - - - - A #FooiGenBar. - - - - The property value. - - - - - -Gets the value of the <link linkend="gdbus-property-org-project-Bar.ReadonlyProperty">"ReadonlyProperty"</link> D-Bus property. - -Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. - -<warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use foo_igen_bar_dup_readonly_property() if on another thread.</warning> - - - - - - A #FooiGenBar. - - - - The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. - - - - - -Gets the value of the <link linkend="gdbus-property-org-project-Bar.s">"s"</link> D-Bus property. - -Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side. - -<warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use foo_igen_bar_dup_s() if on another thread.</warning> - - - - - - A #FooiGenBar. - - - - The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. - - - - - -Gets the value of the <link linkend="gdbus-property-org-project-Bar.t">"t"</link> D-Bus property. - -Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side. - - - - - - A #FooiGenBar. - - - - The property value. - - - - - -Gets the value of the <link linkend="gdbus-property-org-project-Bar.u">"u"</link> D-Bus property. - -Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side. - - - - - - A #FooiGenBar. - - - - The property value. - - - - - -Gets the value of the <link linkend="gdbus-property-org-project-Bar.unset_ag">"unset_ag"</link> D-Bus property. - -Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side. - -<warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use foo_igen_bar_dup_unset_ag() if on another thread.</warning> - - - - - - A #FooiGenBar. - - - - The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. - - - - - -Gets the value of the <link linkend="gdbus-property-org-project-Bar.unset_ao">"unset_ao"</link> D-Bus property. - -Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side. - -<warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use foo_igen_bar_dup_unset_ao() if on another thread.</warning> - - - - - - A #FooiGenBar. - - - - The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. - - - - - -Gets the value of the <link linkend="gdbus-property-org-project-Bar.unset_as">"unset_as"</link> D-Bus property. - -Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side. - -<warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use foo_igen_bar_dup_unset_as() if on another thread.</warning> - - - - - - A #FooiGenBar. - - - - The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. - - - - - -Gets the value of the <link linkend="gdbus-property-org-project-Bar.unset_ay">"unset_ay"</link> D-Bus property. - -Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side. - -<warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use foo_igen_bar_dup_unset_ay() if on another thread.</warning> - - - - - - A #FooiGenBar. - - - - The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. - - - - - -Gets the value of the <link linkend="gdbus-property-org-project-Bar.unset_d">"unset_d"</link> D-Bus property. - -Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side. - - - - - - A #FooiGenBar. - - - - The property value. - - - - - -Gets the value of the <link linkend="gdbus-property-org-project-Bar.unset_g">"unset_g"</link> D-Bus property. - -Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side. - -<warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use foo_igen_bar_dup_unset_g() if on another thread.</warning> - - - - - - A #FooiGenBar. - - - - The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. - - - - - -Gets the value of the <link linkend="gdbus-property-org-project-Bar.unset_i">"unset_i"</link> D-Bus property. - -Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side. - - - - - - A #FooiGenBar. - - - - The property value. - - - - - -Gets the value of the <link linkend="gdbus-property-org-project-Bar.unset_o">"unset_o"</link> D-Bus property. - -Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side. - -<warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use foo_igen_bar_dup_unset_o() if on another thread.</warning> - - - - - - A #FooiGenBar. - - - - The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. - - - - - -Gets the value of the <link linkend="gdbus-property-org-project-Bar.unset_s">"unset_s"</link> D-Bus property. - -Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side. - -<warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use foo_igen_bar_dup_unset_s() if on another thread.</warning> - - - - - - A #FooiGenBar. - - - - The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. - - - - - -Gets the value of the <link linkend="gdbus-property-org-project-Bar.unset_struct">"unset_struct"</link> D-Bus property. - -Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side. - -<warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use foo_igen_bar_dup_unset_struct() if on another thread.</warning> - - - - - - A #FooiGenBar. - - - - The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. - - - - - -Gets the value of the <link linkend="gdbus-property-org-project-Bar.WriteonlyProperty">"WriteonlyProperty"</link> D-Bus property. - -Since this D-Bus property is not readable, it is only meaningful to use this function on the service-side. - -<warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use foo_igen_bar_dup_writeonly_property() if on another thread.</warning> - - - - - - A #FooiGenBar. - - - - The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. - - - - - -Gets the value of the <link linkend="gdbus-property-org-project-Bar.x">"x"</link> D-Bus property. - -Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side. - - - - - - A #FooiGenBar. - - - - The property value. - - - - - -Gets the value of the <link linkend="gdbus-property-org-project-Bar.y">"y"</link> D-Bus property. - -Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side. - - - - - - A #FooiGenBar. - - - - The property value. - - - - - -Gets a machine-readable description of the <link linkend="gdbus-interface-org-project-Bar.top_of_page">org.project.Bar</link> D-Bus interface. - - - - - - A #GDBusInterfaceInfo. Do not free. - - - - - -Overrides all #GObject properties in the #FooiGenBar interface for a concrete class. -The properties are overridden in the order they are defined. - - - - - - The class structure for a #GObject<!-- -->-derived class. - - - - The property id to assign to the first overridden property. - - - - The last property id. - - - - - -Asynchronously creates a proxy for the D-Bus interface <link linkend="gdbus-interface-org-project-Bar.top_of_page">org.project.Bar</link>. See g_dbus_proxy_new() for more details. - -When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. -You can then call foo_igen_bar_proxy_new_finish() to get the result of the operation. - -See foo_igen_bar_proxy_new_sync() for the synchronous, blocking version of this constructor. - - - - - A #GDBusConnection. - - - - Flags from the #GDBusProxyFlags enumeration. - - - - A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. - - - - An object path. - - - - A #GCancellable or %NULL. - - - - A #GAsyncReadyCallback to call when the request is satisfied. - - - - User data to pass to @callback. - - - - - - - - -Finishes an operation started with foo_igen_bar_proxy_new(). - - - - - - The #GAsyncResult obtained from the #GAsyncReadyCallback passed to foo_igen_bar_proxy_new(). - - - - Return location for error or %NULL - - - - The constructed proxy object or %NULL if @error is set. - - - - - -Like foo_igen_bar_proxy_new() but takes a #GBusType instead of a #GDBusConnection. - -When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. -You can then call foo_igen_bar_proxy_new_for_bus_finish() to get the result of the operation. - -See foo_igen_bar_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. - - - - - A #GBusType. - - - - Flags from the #GDBusProxyFlags enumeration. - - - - A bus name (well-known or unique). - - - - An object path. - - - - A #GCancellable or %NULL. - - - - A #GAsyncReadyCallback to call when the request is satisfied. - - - - User data to pass to @callback. - - - - - - - - -Finishes an operation started with foo_igen_bar_proxy_new_for_bus(). - - - - - - The #GAsyncResult obtained from the #GAsyncReadyCallback passed to foo_igen_bar_proxy_new_for_bus(). - - - - Return location for error or %NULL - - - - The constructed proxy object or %NULL if @error is set. - - - - - -Like foo_igen_bar_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. - -The calling thread is blocked until a reply is received. - -See foo_igen_bar_proxy_new_for_bus() for the asynchronous version of this constructor. - - - - - - A #GBusType. - - - - Flags from the #GDBusProxyFlags enumeration. - - - - A bus name (well-known or unique). - - - - An object path. - - - - A #GCancellable or %NULL. - - - - Return location for error or %NULL - - - - The constructed proxy object or %NULL if @error is set. - - - - - -Synchronously creates a proxy for the D-Bus interface <link linkend="gdbus-interface-org-project-Bar.top_of_page">org.project.Bar</link>. See g_dbus_proxy_new_sync() for more details. - -The calling thread is blocked until a reply is received. - -See foo_igen_bar_proxy_new() for the asynchronous version of this constructor. - - - - - - A #GDBusConnection. - - - - Flags from the #GDBusProxyFlags enumeration. - - - - A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. - - - - An object path. - - - - A #GCancellable or %NULL. - - - - Return location for error or %NULL - - - - The constructed proxy object or %NULL if @error is set. - - - - - -Sets the <link linkend="gdbus-property-org-project-Bar.aay">"aay"</link> D-Bus property to @value. - -Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side. - - - - - A #FooiGenBar. - - - - The value to set. - - - - - - - - -Sets the <link linkend="gdbus-property-org-project-Bar.ag">"ag"</link> D-Bus property to @value. - -Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side. - - - - - A #FooiGenBar. - - - - The value to set. - - - - - - - - -Sets the <link linkend="gdbus-property-org-project-Bar.ao">"ao"</link> D-Bus property to @value. - -Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side. - - - - - A #FooiGenBar. - - - - The value to set. - - - - - - - - -Sets the <link linkend="gdbus-property-org-project-Bar.as">"as"</link> D-Bus property to @value. - -Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side. - - - - - A #FooiGenBar. - - - - The value to set. - - - - - - - - -Sets the <link linkend="gdbus-property-org-project-Bar.ay">"ay"</link> D-Bus property to @value. - -Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side. - - - - - A #FooiGenBar. - - - - The value to set. - - - - - - - - -Sets the <link linkend="gdbus-property-org-project-Bar.b">"b"</link> D-Bus property to @value. - -Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side. - - - - - A #FooiGenBar. - - - - The value to set. - - - - - - - - -Sets the <link linkend="gdbus-property-org-project-Bar.d">"d"</link> D-Bus property to @value. - -Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side. - - - - - A #FooiGenBar. - - - - The value to set. - - - - - - - - -Sets the <link linkend="gdbus-property-org-project-Bar.FinallyNormalName">"FinallyNormalName"</link> D-Bus property to @value. - -Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side. - - - - - A #FooiGenBar. - - - - The value to set. - - - - - - - - -Sets the <link linkend="gdbus-property-org-project-Bar.g">"g"</link> D-Bus property to @value. - -Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side. - - - - - A #FooiGenBar. - - - - The value to set. - - - - - - - - -Sets the <link linkend="gdbus-property-org-project-Bar.i">"i"</link> D-Bus property to @value. - -Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side. - - - - - A #FooiGenBar. - - - - The value to set. - - - - - - - - -Sets the <link linkend="gdbus-property-org-project-Bar.n">"n"</link> D-Bus property to @value. - -Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side. - - - - - A #FooiGenBar. - - - - The value to set. - - - - - - - - -Sets the <link linkend="gdbus-property-org-project-Bar.o">"o"</link> D-Bus property to @value. - -Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side. - - - - - A #FooiGenBar. - - - - The value to set. - - - - - - - - -Sets the <link linkend="gdbus-property-org-project-Bar.q">"q"</link> D-Bus property to @value. - -Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side. - - - - - A #FooiGenBar. - - - - The value to set. - - - - - - - - -Sets the <link linkend="gdbus-property-org-project-Bar.ReadonlyProperty">"ReadonlyProperty"</link> D-Bus property to @value. - -Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. - - - - - A #FooiGenBar. - - - - The value to set. - - - - - - - - -Sets the <link linkend="gdbus-property-org-project-Bar.s">"s"</link> D-Bus property to @value. - -Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side. - - - - - A #FooiGenBar. - - - - The value to set. - - - - - - - - -Sets the <link linkend="gdbus-property-org-project-Bar.t">"t"</link> D-Bus property to @value. - -Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side. - - - - - A #FooiGenBar. - - - - The value to set. - - - - - - - - -Sets the <link linkend="gdbus-property-org-project-Bar.u">"u"</link> D-Bus property to @value. - -Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side. - - - - - A #FooiGenBar. - - - - The value to set. - - - - - - - - -Sets the <link linkend="gdbus-property-org-project-Bar.unset_ag">"unset_ag"</link> D-Bus property to @value. - -Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side. - - - - - A #FooiGenBar. - - - - The value to set. - - - - - - - - -Sets the <link linkend="gdbus-property-org-project-Bar.unset_ao">"unset_ao"</link> D-Bus property to @value. - -Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side. - - - - - A #FooiGenBar. - - - - The value to set. - - - - - - - - -Sets the <link linkend="gdbus-property-org-project-Bar.unset_as">"unset_as"</link> D-Bus property to @value. - -Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side. - - - - - A #FooiGenBar. - - - - The value to set. - - - - - - - - -Sets the <link linkend="gdbus-property-org-project-Bar.unset_ay">"unset_ay"</link> D-Bus property to @value. - -Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side. - - - - - A #FooiGenBar. - - - - The value to set. - - - - - - - - -Sets the <link linkend="gdbus-property-org-project-Bar.unset_d">"unset_d"</link> D-Bus property to @value. - -Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side. - - - - - A #FooiGenBar. - - - - The value to set. - - - - - - - - -Sets the <link linkend="gdbus-property-org-project-Bar.unset_g">"unset_g"</link> D-Bus property to @value. - -Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side. - - - - - A #FooiGenBar. - - - - The value to set. - - - - - - - - -Sets the <link linkend="gdbus-property-org-project-Bar.unset_i">"unset_i"</link> D-Bus property to @value. - -Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side. - - - - - A #FooiGenBar. - - - - The value to set. - - - - - - - - -Sets the <link linkend="gdbus-property-org-project-Bar.unset_o">"unset_o"</link> D-Bus property to @value. - -Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side. - - - - - A #FooiGenBar. - - - - The value to set. - - - - - - - - -Sets the <link linkend="gdbus-property-org-project-Bar.unset_s">"unset_s"</link> D-Bus property to @value. - -Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side. - - - - - A #FooiGenBar. - - - - The value to set. - - - - - - - - -Sets the <link linkend="gdbus-property-org-project-Bar.unset_struct">"unset_struct"</link> D-Bus property to @value. - -Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side. - - - - - A #FooiGenBar. - - - - The value to set. - - - - - - - - -Sets the <link linkend="gdbus-property-org-project-Bar.WriteonlyProperty">"WriteonlyProperty"</link> D-Bus property to @value. - -Since this D-Bus property is writable, it is meaningful to use this function on both the client- and service-side. - - - - - A #FooiGenBar. - - - - The value to set. - - - - - - - - -Sets the <link linkend="gdbus-property-org-project-Bar.x">"x"</link> D-Bus property to @value. - -Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side. - - - - - A #FooiGenBar. - - - - The value to set. - - - - - - - - -Sets the <link linkend="gdbus-property-org-project-Bar.y">"y"</link> D-Bus property to @value. - -Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side. - - - - - A #FooiGenBar. - - - - The value to set. - - - - - - - - -Creates a skeleton object for the D-Bus interface <link linkend="gdbus-interface-org-project-Bar.top_of_page">org.project.Bar</link>. - - - - - - The skeleton object. - - - - - -Asynchronously invokes the <link linkend="gdbus-method-org-project-Bat.ForceMethod">ForceMethod()</link> D-Bus method on @proxy. -When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. -You can then call foo_igen_bat_call_force_method_finish() to get the result of the operation. - -See foo_igen_bat_call_force_method_sync() for the synchronous, blocking version of this method. - - - - - A #FooiGenBatProxy. - - - - Argument to pass with the method invocation. - - - - Argument to pass with the method invocation. - - - - Argument to pass with the method invocation. - - - - Argument to pass with the method invocation. - - - - A #GCancellable or %NULL. - - - - A #GAsyncReadyCallback to call when the request is satisfied or %NULL. - - - - User data to pass to @callback. - - - - - - - - -Finishes an operation started with foo_igen_bat_call_force_method(). - - - - - - A #FooiGenBatProxy. - - - - Return location for return parameter or %NULL to ignore. - - - - Return location for return parameter or %NULL to ignore. - - - - Return location for return parameter or %NULL to ignore. - - - - Return location for return parameter or %NULL to ignore. - - - - The #GAsyncResult obtained from the #GAsyncReadyCallback passed to foo_igen_bat_call_force_method(). - - - - Return location for error or %NULL. - - - - %TRUE if the call succeded, %FALSE if @error is set. - - - - - -Synchronously invokes the <link linkend="gdbus-method-org-project-Bat.ForceMethod">ForceMethod()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. - -See foo_igen_bat_call_force_method() for the asynchronous version of this method. - - - - - - A #FooiGenBatProxy. - - - - Argument to pass with the method invocation. - - - - Argument to pass with the method invocation. - - - - Argument to pass with the method invocation. - - - - Argument to pass with the method invocation. - - - - Return location for return parameter or %NULL to ignore. - - - - Return location for return parameter or %NULL to ignore. - - - - Return location for return parameter or %NULL to ignore. - - - - Return location for return parameter or %NULL to ignore. - - - - A #GCancellable or %NULL. - - - - Return location for error or %NULL. - - - - %TRUE if the call succeded, %FALSE if @error is set. - - - - - -Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-project-Bat.ForceMethod">ForceMethod()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. - -This method will free @invocation, you cannot use it afterwards. - - - - - A #FooiGenBat. - - - - A #GDBusMethodInvocation. - - - - Parameter to return. - - - - Parameter to return. - - - - Parameter to return. - - - - Parameter to return. - - - - - - - - -Gets a copy of the <link linkend="gdbus-property-org-project-Bat.force_ay">"force_ay"</link> D-Bus property. - -Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side. - - - - - - A #FooiGenBat. - - - - The property value or %NULL if the property is not set. The returned value should be freed with g_variant_unref(). - - - - - -Gets a copy of the <link linkend="gdbus-property-org-project-Bat.force_i">"force_i"</link> D-Bus property. - -Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side. - - - - - - A #FooiGenBat. - - - - The property value or %NULL if the property is not set. The returned value should be freed with g_variant_unref(). - - - - - -Gets a copy of the <link linkend="gdbus-property-org-project-Bat.force_s">"force_s"</link> D-Bus property. - -Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side. - - - - - - A #FooiGenBat. - - - - The property value or %NULL if the property is not set. The returned value should be freed with g_variant_unref(). - - - - - -Gets a copy of the <link linkend="gdbus-property-org-project-Bat.force_struct">"force_struct"</link> D-Bus property. - -Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side. - - - - - - A #FooiGenBat. - - - - The property value or %NULL if the property is not set. The returned value should be freed with g_variant_unref(). - - - - - -Emits the <link linkend="gdbus-signal-org-project-Bat.ForceSignal">"ForceSignal"</link> D-Bus signal. - - - - - A #FooiGenBat. - - - - Argument to pass with the signal. - - - - Argument to pass with the signal. - - - - Argument to pass with the signal. - - - - Argument to pass with the signal. - - - - - - - - -Gets the value of the <link linkend="gdbus-property-org-project-Bat.force_ay">"force_ay"</link> D-Bus property. - -Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side. - -<warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use foo_igen_bat_dup_force_ay() if on another thread.</warning> - - - - - - A #FooiGenBat. - - - - The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. - - - - - -Gets the value of the <link linkend="gdbus-property-org-project-Bat.force_i">"force_i"</link> D-Bus property. - -Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side. - -<warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use foo_igen_bat_dup_force_i() if on another thread.</warning> - - - - - - A #FooiGenBat. - - - - The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. - - - - - -Gets the value of the <link linkend="gdbus-property-org-project-Bat.force_s">"force_s"</link> D-Bus property. - -Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side. - -<warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use foo_igen_bat_dup_force_s() if on another thread.</warning> - - - - - - A #FooiGenBat. - - - - The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. - - - - - -Gets the value of the <link linkend="gdbus-property-org-project-Bat.force_struct">"force_struct"</link> D-Bus property. - -Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side. - -<warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use foo_igen_bat_dup_force_struct() if on another thread.</warning> - - - - - - A #FooiGenBat. - - - - The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. - - - - - -Gets a machine-readable description of the <link linkend="gdbus-interface-org-project-Bat.top_of_page">org.project.Bat</link> D-Bus interface. - - - - - - A #GDBusInterfaceInfo. Do not free. - - - - - -Overrides all #GObject properties in the #FooiGenBat interface for a concrete class. -The properties are overridden in the order they are defined. - - - - - - The class structure for a #GObject<!-- -->-derived class. - - - - The property id to assign to the first overridden property. - - - - The last property id. - - - - - -Asynchronously creates a proxy for the D-Bus interface <link linkend="gdbus-interface-org-project-Bat.top_of_page">org.project.Bat</link>. See g_dbus_proxy_new() for more details. - -When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. -You can then call foo_igen_bat_proxy_new_finish() to get the result of the operation. - -See foo_igen_bat_proxy_new_sync() for the synchronous, blocking version of this constructor. - - - - - A #GDBusConnection. - - - - Flags from the #GDBusProxyFlags enumeration. - - - - A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. - - - - An object path. - - - - A #GCancellable or %NULL. - - - - A #GAsyncReadyCallback to call when the request is satisfied. - - - - User data to pass to @callback. - - - - - - - - -Finishes an operation started with foo_igen_bat_proxy_new(). - - - - - - The #GAsyncResult obtained from the #GAsyncReadyCallback passed to foo_igen_bat_proxy_new(). - - - - Return location for error or %NULL - - - - The constructed proxy object or %NULL if @error is set. - - - - - -Like foo_igen_bat_proxy_new() but takes a #GBusType instead of a #GDBusConnection. - -When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. -You can then call foo_igen_bat_proxy_new_for_bus_finish() to get the result of the operation. - -See foo_igen_bat_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. - - - - - A #GBusType. - - - - Flags from the #GDBusProxyFlags enumeration. - - - - A bus name (well-known or unique). - - - - An object path. - - - - A #GCancellable or %NULL. - - - - A #GAsyncReadyCallback to call when the request is satisfied. - - - - User data to pass to @callback. - - - - - - - - -Finishes an operation started with foo_igen_bat_proxy_new_for_bus(). - - - - - - The #GAsyncResult obtained from the #GAsyncReadyCallback passed to foo_igen_bat_proxy_new_for_bus(). - - - - Return location for error or %NULL - - - - The constructed proxy object or %NULL if @error is set. - - - - - -Like foo_igen_bat_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. - -The calling thread is blocked until a reply is received. - -See foo_igen_bat_proxy_new_for_bus() for the asynchronous version of this constructor. - - - - - - A #GBusType. - - - - Flags from the #GDBusProxyFlags enumeration. - - - - A bus name (well-known or unique). - - - - An object path. - - - - A #GCancellable or %NULL. - - - - Return location for error or %NULL - - - - The constructed proxy object or %NULL if @error is set. - - - - - -Synchronously creates a proxy for the D-Bus interface <link linkend="gdbus-interface-org-project-Bat.top_of_page">org.project.Bat</link>. See g_dbus_proxy_new_sync() for more details. - -The calling thread is blocked until a reply is received. - -See foo_igen_bat_proxy_new() for the asynchronous version of this constructor. - - - - - - A #GDBusConnection. - - - - Flags from the #GDBusProxyFlags enumeration. - - - - A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. - - - - An object path. - - - - A #GCancellable or %NULL. - - - - Return location for error or %NULL - - - - The constructed proxy object or %NULL if @error is set. - - - - - -Sets the <link linkend="gdbus-property-org-project-Bat.force_ay">"force_ay"</link> D-Bus property to @value. - -Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side. - - - - - A #FooiGenBat. - - - - The value to set. - - - - - - - - -Sets the <link linkend="gdbus-property-org-project-Bat.force_i">"force_i"</link> D-Bus property to @value. - -Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side. - - - - - A #FooiGenBat. - - - - The value to set. - - - - - - - - -Sets the <link linkend="gdbus-property-org-project-Bat.force_s">"force_s"</link> D-Bus property to @value. - -Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side. - - - - - A #FooiGenBat. - - - - The value to set. - - - - - - - - -Sets the <link linkend="gdbus-property-org-project-Bat.force_struct">"force_struct"</link> D-Bus property to @value. - -Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side. - - - - - A #FooiGenBat. - - - - The value to set. - - - - - - - - -Creates a skeleton object for the D-Bus interface <link linkend="gdbus-interface-org-project-Bat.top_of_page">org.project.Bat</link>. - - - - - - The skeleton object. - - - - - -Gets a machine-readable description of the <link linkend="gdbus-interface-org-project-Baz.top_of_page">org.project.Baz</link> D-Bus interface. - - - - - - A #GDBusInterfaceInfo. Do not free. - - - - - -Overrides all #GObject properties in the #FooiGenBaz interface for a concrete class. -The properties are overridden in the order they are defined. - - - - - - The class structure for a #GObject<!-- -->-derived class. - - - - The property id to assign to the first overridden property. - - - - The last property id. - - - - - -Asynchronously creates a proxy for the D-Bus interface <link linkend="gdbus-interface-org-project-Baz.top_of_page">org.project.Baz</link>. See g_dbus_proxy_new() for more details. - -When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. -You can then call foo_igen_baz_proxy_new_finish() to get the result of the operation. - -See foo_igen_baz_proxy_new_sync() for the synchronous, blocking version of this constructor. - - - - - A #GDBusConnection. - - - - Flags from the #GDBusProxyFlags enumeration. - - - - A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. - - - - An object path. - - - - A #GCancellable or %NULL. - - - - A #GAsyncReadyCallback to call when the request is satisfied. - - - - User data to pass to @callback. - - - - - - - - -Finishes an operation started with foo_igen_baz_proxy_new(). - - - - - - The #GAsyncResult obtained from the #GAsyncReadyCallback passed to foo_igen_baz_proxy_new(). - - - - Return location for error or %NULL - - - - The constructed proxy object or %NULL if @error is set. - - - - - -Like foo_igen_baz_proxy_new() but takes a #GBusType instead of a #GDBusConnection. - -When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. -You can then call foo_igen_baz_proxy_new_for_bus_finish() to get the result of the operation. - -See foo_igen_baz_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. - - - - - A #GBusType. - - - - Flags from the #GDBusProxyFlags enumeration. - - - - A bus name (well-known or unique). - - - - An object path. - - - - A #GCancellable or %NULL. - - - - A #GAsyncReadyCallback to call when the request is satisfied. - - - - User data to pass to @callback. - - - - - - - - -Finishes an operation started with foo_igen_baz_proxy_new_for_bus(). - - - - - - The #GAsyncResult obtained from the #GAsyncReadyCallback passed to foo_igen_baz_proxy_new_for_bus(). - - - - Return location for error or %NULL - - - - The constructed proxy object or %NULL if @error is set. - - - - - -Like foo_igen_baz_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. - -The calling thread is blocked until a reply is received. - -See foo_igen_baz_proxy_new_for_bus() for the asynchronous version of this constructor. - - - - - - A #GBusType. - - - - Flags from the #GDBusProxyFlags enumeration. - - - - A bus name (well-known or unique). - - - - An object path. - - - - A #GCancellable or %NULL. - - - - Return location for error or %NULL - - - - The constructed proxy object or %NULL if @error is set. - - - - - -Synchronously creates a proxy for the D-Bus interface <link linkend="gdbus-interface-org-project-Baz.top_of_page">org.project.Baz</link>. See g_dbus_proxy_new_sync() for more details. - -The calling thread is blocked until a reply is received. - -See foo_igen_baz_proxy_new() for the asynchronous version of this constructor. - - - - - - A #GDBusConnection. - - - - Flags from the #GDBusProxyFlags enumeration. - - - - A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. - - - - An object path. - - - - A #GCancellable or %NULL. - - - - Return location for error or %NULL - - - - The constructed proxy object or %NULL if @error is set. - - - - - -Creates a skeleton object for the D-Bus interface <link linkend="gdbus-interface-org-project-Baz.top_of_page">org.project.Baz</link>. - - - - - - The skeleton object. - - - - - -Asynchronously invokes the <link linkend="gdbus-method-ChangingInterfaceV10.AddedMethodIn10">AddedMethodIn10()</link> D-Bus method on @proxy. -When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. -You can then call foo_igen_changing_interface_v10_call_added_method_in10_finish() to get the result of the operation. - -See foo_igen_changing_interface_v10_call_added_method_in10_sync() for the synchronous, blocking version of this method. - -Since: 10.0 - - - - - A #FooiGenChangingInterfaceV10Proxy. - - - - A #GCancellable or %NULL. - - - - A #GAsyncReadyCallback to call when the request is satisfied or %NULL. - - - - User data to pass to @callback. - - - - - - - - -Finishes an operation started with foo_igen_changing_interface_v10_call_added_method_in10(). - -Since: 10.0 - - - - - A #FooiGenChangingInterfaceV10Proxy. - - - - The #GAsyncResult obtained from the #GAsyncReadyCallback passed to foo_igen_changing_interface_v10_call_added_method_in10(). - - - - Return location for error or %NULL. - - - - %TRUE if the call succeded, %FALSE if @error is set. - - - - - - -Synchronously invokes the <link linkend="gdbus-method-ChangingInterfaceV10.AddedMethodIn10">AddedMethodIn10()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. - -See foo_igen_changing_interface_v10_call_added_method_in10() for the asynchronous version of this method. - -Since: 10.0 - - - - - A #FooiGenChangingInterfaceV10Proxy. - - - - A #GCancellable or %NULL. - - - - Return location for error or %NULL. - - - - %TRUE if the call succeded, %FALSE if @error is set. - - - - - - -Asynchronously invokes the <link linkend="gdbus-method-ChangingInterfaceV10.BarMethod">BarMethod()</link> D-Bus method on @proxy. -When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. -You can then call foo_igen_changing_interface_v10_call_bar_method_finish() to get the result of the operation. - -See foo_igen_changing_interface_v10_call_bar_method_sync() for the synchronous, blocking version of this method. - - - - - A #FooiGenChangingInterfaceV10Proxy. - - - - A #GCancellable or %NULL. - - - - A #GAsyncReadyCallback to call when the request is satisfied or %NULL. - - - - User data to pass to @callback. - - - - - - - - -Finishes an operation started with foo_igen_changing_interface_v10_call_bar_method(). - - - - - - A #FooiGenChangingInterfaceV10Proxy. - - - - The #GAsyncResult obtained from the #GAsyncReadyCallback passed to foo_igen_changing_interface_v10_call_bar_method(). - - - - Return location for error or %NULL. - - - - %TRUE if the call succeded, %FALSE if @error is set. - - - - - -Synchronously invokes the <link linkend="gdbus-method-ChangingInterfaceV10.BarMethod">BarMethod()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. - -See foo_igen_changing_interface_v10_call_bar_method() for the asynchronous version of this method. - - - - - - A #FooiGenChangingInterfaceV10Proxy. - - - - A #GCancellable or %NULL. - - - - Return location for error or %NULL. - - - - %TRUE if the call succeded, %FALSE if @error is set. - - - - - -Asynchronously invokes the <link linkend="gdbus-method-ChangingInterfaceV10.BazMethod">BazMethod()</link> D-Bus method on @proxy. -When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. -You can then call foo_igen_changing_interface_v10_call_baz_method_finish() to get the result of the operation. - -See foo_igen_changing_interface_v10_call_baz_method_sync() for the synchronous, blocking version of this method. - - - - - A #FooiGenChangingInterfaceV10Proxy. - - - - A #GCancellable or %NULL. - - - - A #GAsyncReadyCallback to call when the request is satisfied or %NULL. - - - - User data to pass to @callback. - - - - - - - - -Finishes an operation started with foo_igen_changing_interface_v10_call_baz_method(). - - - - - - A #FooiGenChangingInterfaceV10Proxy. - - - - The #GAsyncResult obtained from the #GAsyncReadyCallback passed to foo_igen_changing_interface_v10_call_baz_method(). - - - - Return location for error or %NULL. - - - - %TRUE if the call succeded, %FALSE if @error is set. - - - - - -Synchronously invokes the <link linkend="gdbus-method-ChangingInterfaceV10.BazMethod">BazMethod()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. - -See foo_igen_changing_interface_v10_call_baz_method() for the asynchronous version of this method. - - - - - - A #FooiGenChangingInterfaceV10Proxy. - - - - A #GCancellable or %NULL. - - - - Return location for error or %NULL. - - - - %TRUE if the call succeded, %FALSE if @error is set. - - - - - -Asynchronously invokes the <link linkend="gdbus-method-ChangingInterfaceV10.FooMethod">FooMethod()</link> D-Bus method on @proxy. -When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. -You can then call foo_igen_changing_interface_v10_call_foo_method_finish() to get the result of the operation. - -See foo_igen_changing_interface_v10_call_foo_method_sync() for the synchronous, blocking version of this method. - - - - - A #FooiGenChangingInterfaceV10Proxy. - - - - A #GCancellable or %NULL. - - - - A #GAsyncReadyCallback to call when the request is satisfied or %NULL. - - - - User data to pass to @callback. - - - - - - - - -Finishes an operation started with foo_igen_changing_interface_v10_call_foo_method(). - - - - - - A #FooiGenChangingInterfaceV10Proxy. - - - - The #GAsyncResult obtained from the #GAsyncReadyCallback passed to foo_igen_changing_interface_v10_call_foo_method(). - - - - Return location for error or %NULL. - - - - %TRUE if the call succeded, %FALSE if @error is set. - - - - - -Synchronously invokes the <link linkend="gdbus-method-ChangingInterfaceV10.FooMethod">FooMethod()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. - -See foo_igen_changing_interface_v10_call_foo_method() for the asynchronous version of this method. - - - - - - A #FooiGenChangingInterfaceV10Proxy. - - - - A #GCancellable or %NULL. - - - - Return location for error or %NULL. - - - - %TRUE if the call succeded, %FALSE if @error is set. - - - - - -Asynchronously invokes the <link linkend="gdbus-method-ChangingInterfaceV10.NewMethodIn2">NewMethodIn2()</link> D-Bus method on @proxy. -When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. -You can then call foo_igen_changing_interface_v10_call_new_method_in2_finish() to get the result of the operation. - -See foo_igen_changing_interface_v10_call_new_method_in2_sync() for the synchronous, blocking version of this method. - -Since: 2.0 - - - - - A #FooiGenChangingInterfaceV10Proxy. - - - - A #GCancellable or %NULL. - - - - A #GAsyncReadyCallback to call when the request is satisfied or %NULL. - - - - User data to pass to @callback. - - - - - - - - -Finishes an operation started with foo_igen_changing_interface_v10_call_new_method_in2(). - -Since: 2.0 - - - - - A #FooiGenChangingInterfaceV10Proxy. - - - - The #GAsyncResult obtained from the #GAsyncReadyCallback passed to foo_igen_changing_interface_v10_call_new_method_in2(). - - - - Return location for error or %NULL. - - - - %TRUE if the call succeded, %FALSE if @error is set. - - - - - - -Synchronously invokes the <link linkend="gdbus-method-ChangingInterfaceV10.NewMethodIn2">NewMethodIn2()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. - -See foo_igen_changing_interface_v10_call_new_method_in2() for the asynchronous version of this method. - -Since: 2.0 - - - - - A #FooiGenChangingInterfaceV10Proxy. - - - - A #GCancellable or %NULL. - - - - Return location for error or %NULL. - - - - %TRUE if the call succeded, %FALSE if @error is set. - - - - - - -Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-ChangingInterfaceV10.AddedMethodIn10">AddedMethodIn10()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. - -This method will free @invocation, you cannot use it afterwards. - -Since: 10.0 - - - - - A #FooiGenChangingInterfaceV10. - - - - A #GDBusMethodInvocation. - - - - - - - - -Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-ChangingInterfaceV10.BarMethod">BarMethod()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. - -This method will free @invocation, you cannot use it afterwards. - - - - - A #FooiGenChangingInterfaceV10. - - - - A #GDBusMethodInvocation. - - - - - - - - -Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-ChangingInterfaceV10.BazMethod">BazMethod()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. - -This method will free @invocation, you cannot use it afterwards. - - - - - A #FooiGenChangingInterfaceV10. - - - - A #GDBusMethodInvocation. - - - - - - - - -Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-ChangingInterfaceV10.FooMethod">FooMethod()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. - -This method will free @invocation, you cannot use it afterwards. - - - - - A #FooiGenChangingInterfaceV10. - - - - A #GDBusMethodInvocation. - - - - - - - - -Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-ChangingInterfaceV10.NewMethodIn2">NewMethodIn2()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. - -This method will free @invocation, you cannot use it afterwards. - -Since: 2.0 - - - - - A #FooiGenChangingInterfaceV10. - - - - A #GDBusMethodInvocation. - - - - - - - - -Emits the <link linkend="gdbus-signal-ChangingInterfaceV10.AddedSignalIn10">"AddedSignalIn10"</link> D-Bus signal. - -Since: 10.0 - - - - - A #FooiGenChangingInterfaceV10. - - - - - - - - -Emits the <link linkend="gdbus-signal-ChangingInterfaceV10.BarSignal">"BarSignal"</link> D-Bus signal. - - - - - A #FooiGenChangingInterfaceV10. - - - - - - - - -Emits the <link linkend="gdbus-signal-ChangingInterfaceV10.BazSignal">"BazSignal"</link> D-Bus signal. - - - - - A #FooiGenChangingInterfaceV10. - - - - - - - - -Emits the <link linkend="gdbus-signal-ChangingInterfaceV10.FooSignal">"FooSignal"</link> D-Bus signal. - - - - - A #FooiGenChangingInterfaceV10. - - - - - - - - -Emits the <link linkend="gdbus-signal-ChangingInterfaceV10.NewSignalIn2">"NewSignalIn2"</link> D-Bus signal. - -Since: 2.0 - - - - - A #FooiGenChangingInterfaceV10. - - - - - - - - -Gets a machine-readable description of the <link linkend="gdbus-interface-ChangingInterfaceV10.top_of_page">ChangingInterfaceV10</link> D-Bus interface. - - - - - - A #GDBusInterfaceInfo. Do not free. - - - - - -Overrides all #GObject properties in the #FooiGenChangingInterfaceV10 interface for a concrete class. -The properties are overridden in the order they are defined. - - - - - - The class structure for a #GObject<!-- -->-derived class. - - - - The property id to assign to the first overridden property. - - - - The last property id. - - - - - -Asynchronously creates a proxy for the D-Bus interface <link linkend="gdbus-interface-ChangingInterfaceV10.top_of_page">ChangingInterfaceV10</link>. See g_dbus_proxy_new() for more details. - -When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. -You can then call foo_igen_changing_interface_v10_proxy_new_finish() to get the result of the operation. - -See foo_igen_changing_interface_v10_proxy_new_sync() for the synchronous, blocking version of this constructor. - - - - - A #GDBusConnection. - - - - Flags from the #GDBusProxyFlags enumeration. - - - - A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. - - - - An object path. - - - - A #GCancellable or %NULL. - - - - A #GAsyncReadyCallback to call when the request is satisfied. - - - - User data to pass to @callback. - - - - - - - - -Finishes an operation started with foo_igen_changing_interface_v10_proxy_new(). - - - - - - The #GAsyncResult obtained from the #GAsyncReadyCallback passed to foo_igen_changing_interface_v10_proxy_new(). - - - - Return location for error or %NULL - - - - The constructed proxy object or %NULL if @error is set. - - - - - -Like foo_igen_changing_interface_v10_proxy_new() but takes a #GBusType instead of a #GDBusConnection. - -When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. -You can then call foo_igen_changing_interface_v10_proxy_new_for_bus_finish() to get the result of the operation. - -See foo_igen_changing_interface_v10_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. - - - - - A #GBusType. - - - - Flags from the #GDBusProxyFlags enumeration. - - - - A bus name (well-known or unique). - - - - An object path. - - - - A #GCancellable or %NULL. - - - - A #GAsyncReadyCallback to call when the request is satisfied. - - - - User data to pass to @callback. - - - - - - - - -Finishes an operation started with foo_igen_changing_interface_v10_proxy_new_for_bus(). - - - - - - The #GAsyncResult obtained from the #GAsyncReadyCallback passed to foo_igen_changing_interface_v10_proxy_new_for_bus(). - - - - Return location for error or %NULL - - - - The constructed proxy object or %NULL if @error is set. - - - - - -Like foo_igen_changing_interface_v10_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. - -The calling thread is blocked until a reply is received. - -See foo_igen_changing_interface_v10_proxy_new_for_bus() for the asynchronous version of this constructor. - - - - - - A #GBusType. - - - - Flags from the #GDBusProxyFlags enumeration. - - - - A bus name (well-known or unique). - - - - An object path. - - - - A #GCancellable or %NULL. - - - - Return location for error or %NULL - - - - The constructed proxy object or %NULL if @error is set. - - - - - -Synchronously creates a proxy for the D-Bus interface <link linkend="gdbus-interface-ChangingInterfaceV10.top_of_page">ChangingInterfaceV10</link>. See g_dbus_proxy_new_sync() for more details. - -The calling thread is blocked until a reply is received. - -See foo_igen_changing_interface_v10_proxy_new() for the asynchronous version of this constructor. - - - - - - A #GDBusConnection. - - - - Flags from the #GDBusProxyFlags enumeration. - - - - A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. - - - - An object path. - - - - A #GCancellable or %NULL. - - - - Return location for error or %NULL - - - - The constructed proxy object or %NULL if @error is set. - - - - - -Creates a skeleton object for the D-Bus interface <link linkend="gdbus-interface-ChangingInterfaceV10.top_of_page">ChangingInterfaceV10</link>. - - - - - - The skeleton object. - - - - - -Asynchronously invokes the <link linkend="gdbus-method-ChangingInterfaceV1.BarMethod">BarMethod()</link> D-Bus method on @proxy. -When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. -You can then call foo_igen_changing_interface_v1_call_bar_method_finish() to get the result of the operation. - -See foo_igen_changing_interface_v1_call_bar_method_sync() for the synchronous, blocking version of this method. - - - - - A #FooiGenChangingInterfaceV1Proxy. - - - - A #GCancellable or %NULL. - - - - A #GAsyncReadyCallback to call when the request is satisfied or %NULL. - - - - User data to pass to @callback. - - - - - - - - -Finishes an operation started with foo_igen_changing_interface_v1_call_bar_method(). - - - - - - A #FooiGenChangingInterfaceV1Proxy. - - - - The #GAsyncResult obtained from the #GAsyncReadyCallback passed to foo_igen_changing_interface_v1_call_bar_method(). - - - - Return location for error or %NULL. - - - - %TRUE if the call succeded, %FALSE if @error is set. - - - - - -Synchronously invokes the <link linkend="gdbus-method-ChangingInterfaceV1.BarMethod">BarMethod()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. - -See foo_igen_changing_interface_v1_call_bar_method() for the asynchronous version of this method. - - - - - - A #FooiGenChangingInterfaceV1Proxy. - - - - A #GCancellable or %NULL. - - - - Return location for error or %NULL. - - - - %TRUE if the call succeded, %FALSE if @error is set. - - - - - -Asynchronously invokes the <link linkend="gdbus-method-ChangingInterfaceV1.BazMethod">BazMethod()</link> D-Bus method on @proxy. -When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. -You can then call foo_igen_changing_interface_v1_call_baz_method_finish() to get the result of the operation. - -See foo_igen_changing_interface_v1_call_baz_method_sync() for the synchronous, blocking version of this method. - - - - - A #FooiGenChangingInterfaceV1Proxy. - - - - A #GCancellable or %NULL. - - - - A #GAsyncReadyCallback to call when the request is satisfied or %NULL. - - - - User data to pass to @callback. - - - - - - - - -Finishes an operation started with foo_igen_changing_interface_v1_call_baz_method(). - - - - - - A #FooiGenChangingInterfaceV1Proxy. - - - - The #GAsyncResult obtained from the #GAsyncReadyCallback passed to foo_igen_changing_interface_v1_call_baz_method(). - - - - Return location for error or %NULL. - - - - %TRUE if the call succeded, %FALSE if @error is set. - - - - - -Synchronously invokes the <link linkend="gdbus-method-ChangingInterfaceV1.BazMethod">BazMethod()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. - -See foo_igen_changing_interface_v1_call_baz_method() for the asynchronous version of this method. - - - - - - A #FooiGenChangingInterfaceV1Proxy. - - - - A #GCancellable or %NULL. - - - - Return location for error or %NULL. - - - - %TRUE if the call succeded, %FALSE if @error is set. - - - - - -Asynchronously invokes the <link linkend="gdbus-method-ChangingInterfaceV1.FooMethod">FooMethod()</link> D-Bus method on @proxy. -When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. -You can then call foo_igen_changing_interface_v1_call_foo_method_finish() to get the result of the operation. - -See foo_igen_changing_interface_v1_call_foo_method_sync() for the synchronous, blocking version of this method. - - - - - A #FooiGenChangingInterfaceV1Proxy. - - - - A #GCancellable or %NULL. - - - - A #GAsyncReadyCallback to call when the request is satisfied or %NULL. - - - - User data to pass to @callback. - - - - - - - - -Finishes an operation started with foo_igen_changing_interface_v1_call_foo_method(). - - - - - - A #FooiGenChangingInterfaceV1Proxy. - - - - The #GAsyncResult obtained from the #GAsyncReadyCallback passed to foo_igen_changing_interface_v1_call_foo_method(). - - - - Return location for error or %NULL. - - - - %TRUE if the call succeded, %FALSE if @error is set. - - - - - -Synchronously invokes the <link linkend="gdbus-method-ChangingInterfaceV1.FooMethod">FooMethod()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. - -See foo_igen_changing_interface_v1_call_foo_method() for the asynchronous version of this method. - - - - - - A #FooiGenChangingInterfaceV1Proxy. - - - - A #GCancellable or %NULL. - - - - Return location for error or %NULL. - - - - %TRUE if the call succeded, %FALSE if @error is set. - - - - - -Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-ChangingInterfaceV1.BarMethod">BarMethod()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. - -This method will free @invocation, you cannot use it afterwards. - - - - - A #FooiGenChangingInterfaceV1. - - - - A #GDBusMethodInvocation. - - - - - - - - -Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-ChangingInterfaceV1.BazMethod">BazMethod()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. - -This method will free @invocation, you cannot use it afterwards. - - - - - A #FooiGenChangingInterfaceV1. - - - - A #GDBusMethodInvocation. - - - - - - - - -Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-ChangingInterfaceV1.FooMethod">FooMethod()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. - -This method will free @invocation, you cannot use it afterwards. - - - - - A #FooiGenChangingInterfaceV1. - - - - A #GDBusMethodInvocation. - - - - - - - - -Emits the <link linkend="gdbus-signal-ChangingInterfaceV1.BarSignal">"BarSignal"</link> D-Bus signal. - - - - - A #FooiGenChangingInterfaceV1. - - - - - - - - -Emits the <link linkend="gdbus-signal-ChangingInterfaceV1.BazSignal">"BazSignal"</link> D-Bus signal. - - - - - A #FooiGenChangingInterfaceV1. - - - - - - - - -Emits the <link linkend="gdbus-signal-ChangingInterfaceV1.FooSignal">"FooSignal"</link> D-Bus signal. - - - - - A #FooiGenChangingInterfaceV1. - - - - - - - - -Gets a machine-readable description of the <link linkend="gdbus-interface-ChangingInterfaceV1.top_of_page">ChangingInterfaceV1</link> D-Bus interface. - - - - - - A #GDBusInterfaceInfo. Do not free. - - - - - -Overrides all #GObject properties in the #FooiGenChangingInterfaceV1 interface for a concrete class. -The properties are overridden in the order they are defined. - - - - - - The class structure for a #GObject<!-- -->-derived class. - - - - The property id to assign to the first overridden property. - - - - The last property id. - - - - - -Asynchronously creates a proxy for the D-Bus interface <link linkend="gdbus-interface-ChangingInterfaceV1.top_of_page">ChangingInterfaceV1</link>. See g_dbus_proxy_new() for more details. - -When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. -You can then call foo_igen_changing_interface_v1_proxy_new_finish() to get the result of the operation. - -See foo_igen_changing_interface_v1_proxy_new_sync() for the synchronous, blocking version of this constructor. - - - - - A #GDBusConnection. - - - - Flags from the #GDBusProxyFlags enumeration. - - - - A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. - - - - An object path. - - - - A #GCancellable or %NULL. - - - - A #GAsyncReadyCallback to call when the request is satisfied. - - - - User data to pass to @callback. - - - - - - - - -Finishes an operation started with foo_igen_changing_interface_v1_proxy_new(). - - - - - - The #GAsyncResult obtained from the #GAsyncReadyCallback passed to foo_igen_changing_interface_v1_proxy_new(). - - - - Return location for error or %NULL - - - - The constructed proxy object or %NULL if @error is set. - - - - - -Like foo_igen_changing_interface_v1_proxy_new() but takes a #GBusType instead of a #GDBusConnection. - -When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. -You can then call foo_igen_changing_interface_v1_proxy_new_for_bus_finish() to get the result of the operation. - -See foo_igen_changing_interface_v1_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. - - - - - A #GBusType. - - - - Flags from the #GDBusProxyFlags enumeration. - - - - A bus name (well-known or unique). - - - - An object path. - - - - A #GCancellable or %NULL. - - - - A #GAsyncReadyCallback to call when the request is satisfied. - - - - User data to pass to @callback. - - - - - - - - -Finishes an operation started with foo_igen_changing_interface_v1_proxy_new_for_bus(). - - - - - - The #GAsyncResult obtained from the #GAsyncReadyCallback passed to foo_igen_changing_interface_v1_proxy_new_for_bus(). - - - - Return location for error or %NULL - - - - The constructed proxy object or %NULL if @error is set. - - - - - -Like foo_igen_changing_interface_v1_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. - -The calling thread is blocked until a reply is received. - -See foo_igen_changing_interface_v1_proxy_new_for_bus() for the asynchronous version of this constructor. - - - - - - A #GBusType. - - - - Flags from the #GDBusProxyFlags enumeration. - - - - A bus name (well-known or unique). - - - - An object path. - - - - A #GCancellable or %NULL. - - - - Return location for error or %NULL - - - - The constructed proxy object or %NULL if @error is set. - - - - - -Synchronously creates a proxy for the D-Bus interface <link linkend="gdbus-interface-ChangingInterfaceV1.top_of_page">ChangingInterfaceV1</link>. See g_dbus_proxy_new_sync() for more details. - -The calling thread is blocked until a reply is received. - -See foo_igen_changing_interface_v1_proxy_new() for the asynchronous version of this constructor. - - - - - - A #GDBusConnection. - - - - Flags from the #GDBusProxyFlags enumeration. - - - - A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. - - - - An object path. - - - - A #GCancellable or %NULL. - - - - Return location for error or %NULL - - - - The constructed proxy object or %NULL if @error is set. - - - - - -Creates a skeleton object for the D-Bus interface <link linkend="gdbus-interface-ChangingInterfaceV1.top_of_page">ChangingInterfaceV1</link>. - - - - - - The skeleton object. - - - - - -Asynchronously invokes the <link linkend="gdbus-method-ChangingInterfaceV2.BarMethod">BarMethod()</link> D-Bus method on @proxy. -When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. -You can then call foo_igen_changing_interface_v2_call_bar_method_finish() to get the result of the operation. - -See foo_igen_changing_interface_v2_call_bar_method_sync() for the synchronous, blocking version of this method. - - - - - A #FooiGenChangingInterfaceV2Proxy. - - - - A #GCancellable or %NULL. - - - - A #GAsyncReadyCallback to call when the request is satisfied or %NULL. - - - - User data to pass to @callback. - - - - - - - - -Finishes an operation started with foo_igen_changing_interface_v2_call_bar_method(). - - - - - - A #FooiGenChangingInterfaceV2Proxy. - - - - The #GAsyncResult obtained from the #GAsyncReadyCallback passed to foo_igen_changing_interface_v2_call_bar_method(). - - - - Return location for error or %NULL. - - - - %TRUE if the call succeded, %FALSE if @error is set. - - - - - -Synchronously invokes the <link linkend="gdbus-method-ChangingInterfaceV2.BarMethod">BarMethod()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. - -See foo_igen_changing_interface_v2_call_bar_method() for the asynchronous version of this method. - - - - - - A #FooiGenChangingInterfaceV2Proxy. - - - - A #GCancellable or %NULL. - - - - Return location for error or %NULL. - - - - %TRUE if the call succeded, %FALSE if @error is set. - - - - - -Asynchronously invokes the <link linkend="gdbus-method-ChangingInterfaceV2.BazMethod">BazMethod()</link> D-Bus method on @proxy. -When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. -You can then call foo_igen_changing_interface_v2_call_baz_method_finish() to get the result of the operation. - -See foo_igen_changing_interface_v2_call_baz_method_sync() for the synchronous, blocking version of this method. - - - - - A #FooiGenChangingInterfaceV2Proxy. - - - - A #GCancellable or %NULL. - - - - A #GAsyncReadyCallback to call when the request is satisfied or %NULL. - - - - User data to pass to @callback. - - - - - - - - -Finishes an operation started with foo_igen_changing_interface_v2_call_baz_method(). - - - - - - A #FooiGenChangingInterfaceV2Proxy. - - - - The #GAsyncResult obtained from the #GAsyncReadyCallback passed to foo_igen_changing_interface_v2_call_baz_method(). - - - - Return location for error or %NULL. - - - - %TRUE if the call succeded, %FALSE if @error is set. - - - - - -Synchronously invokes the <link linkend="gdbus-method-ChangingInterfaceV2.BazMethod">BazMethod()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. - -See foo_igen_changing_interface_v2_call_baz_method() for the asynchronous version of this method. - - - - - - A #FooiGenChangingInterfaceV2Proxy. - - - - A #GCancellable or %NULL. - - - - Return location for error or %NULL. - - - - %TRUE if the call succeded, %FALSE if @error is set. - - - - - -Asynchronously invokes the <link linkend="gdbus-method-ChangingInterfaceV2.FooMethod">FooMethod()</link> D-Bus method on @proxy. -When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. -You can then call foo_igen_changing_interface_v2_call_foo_method_finish() to get the result of the operation. - -See foo_igen_changing_interface_v2_call_foo_method_sync() for the synchronous, blocking version of this method. - - - - - A #FooiGenChangingInterfaceV2Proxy. - - - - A #GCancellable or %NULL. - - - - A #GAsyncReadyCallback to call when the request is satisfied or %NULL. - - - - User data to pass to @callback. - - - - - - - - -Finishes an operation started with foo_igen_changing_interface_v2_call_foo_method(). - - - - - - A #FooiGenChangingInterfaceV2Proxy. - - - - The #GAsyncResult obtained from the #GAsyncReadyCallback passed to foo_igen_changing_interface_v2_call_foo_method(). - - - - Return location for error or %NULL. - - - - %TRUE if the call succeded, %FALSE if @error is set. - - - - - -Synchronously invokes the <link linkend="gdbus-method-ChangingInterfaceV2.FooMethod">FooMethod()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. - -See foo_igen_changing_interface_v2_call_foo_method() for the asynchronous version of this method. - - - - - - A #FooiGenChangingInterfaceV2Proxy. - - - - A #GCancellable or %NULL. - - - - Return location for error or %NULL. - - - - %TRUE if the call succeded, %FALSE if @error is set. - - - - - -Asynchronously invokes the <link linkend="gdbus-method-ChangingInterfaceV2.NewMethodIn2">NewMethodIn2()</link> D-Bus method on @proxy. -When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. -You can then call foo_igen_changing_interface_v2_call_new_method_in2_finish() to get the result of the operation. - -See foo_igen_changing_interface_v2_call_new_method_in2_sync() for the synchronous, blocking version of this method. - -Since: 2.0 - - - - - A #FooiGenChangingInterfaceV2Proxy. - - - - A #GCancellable or %NULL. - - - - A #GAsyncReadyCallback to call when the request is satisfied or %NULL. - - - - User data to pass to @callback. - - - - - - - - -Finishes an operation started with foo_igen_changing_interface_v2_call_new_method_in2(). - -Since: 2.0 - - - - - A #FooiGenChangingInterfaceV2Proxy. - - - - The #GAsyncResult obtained from the #GAsyncReadyCallback passed to foo_igen_changing_interface_v2_call_new_method_in2(). - - - - Return location for error or %NULL. - - - - %TRUE if the call succeded, %FALSE if @error is set. - - - - - - -Synchronously invokes the <link linkend="gdbus-method-ChangingInterfaceV2.NewMethodIn2">NewMethodIn2()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. - -See foo_igen_changing_interface_v2_call_new_method_in2() for the asynchronous version of this method. - -Since: 2.0 - - - - - A #FooiGenChangingInterfaceV2Proxy. - - - - A #GCancellable or %NULL. - - - - Return location for error or %NULL. - - - - %TRUE if the call succeded, %FALSE if @error is set. - - - - - - -Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-ChangingInterfaceV2.BarMethod">BarMethod()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. - -This method will free @invocation, you cannot use it afterwards. - - - - - A #FooiGenChangingInterfaceV2. - - - - A #GDBusMethodInvocation. - - - - - - - - -Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-ChangingInterfaceV2.BazMethod">BazMethod()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. - -This method will free @invocation, you cannot use it afterwards. - - - - - A #FooiGenChangingInterfaceV2. - - - - A #GDBusMethodInvocation. - - - - - - - - -Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-ChangingInterfaceV2.FooMethod">FooMethod()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. - -This method will free @invocation, you cannot use it afterwards. - - - - - A #FooiGenChangingInterfaceV2. - - - - A #GDBusMethodInvocation. - - - - - - - - -Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-ChangingInterfaceV2.NewMethodIn2">NewMethodIn2()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. - -This method will free @invocation, you cannot use it afterwards. - -Since: 2.0 - - - - - A #FooiGenChangingInterfaceV2. - - - - A #GDBusMethodInvocation. - - - - - - - - -Emits the <link linkend="gdbus-signal-ChangingInterfaceV2.BarSignal">"BarSignal"</link> D-Bus signal. - - - - - A #FooiGenChangingInterfaceV2. - - - - - - - - -Emits the <link linkend="gdbus-signal-ChangingInterfaceV2.BazSignal">"BazSignal"</link> D-Bus signal. - - - - - A #FooiGenChangingInterfaceV2. - - - - - - - - -Emits the <link linkend="gdbus-signal-ChangingInterfaceV2.FooSignal">"FooSignal"</link> D-Bus signal. - - - - - A #FooiGenChangingInterfaceV2. - - - - - - - - -Emits the <link linkend="gdbus-signal-ChangingInterfaceV2.NewSignalIn2">"NewSignalIn2"</link> D-Bus signal. - -Since: 2.0 - - - - - A #FooiGenChangingInterfaceV2. - - - - - - - - -Gets a machine-readable description of the <link linkend="gdbus-interface-ChangingInterfaceV2.top_of_page">ChangingInterfaceV2</link> D-Bus interface. - - - - - - A #GDBusInterfaceInfo. Do not free. - - - - - -Overrides all #GObject properties in the #FooiGenChangingInterfaceV2 interface for a concrete class. -The properties are overridden in the order they are defined. - - - - - - The class structure for a #GObject<!-- -->-derived class. - - - - The property id to assign to the first overridden property. - - - - The last property id. - - - - - -Asynchronously creates a proxy for the D-Bus interface <link linkend="gdbus-interface-ChangingInterfaceV2.top_of_page">ChangingInterfaceV2</link>. See g_dbus_proxy_new() for more details. - -When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. -You can then call foo_igen_changing_interface_v2_proxy_new_finish() to get the result of the operation. - -See foo_igen_changing_interface_v2_proxy_new_sync() for the synchronous, blocking version of this constructor. - - - - - A #GDBusConnection. - - - - Flags from the #GDBusProxyFlags enumeration. - - - - A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. - - - - An object path. - - - - A #GCancellable or %NULL. - - - - A #GAsyncReadyCallback to call when the request is satisfied. - - - - User data to pass to @callback. - - - - - - - - -Finishes an operation started with foo_igen_changing_interface_v2_proxy_new(). - - - - - - The #GAsyncResult obtained from the #GAsyncReadyCallback passed to foo_igen_changing_interface_v2_proxy_new(). - - - - Return location for error or %NULL - - - - The constructed proxy object or %NULL if @error is set. - - - - - -Like foo_igen_changing_interface_v2_proxy_new() but takes a #GBusType instead of a #GDBusConnection. - -When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. -You can then call foo_igen_changing_interface_v2_proxy_new_for_bus_finish() to get the result of the operation. - -See foo_igen_changing_interface_v2_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. - - - - - A #GBusType. - - - - Flags from the #GDBusProxyFlags enumeration. - - - - A bus name (well-known or unique). - - - - An object path. - - - - A #GCancellable or %NULL. - - - - A #GAsyncReadyCallback to call when the request is satisfied. - - - - User data to pass to @callback. - - - - - - - - -Finishes an operation started with foo_igen_changing_interface_v2_proxy_new_for_bus(). - - - - - - The #GAsyncResult obtained from the #GAsyncReadyCallback passed to foo_igen_changing_interface_v2_proxy_new_for_bus(). - - - - Return location for error or %NULL - - - - The constructed proxy object or %NULL if @error is set. - - - - - -Like foo_igen_changing_interface_v2_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. - -The calling thread is blocked until a reply is received. - -See foo_igen_changing_interface_v2_proxy_new_for_bus() for the asynchronous version of this constructor. - - - - - - A #GBusType. - - - - Flags from the #GDBusProxyFlags enumeration. - - - - A bus name (well-known or unique). - - - - An object path. - - - - A #GCancellable or %NULL. - - - - Return location for error or %NULL - - - - The constructed proxy object or %NULL if @error is set. - - - - - -Synchronously creates a proxy for the D-Bus interface <link linkend="gdbus-interface-ChangingInterfaceV2.top_of_page">ChangingInterfaceV2</link>. See g_dbus_proxy_new_sync() for more details. - -The calling thread is blocked until a reply is received. - -See foo_igen_changing_interface_v2_proxy_new() for the asynchronous version of this constructor. - - - - - - A #GDBusConnection. - - - - Flags from the #GDBusProxyFlags enumeration. - - - - A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. - - - - An object path. - - - - A #GCancellable or %NULL. - - - - Return location for error or %NULL - - - - The constructed proxy object or %NULL if @error is set. - - - - - -Creates a skeleton object for the D-Bus interface <link linkend="gdbus-interface-ChangingInterfaceV2.top_of_page">ChangingInterfaceV2</link>. - - - - - - The skeleton object. - - - - - -Asynchronously invokes the <link linkend="gdbus-method-com-acme-Coyote.Attack">Attack()</link> D-Bus method on @proxy. -When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. -You can then call foo_igen_com_acme_coyote_call_attack_finish() to get the result of the operation. - -See foo_igen_com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. - - - - - A #FooiGenComAcmeCoyoteProxy. - - - - A #GCancellable or %NULL. - - - - A #GAsyncReadyCallback to call when the request is satisfied or %NULL. - - - - User data to pass to @callback. - - - - - - - - -Finishes an operation started with foo_igen_com_acme_coyote_call_attack(). - - - - - - A #FooiGenComAcmeCoyoteProxy. - - - - The #GAsyncResult obtained from the #GAsyncReadyCallback passed to foo_igen_com_acme_coyote_call_attack(). - - - - Return location for error or %NULL. - - - - %TRUE if the call succeded, %FALSE if @error is set. - - - - - -Synchronously invokes the <link linkend="gdbus-method-com-acme-Coyote.Attack">Attack()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. - -See foo_igen_com_acme_coyote_call_attack() for the asynchronous version of this method. - - - - - - A #FooiGenComAcmeCoyoteProxy. - - - - A #GCancellable or %NULL. - - - - Return location for error or %NULL. - - - - %TRUE if the call succeded, %FALSE if @error is set. - - - - - -Asynchronously invokes the <link linkend="gdbus-method-com-acme-Coyote.Run">Run()</link> D-Bus method on @proxy. -When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. -You can then call foo_igen_com_acme_coyote_call_run_finish() to get the result of the operation. - -See foo_igen_com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. - - - - - A #FooiGenComAcmeCoyoteProxy. - - - - A #GCancellable or %NULL. - - - - A #GAsyncReadyCallback to call when the request is satisfied or %NULL. - - - - User data to pass to @callback. - - - - - - - - -Finishes an operation started with foo_igen_com_acme_coyote_call_run(). - - - - - - A #FooiGenComAcmeCoyoteProxy. - - - - The #GAsyncResult obtained from the #GAsyncReadyCallback passed to foo_igen_com_acme_coyote_call_run(). - - - - Return location for error or %NULL. - - - - %TRUE if the call succeded, %FALSE if @error is set. - - - - - -Synchronously invokes the <link linkend="gdbus-method-com-acme-Coyote.Run">Run()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. - -See foo_igen_com_acme_coyote_call_run() for the asynchronous version of this method. - - - - - - A #FooiGenComAcmeCoyoteProxy. - - - - A #GCancellable or %NULL. - - - - Return location for error or %NULL. - - - - %TRUE if the call succeded, %FALSE if @error is set. - - - - - -Asynchronously invokes the <link linkend="gdbus-method-com-acme-Coyote.Sleep">Sleep()</link> D-Bus method on @proxy. -When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. -You can then call foo_igen_com_acme_coyote_call_sleep_finish() to get the result of the operation. - -See foo_igen_com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. - - - - - A #FooiGenComAcmeCoyoteProxy. - - - - A #GCancellable or %NULL. - - - - A #GAsyncReadyCallback to call when the request is satisfied or %NULL. - - - - User data to pass to @callback. - - - - - - - - -Finishes an operation started with foo_igen_com_acme_coyote_call_sleep(). - - - - - - A #FooiGenComAcmeCoyoteProxy. - - - - The #GAsyncResult obtained from the #GAsyncReadyCallback passed to foo_igen_com_acme_coyote_call_sleep(). - - - - Return location for error or %NULL. - - - - %TRUE if the call succeded, %FALSE if @error is set. - - - - - -Synchronously invokes the <link linkend="gdbus-method-com-acme-Coyote.Sleep">Sleep()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. - -See foo_igen_com_acme_coyote_call_sleep() for the asynchronous version of this method. - - - - - - A #FooiGenComAcmeCoyoteProxy. - - - - A #GCancellable or %NULL. - - - - Return location for error or %NULL. - - - - %TRUE if the call succeded, %FALSE if @error is set. - - - - - -Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-com-acme-Coyote.Attack">Attack()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. - -This method will free @invocation, you cannot use it afterwards. - - - - - A #FooiGenComAcmeCoyote. - - - - A #GDBusMethodInvocation. - - - - - - - - -Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-com-acme-Coyote.Run">Run()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. - -This method will free @invocation, you cannot use it afterwards. - - - - - A #FooiGenComAcmeCoyote. - - - - A #GDBusMethodInvocation. - - - - - - - - -Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-com-acme-Coyote.Sleep">Sleep()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. - -This method will free @invocation, you cannot use it afterwards. - - - - - A #FooiGenComAcmeCoyote. - - - - A #GDBusMethodInvocation. - - - - - - - - -Gets a copy of the <link linkend="gdbus-property-com-acme-Coyote.Mood">"Mood"</link> D-Bus property. - -Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. - - - - - - A #FooiGenComAcmeCoyote. - - - - The property value or %NULL if the property is not set. The returned value should be freed with g_free(). - - - - - -Emits the <link linkend="gdbus-signal-com-acme-Coyote.Surprised">"Surprised"</link> D-Bus signal. - - - - - A #FooiGenComAcmeCoyote. - - - - - - - - -Gets the value of the <link linkend="gdbus-property-com-acme-Coyote.Mood">"Mood"</link> D-Bus property. - -Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. - -<warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use foo_igen_com_acme_coyote_dup_mood() if on another thread.</warning> - - - - - - A #FooiGenComAcmeCoyote. - - - - The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. - - - - - -Gets a machine-readable description of the <link linkend="gdbus-interface-com-acme-Coyote.top_of_page">com.acme.Coyote</link> D-Bus interface. - - - - - - A #GDBusInterfaceInfo. Do not free. - - - - - -Overrides all #GObject properties in the #FooiGenComAcmeCoyote interface for a concrete class. -The properties are overridden in the order they are defined. - - - - - - The class structure for a #GObject<!-- -->-derived class. - - - - The property id to assign to the first overridden property. - - - - The last property id. - - - - - -Asynchronously creates a proxy for the D-Bus interface <link linkend="gdbus-interface-com-acme-Coyote.top_of_page">com.acme.Coyote</link>. See g_dbus_proxy_new() for more details. - -When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. -You can then call foo_igen_com_acme_coyote_proxy_new_finish() to get the result of the operation. - -See foo_igen_com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. - - - - - A #GDBusConnection. - - - - Flags from the #GDBusProxyFlags enumeration. - - - - A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. - - - - An object path. - - - - A #GCancellable or %NULL. - - - - A #GAsyncReadyCallback to call when the request is satisfied. - - - - User data to pass to @callback. - - - - - - - - -Finishes an operation started with foo_igen_com_acme_coyote_proxy_new(). - - - - - - The #GAsyncResult obtained from the #GAsyncReadyCallback passed to foo_igen_com_acme_coyote_proxy_new(). - - - - Return location for error or %NULL - - - - The constructed proxy object or %NULL if @error is set. - - - - - -Like foo_igen_com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. - -When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. -You can then call foo_igen_com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. - -See foo_igen_com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. - - - - - A #GBusType. - - - - Flags from the #GDBusProxyFlags enumeration. - - - - A bus name (well-known or unique). - - - - An object path. - - - - A #GCancellable or %NULL. - - - - A #GAsyncReadyCallback to call when the request is satisfied. - - - - User data to pass to @callback. - - - - - - - - -Finishes an operation started with foo_igen_com_acme_coyote_proxy_new_for_bus(). - - - - - - The #GAsyncResult obtained from the #GAsyncReadyCallback passed to foo_igen_com_acme_coyote_proxy_new_for_bus(). - - - - Return location for error or %NULL - - - - The constructed proxy object or %NULL if @error is set. - - - - - -Like foo_igen_com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. - -The calling thread is blocked until a reply is received. - -See foo_igen_com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. - - - - - - A #GBusType. - - - - Flags from the #GDBusProxyFlags enumeration. - - - - A bus name (well-known or unique). - - - - An object path. - - - - A #GCancellable or %NULL. - - - - Return location for error or %NULL - - - - The constructed proxy object or %NULL if @error is set. - - - - - -Synchronously creates a proxy for the D-Bus interface <link linkend="gdbus-interface-com-acme-Coyote.top_of_page">com.acme.Coyote</link>. See g_dbus_proxy_new_sync() for more details. - -The calling thread is blocked until a reply is received. - -See foo_igen_com_acme_coyote_proxy_new() for the asynchronous version of this constructor. - - - - - - A #GDBusConnection. - - - - Flags from the #GDBusProxyFlags enumeration. - - - - A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. - - - - An object path. - - - - A #GCancellable or %NULL. - - - - Return location for error or %NULL - - - - The constructed proxy object or %NULL if @error is set. - - - - - -Sets the <link linkend="gdbus-property-com-acme-Coyote.Mood">"Mood"</link> D-Bus property to @value. - -Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. - - - - - A #FooiGenComAcmeCoyote. - - - - The value to set. - - - - - - - - -Creates a skeleton object for the D-Bus interface <link linkend="gdbus-interface-com-acme-Coyote.top_of_page">com.acme.Coyote</link>. - - - - - - The skeleton object. - - - - - -Asynchronously invokes the <link linkend="gdbus-method-FDPassing.HelloFD">HelloFD()</link> D-Bus method on @proxy. -When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. -You can then call foo_igen_fdpassing_call_hello_fd_finish() to get the result of the operation. - -See foo_igen_fdpassing_call_hello_fd_sync() for the synchronous, blocking version of this method. - - - - - A #FooiGenFDPassingProxy. - - - - Argument to pass with the method invocation. - - - - A #GUnixFDList or %NULL. - - - - A #GCancellable or %NULL. - - - - A #GAsyncReadyCallback to call when the request is satisfied or %NULL. - - - - User data to pass to @callback. - - - - - - - - -Finishes an operation started with foo_igen_fdpassing_call_hello_fd(). - - - - - - A #FooiGenFDPassingProxy. - - - - Return location for return parameter or %NULL to ignore. - - - - Return location for a #GUnixFDList or %NULL. - - - - The #GAsyncResult obtained from the #GAsyncReadyCallback passed to foo_igen_fdpassing_call_hello_fd(). - - - - Return location for error or %NULL. - - - - %TRUE if the call succeded, %FALSE if @error is set. - - - - - -Synchronously invokes the <link linkend="gdbus-method-FDPassing.HelloFD">HelloFD()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. - -See foo_igen_fdpassing_call_hello_fd() for the asynchronous version of this method. - - - - - - A #FooiGenFDPassingProxy. - - - - Argument to pass with the method invocation. - - - - A #GUnixFDList or %NULL. - - - - Return location for return parameter or %NULL to ignore. - - - - Return location for a #GUnixFDList or %NULL. - - - - A #GCancellable or %NULL. - - - - Return location for error or %NULL. - - - - %TRUE if the call succeded, %FALSE if @error is set. - - - - - -Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-FDPassing.HelloFD">HelloFD()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. - -This method will free @invocation, you cannot use it afterwards. - - - - - A #FooiGenFDPassing. - - - - A #GDBusMethodInvocation. - - - - A #GUnixFDList or %NULL. - - - - Parameter to return. - - - - - - - - -Gets a machine-readable description of the <link linkend="gdbus-interface-FDPassing.top_of_page">FDPassing</link> D-Bus interface. - - - - - - A #GDBusInterfaceInfo. Do not free. - - - - - -Overrides all #GObject properties in the #FooiGenFDPassing interface for a concrete class. -The properties are overridden in the order they are defined. - - - - - - The class structure for a #GObject<!-- -->-derived class. - - - - The property id to assign to the first overridden property. - - - - The last property id. - - - - - -Asynchronously creates a proxy for the D-Bus interface <link linkend="gdbus-interface-FDPassing.top_of_page">FDPassing</link>. See g_dbus_proxy_new() for more details. - -When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. -You can then call foo_igen_fdpassing_proxy_new_finish() to get the result of the operation. - -See foo_igen_fdpassing_proxy_new_sync() for the synchronous, blocking version of this constructor. - - - - - A #GDBusConnection. - - - - Flags from the #GDBusProxyFlags enumeration. - - - - A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. - - - - An object path. - - - - A #GCancellable or %NULL. - - - - A #GAsyncReadyCallback to call when the request is satisfied. - - - - User data to pass to @callback. - - - - - - - - -Finishes an operation started with foo_igen_fdpassing_proxy_new(). - - - - - - The #GAsyncResult obtained from the #GAsyncReadyCallback passed to foo_igen_fdpassing_proxy_new(). - - - - Return location for error or %NULL - - - - The constructed proxy object or %NULL if @error is set. - - - - - -Like foo_igen_fdpassing_proxy_new() but takes a #GBusType instead of a #GDBusConnection. - -When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. -You can then call foo_igen_fdpassing_proxy_new_for_bus_finish() to get the result of the operation. - -See foo_igen_fdpassing_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. - - - - - A #GBusType. - - - - Flags from the #GDBusProxyFlags enumeration. - - - - A bus name (well-known or unique). - - - - An object path. - - - - A #GCancellable or %NULL. - - - - A #GAsyncReadyCallback to call when the request is satisfied. - - - - User data to pass to @callback. - - - - - - - - -Finishes an operation started with foo_igen_fdpassing_proxy_new_for_bus(). - - - - - - The #GAsyncResult obtained from the #GAsyncReadyCallback passed to foo_igen_fdpassing_proxy_new_for_bus(). - - - - Return location for error or %NULL - - - - The constructed proxy object or %NULL if @error is set. - - - - - -Like foo_igen_fdpassing_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. - -The calling thread is blocked until a reply is received. - -See foo_igen_fdpassing_proxy_new_for_bus() for the asynchronous version of this constructor. - - - - - - A #GBusType. - - - - Flags from the #GDBusProxyFlags enumeration. - - - - A bus name (well-known or unique). - - - - An object path. - - - - A #GCancellable or %NULL. - - - - Return location for error or %NULL - - - - The constructed proxy object or %NULL if @error is set. - - - - - -Synchronously creates a proxy for the D-Bus interface <link linkend="gdbus-interface-FDPassing.top_of_page">FDPassing</link>. See g_dbus_proxy_new_sync() for more details. - -The calling thread is blocked until a reply is received. - -See foo_igen_fdpassing_proxy_new() for the asynchronous version of this constructor. - - - - - - A #GDBusConnection. - - - - Flags from the #GDBusProxyFlags enumeration. - - - - A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. - - - - An object path. - - - - A #GCancellable or %NULL. - - - - Return location for error or %NULL - - - - The constructed proxy object or %NULL if @error is set. - - - - - -Creates a skeleton object for the D-Bus interface <link linkend="gdbus-interface-FDPassing.top_of_page">FDPassing</link>. - - - - - - The skeleton object. - - - - - -Asynchronously invokes the <link linkend="gdbus-method-org-project-InlineDocs.FooMethod">FooMethod()</link> D-Bus method on @proxy. -When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. -You can then call foo_igen_inline_docs_call_foo_method_finish() to get the result of the operation. - -See foo_igen_inline_docs_call_foo_method_sync() for the synchronous, blocking version of this method. - - - - - A #FooiGenInlineDocsProxy. - - - - Argument to pass with the method invocation. - - - - A #GCancellable or %NULL. - - - - A #GAsyncReadyCallback to call when the request is satisfied or %NULL. - - - - User data to pass to @callback. - - - - - - - - -Finishes an operation started with foo_igen_inline_docs_call_foo_method(). - - - - - - A #FooiGenInlineDocsProxy. - - - - Return location for return parameter or %NULL to ignore. - - - - The #GAsyncResult obtained from the #GAsyncReadyCallback passed to foo_igen_inline_docs_call_foo_method(). - - - - Return location for error or %NULL. - - - - %TRUE if the call succeded, %FALSE if @error is set. - - - - - -Synchronously invokes the <link linkend="gdbus-method-org-project-InlineDocs.FooMethod">FooMethod()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. - -See foo_igen_inline_docs_call_foo_method() for the asynchronous version of this method. - - - - - - A #FooiGenInlineDocsProxy. - - - - Argument to pass with the method invocation. - - - - Return location for return parameter or %NULL to ignore. - - - - A #GCancellable or %NULL. - - - - Return location for error or %NULL. - - - - %TRUE if the call succeded, %FALSE if @error is set. - - - - - -Asynchronously invokes the <link linkend="gdbus-method-org-project-InlineDocs.Method2">Method2()</link> D-Bus method on @proxy. -When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. -You can then call foo_igen_inline_docs_call_method2_finish() to get the result of the operation. - -See foo_igen_inline_docs_call_method2_sync() for the synchronous, blocking version of this method. - - - - - A #FooiGenInlineDocsProxy. - - - - Argument to pass with the method invocation. - - - - A #GCancellable or %NULL. - - - - A #GAsyncReadyCallback to call when the request is satisfied or %NULL. - - - - User data to pass to @callback. - - - - - - - - -Finishes an operation started with foo_igen_inline_docs_call_method2(). - - - - - - A #FooiGenInlineDocsProxy. - - - - Return location for return parameter or %NULL to ignore. - - - - The #GAsyncResult obtained from the #GAsyncReadyCallback passed to foo_igen_inline_docs_call_method2(). - - - - Return location for error or %NULL. - - - - %TRUE if the call succeded, %FALSE if @error is set. - - - - - -Synchronously invokes the <link linkend="gdbus-method-org-project-InlineDocs.Method2">Method2()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. - -See foo_igen_inline_docs_call_method2() for the asynchronous version of this method. - - - - - - A #FooiGenInlineDocsProxy. - - - - Argument to pass with the method invocation. - - - - Return location for return parameter or %NULL to ignore. - - - - A #GCancellable or %NULL. - - - - Return location for error or %NULL. - - - - %TRUE if the call succeded, %FALSE if @error is set. - - - - - -Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-project-InlineDocs.FooMethod">FooMethod()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. - -This method will free @invocation, you cannot use it afterwards. - - - - - A #FooiGenInlineDocs. - - - - A #GDBusMethodInvocation. - - - - Parameter to return. - - - - - - - - -Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-project-InlineDocs.Method2">Method2()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. - -This method will free @invocation, you cannot use it afterwards. - - - - - A #FooiGenInlineDocs. - - - - A #GDBusMethodInvocation. - - - - Parameter to return. - - - - - - - - -Gets a copy of the <link linkend="gdbus-property-org-project-InlineDocs.BazProperty">"BazProperty"</link> D-Bus property. - -Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. - - - - - - A #FooiGenInlineDocs. - - - - The property value or %NULL if the property is not set. The returned value should be freed with g_free(). - - - - - -Gets a copy of the <link linkend="gdbus-property-org-project-InlineDocs.FancyProperty">"FancyProperty"</link> D-Bus property. - -Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. - - - - - - A #FooiGenInlineDocs. - - - - The property value or %NULL if the property is not set. The returned value should be freed with g_free(). - - - - - -Gets a copy of the <link linkend="gdbus-property-org-project-InlineDocs.Property2">"Property2"</link> D-Bus property. - -Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. - - - - - - A #FooiGenInlineDocs. - - - - The property value or %NULL if the property is not set. The returned value should be freed with g_free(). - - - - - -Gets a copy of the <link linkend="gdbus-property-org-project-InlineDocs.Property3">"Property3"</link> D-Bus property. - -Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. - - - - - - A #FooiGenInlineDocs. - - - - The property value or %NULL if the property is not set. The returned value should be freed with g_free(). - - - - - -Gets a copy of the <link linkend="gdbus-property-org-project-InlineDocs.Property4">"Property4"</link> D-Bus property. - -Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. - - - - - - A #FooiGenInlineDocs. - - - - The property value or %NULL if the property is not set. The returned value should be freed with g_free(). - - - - - -Gets a copy of the <link linkend="gdbus-property-org-project-InlineDocs.Property5">"Property5"</link> D-Bus property. - -Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. - - - - - - A #FooiGenInlineDocs. - - - - The property value or %NULL if the property is not set. The returned value should be freed with g_free(). - - - - - -Emits the <link linkend="gdbus-signal-org-project-InlineDocs.BarSignal">"BarSignal"</link> D-Bus signal. - - - - - A #FooiGenInlineDocs. - - - - Argument to pass with the signal. - - - - Argument to pass with the signal. - - - - - - - - -Gets the value of the <link linkend="gdbus-property-org-project-InlineDocs.BazProperty">"BazProperty"</link> D-Bus property. - -Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. - -<warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use foo_igen_inline_docs_dup_baz_property() if on another thread.</warning> - - - - - - A #FooiGenInlineDocs. - - - - The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. - - - - - -Gets the value of the <link linkend="gdbus-property-org-project-InlineDocs.FancyProperty">"FancyProperty"</link> D-Bus property. - -Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. - -<warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use foo_igen_inline_docs_dup_fancy_property() if on another thread.</warning> - - - - - - A #FooiGenInlineDocs. - - - - The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. - - - - - -Gets the value of the <link linkend="gdbus-property-org-project-InlineDocs.Property2">"Property2"</link> D-Bus property. - -Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. - -<warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use foo_igen_inline_docs_dup_property2() if on another thread.</warning> - - - - - - A #FooiGenInlineDocs. - - - - The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. - - - - - -Gets the value of the <link linkend="gdbus-property-org-project-InlineDocs.Property3">"Property3"</link> D-Bus property. - -Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. - -<warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use foo_igen_inline_docs_dup_property3() if on another thread.</warning> - - - - - - A #FooiGenInlineDocs. - - - - The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. - - - - - -Gets the value of the <link linkend="gdbus-property-org-project-InlineDocs.Property4">"Property4"</link> D-Bus property. - -Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. - -<warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use foo_igen_inline_docs_dup_property4() if on another thread.</warning> - - - - - - A #FooiGenInlineDocs. - - - - The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. - - - - - -Gets the value of the <link linkend="gdbus-property-org-project-InlineDocs.Property5">"Property5"</link> D-Bus property. - -Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. - -<warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use foo_igen_inline_docs_dup_property5() if on another thread.</warning> - - - - - - A #FooiGenInlineDocs. - - - - The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. - - - - - -Gets a machine-readable description of the <link linkend="gdbus-interface-org-project-InlineDocs.top_of_page">org.project.InlineDocs</link> D-Bus interface. - - - - - - A #GDBusInterfaceInfo. Do not free. - - - - - -Overrides all #GObject properties in the #FooiGenInlineDocs interface for a concrete class. -The properties are overridden in the order they are defined. - - - - - - The class structure for a #GObject<!-- -->-derived class. - - - - The property id to assign to the first overridden property. - - - - The last property id. - - - - - -Asynchronously creates a proxy for the D-Bus interface <link linkend="gdbus-interface-org-project-InlineDocs.top_of_page">org.project.InlineDocs</link>. See g_dbus_proxy_new() for more details. - -When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. -You can then call foo_igen_inline_docs_proxy_new_finish() to get the result of the operation. - -See foo_igen_inline_docs_proxy_new_sync() for the synchronous, blocking version of this constructor. - - - - - A #GDBusConnection. - - - - Flags from the #GDBusProxyFlags enumeration. - - - - A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. - - - - An object path. - - - - A #GCancellable or %NULL. - - - - A #GAsyncReadyCallback to call when the request is satisfied. - - - - User data to pass to @callback. - - - - - - - - -Finishes an operation started with foo_igen_inline_docs_proxy_new(). - - - - - - The #GAsyncResult obtained from the #GAsyncReadyCallback passed to foo_igen_inline_docs_proxy_new(). - - - - Return location for error or %NULL - - - - The constructed proxy object or %NULL if @error is set. - - - - - -Like foo_igen_inline_docs_proxy_new() but takes a #GBusType instead of a #GDBusConnection. - -When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. -You can then call foo_igen_inline_docs_proxy_new_for_bus_finish() to get the result of the operation. - -See foo_igen_inline_docs_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. - - - - - A #GBusType. - - - - Flags from the #GDBusProxyFlags enumeration. - - - - A bus name (well-known or unique). - - - - An object path. - - - - A #GCancellable or %NULL. - - - - A #GAsyncReadyCallback to call when the request is satisfied. - - - - User data to pass to @callback. - - - - - - - - -Finishes an operation started with foo_igen_inline_docs_proxy_new_for_bus(). - - - - - - The #GAsyncResult obtained from the #GAsyncReadyCallback passed to foo_igen_inline_docs_proxy_new_for_bus(). - - - - Return location for error or %NULL - - - - The constructed proxy object or %NULL if @error is set. - - - - - -Like foo_igen_inline_docs_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. - -The calling thread is blocked until a reply is received. - -See foo_igen_inline_docs_proxy_new_for_bus() for the asynchronous version of this constructor. - - - - - - A #GBusType. - - - - Flags from the #GDBusProxyFlags enumeration. - - - - A bus name (well-known or unique). - - - - An object path. - - - - A #GCancellable or %NULL. - - - - Return location for error or %NULL - - - - The constructed proxy object or %NULL if @error is set. - - - - - -Synchronously creates a proxy for the D-Bus interface <link linkend="gdbus-interface-org-project-InlineDocs.top_of_page">org.project.InlineDocs</link>. See g_dbus_proxy_new_sync() for more details. - -The calling thread is blocked until a reply is received. - -See foo_igen_inline_docs_proxy_new() for the asynchronous version of this constructor. - - - - - - A #GDBusConnection. - - - - Flags from the #GDBusProxyFlags enumeration. - - - - A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. - - - - An object path. - - - - A #GCancellable or %NULL. - - - - Return location for error or %NULL - - - - The constructed proxy object or %NULL if @error is set. - - - - - -Sets the <link linkend="gdbus-property-org-project-InlineDocs.BazProperty">"BazProperty"</link> D-Bus property to @value. - -Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. - - - - - A #FooiGenInlineDocs. - - - - The value to set. - - - - - - - - -Sets the <link linkend="gdbus-property-org-project-InlineDocs.FancyProperty">"FancyProperty"</link> D-Bus property to @value. - -Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. - - - - - A #FooiGenInlineDocs. - - - - The value to set. - - - - - - - - -Sets the <link linkend="gdbus-property-org-project-InlineDocs.Property2">"Property2"</link> D-Bus property to @value. - -Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. - - - - - A #FooiGenInlineDocs. - - - - The value to set. - - - - - - - - -Sets the <link linkend="gdbus-property-org-project-InlineDocs.Property3">"Property3"</link> D-Bus property to @value. - -Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. - - - - - A #FooiGenInlineDocs. - - - - The value to set. - - - - - - - - -Sets the <link linkend="gdbus-property-org-project-InlineDocs.Property4">"Property4"</link> D-Bus property to @value. - -Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. - - - - - A #FooiGenInlineDocs. - - - - The value to set. - - - - - - - - -Sets the <link linkend="gdbus-property-org-project-InlineDocs.Property5">"Property5"</link> D-Bus property to @value. - -Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. - - - - - A #FooiGenInlineDocs. - - - - The value to set. - - - - - - - - -Creates a skeleton object for the D-Bus interface <link linkend="gdbus-interface-org-project-InlineDocs.top_of_page">org.project.InlineDocs</link>. - - - - - - The skeleton object. - - - - - -Asynchronously invokes the <link linkend="gdbus-method-org-project-MethodThreads.GetSelf">GetSelf()</link> D-Bus method on @proxy. -When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. -You can then call foo_igen_method_threads_call_get_self_finish() to get the result of the operation. - -See foo_igen_method_threads_call_get_self_sync() for the synchronous, blocking version of this method. - - - - - A #FooiGenMethodThreadsProxy. - - - - A #GCancellable or %NULL. - - - - A #GAsyncReadyCallback to call when the request is satisfied or %NULL. - - - - User data to pass to @callback. - - - - - - - - -Finishes an operation started with foo_igen_method_threads_call_get_self(). - - - - - - A #FooiGenMethodThreadsProxy. - - - - Return location for return parameter or %NULL to ignore. - - - - The #GAsyncResult obtained from the #GAsyncReadyCallback passed to foo_igen_method_threads_call_get_self(). - - - - Return location for error or %NULL. - - - - %TRUE if the call succeded, %FALSE if @error is set. - - - - - -Synchronously invokes the <link linkend="gdbus-method-org-project-MethodThreads.GetSelf">GetSelf()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. - -See foo_igen_method_threads_call_get_self() for the asynchronous version of this method. - - - - - - A #FooiGenMethodThreadsProxy. - - - - Return location for return parameter or %NULL to ignore. - - - - A #GCancellable or %NULL. - - - - Return location for error or %NULL. - - - - %TRUE if the call succeded, %FALSE if @error is set. - - - - - -Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-project-MethodThreads.GetSelf">GetSelf()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. - -This method will free @invocation, you cannot use it afterwards. - - - - - A #FooiGenMethodThreads. - - - - A #GDBusMethodInvocation. - - - - Parameter to return. - - - - - - - - -Gets a machine-readable description of the <link linkend="gdbus-interface-org-project-MethodThreads.top_of_page">org.project.MethodThreads</link> D-Bus interface. - - - - - - A #GDBusInterfaceInfo. Do not free. - - - - - -Overrides all #GObject properties in the #FooiGenMethodThreads interface for a concrete class. -The properties are overridden in the order they are defined. - - - - - - The class structure for a #GObject<!-- -->-derived class. - - - - The property id to assign to the first overridden property. - - - - The last property id. - - +Emitted when the connection is closed. - - -Asynchronously creates a proxy for the D-Bus interface <link linkend="gdbus-interface-org-project-MethodThreads.top_of_page">org.project.MethodThreads</link>. See g_dbus_proxy_new() for more details. +The cause of this event can be +<itemizedlist> +<listitem><para> +If g_dbus_connection_close() is called. In this case +@remote_peer_vanished is set to %FALSE and @error is %NULL. +</para></listitem> +<listitem><para> +If the remote peer closes the connection. In this case +@remote_peer_vanished is set to %TRUE and @error is set. +</para></listitem> +<listitem><para> +If the remote peer sends invalid or malformed data. In this +case @remote_peer_vanished is set to %FALSE and @error +is set. +</para></listitem> +</itemizedlist> -When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. -You can then call foo_igen_method_threads_proxy_new_finish() to get the result of the operation. +Upon receiving this signal, you should give up your reference to +@connection. You are guaranteed that this signal is emitted only +once. -See foo_igen_method_threads_proxy_new_sync() for the synchronous, blocking version of this constructor. +Since: 2.26 - A #GDBusConnection. - - - - Flags from the #GDBusProxyFlags enumeration. - - - - A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. - - - - An object path. - - - - A #GCancellable or %NULL. - - - - A #GAsyncReadyCallback to call when the request is satisfied. - - - - User data to pass to @callback. + The #GDBusConnection emitting the signal. - - - - - - -Finishes an operation started with foo_igen_method_threads_proxy_new(). - - - - - - The #GAsyncResult obtained from the #GAsyncReadyCallback passed to foo_igen_method_threads_proxy_new(). + + %TRUE if @connection is closed because the +remote peer closed its end of the connection. - Return location for error or %NULL - - - - The constructed proxy object or %NULL if @error is set. - - - - - -Like foo_igen_method_threads_proxy_new() but takes a #GBusType instead of a #GDBusConnection. - -When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. -You can then call foo_igen_method_threads_proxy_new_for_bus_finish() to get the result of the operation. - -See foo_igen_method_threads_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. - - - - - A #GBusType. - - - - Flags from the #GDBusProxyFlags enumeration. - - - - A bus name (well-known or unique). - - - - An object path. - - - - A #GCancellable or %NULL. - - - - A #GAsyncReadyCallback to call when the request is satisfied. - - - - User data to pass to @callback. + A #GError with more details about the event or %NULL. - - - - -Finishes an operation started with foo_igen_method_threads_proxy_new_for_bus(). - - - - - - The #GAsyncResult obtained from the #GAsyncReadyCallback passed to foo_igen_method_threads_proxy_new_for_bus(). - - - - Return location for error or %NULL - - - - The constructed proxy object or %NULL if @error is set. - - + - + -Like foo_igen_method_threads_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. - -The calling thread is blocked until a reply is received. - -See foo_igen_method_threads_proxy_new_for_bus() for the asynchronous version of this constructor. +Flags used when creating a new #GDBusConnection. +Since: 2.26 - - A #GBusType. + + No flags set. - - Flags from the #GDBusProxyFlags enumeration. + + Perform authentication against server. - - A bus name (well-known or unique). + + Perform authentication against client. - - An object path. + + When +authenticating as a server, allow the anonymous authentication +method. - - A #GCancellable or %NULL. + + Pass this flag if connecting to a peer that is a +message bus. This means that the Hello() method will be invoked as part of the connection setup. - - Return location for error or %NULL + + If set, processing of D-Bus messages is +delayed until g_dbus_connection_start_message_processing() is called. - The constructed proxy object or %NULL if @error is set. - - + - + -Synchronously creates a proxy for the D-Bus interface <link linkend="gdbus-interface-org-project-MethodThreads.top_of_page">org.project.MethodThreads</link>. See g_dbus_proxy_new_sync() for more details. - -The calling thread is blocked until a reply is received. - -See foo_igen_method_threads_proxy_new() for the asynchronous version of this constructor. +Error codes for the %G_DBUS_ERROR error domain. +Since: 2.26 - - A #GDBusConnection. + + +A generic error; "something went wrong" - see the error message for +more. - - Flags from the #GDBusProxyFlags enumeration. + + +There was not enough memory to complete an operation. - - A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. + + +The bus doesn't know how to launch a service to supply the bus name +you wanted. - - An object path. + + +The bus name you referenced doesn't exist (i.e. no application owns +it). - - A #GCancellable or %NULL. + + +No reply to a message expecting one, usually means a timeout occurred. - - Return location for error or %NULL + + +Something went wrong reading or writing to a socket, for example. - - The constructed proxy object or %NULL if @error is set. - - - - - -Creates a skeleton object for the D-Bus interface <link linkend="gdbus-interface-org-project-MethodThreads.top_of_page">org.project.MethodThreads</link>. - - - - - - The skeleton object. - - - - - -Gets the value of the <link linkend="gdbus-property-Naming.Type">"Type"</link> D-Bus property. - -Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side. - - - - - - A #FooiGenNaming. + + +A D-Bus bus address was malformed. - - The property value. - - - - - -Gets a machine-readable description of the <link linkend="gdbus-interface-Naming.top_of_page">Naming</link> D-Bus interface. - - - - - - A #GDBusInterfaceInfo. Do not free. - - - - - -Overrides all #GObject properties in the #FooiGenNaming interface for a concrete class. -The properties are overridden in the order they are defined. - - - - - - The class structure for a #GObject<!-- -->-derived class. + + +Requested operation isn't supported (like ENOSYS on UNIX). - - The property id to assign to the first overridden property. + + +Some limited resource is exhausted. - - The last property id. - - - - - -Asynchronously creates a proxy for the D-Bus interface <link linkend="gdbus-interface-Naming.top_of_page">Naming</link>. See g_dbus_proxy_new() for more details. - -When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. -You can then call foo_igen_naming_proxy_new_finish() to get the result of the operation. - -See foo_igen_naming_proxy_new_sync() for the synchronous, blocking version of this constructor. - - - - - A #GDBusConnection. + + +Security restrictions don't allow doing what you're trying to do. - - Flags from the #GDBusProxyFlags enumeration. + + +Authentication didn't work. - - A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. + + +Unable to connect to server (probably caused by ECONNREFUSED on a +socket). - - An object path. + + +Certain timeout errors, possibly ETIMEDOUT on a socket. Note that +%G_DBUS_ERROR_NO_REPLY is used for message reply timeouts. Warning: +this is confusingly-named given that %G_DBUS_ERROR_TIMED_OUT also +exists. We can't fix it for compatibility reasons so just be +careful. - - A #GCancellable or %NULL. + + +No network access (probably ENETUNREACH on a socket). - - A #GAsyncReadyCallback to call when the request is satisfied. + + +Can't bind a socket since its address is in use (i.e. EADDRINUSE). - - User data to pass to @callback. + + +The connection is disconnected and you're trying to use it. - - - - - - -Finishes an operation started with foo_igen_naming_proxy_new(). - - - - - - The #GAsyncResult obtained from the #GAsyncReadyCallback passed to foo_igen_naming_proxy_new(). + + +Invalid arguments passed to a method call. - - Return location for error or %NULL + + +Missing file. - - The constructed proxy object or %NULL if @error is set. - - - - - -Like foo_igen_naming_proxy_new() but takes a #GBusType instead of a #GDBusConnection. - -When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. -You can then call foo_igen_naming_proxy_new_for_bus_finish() to get the result of the operation. - -See foo_igen_naming_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. - - - - - A #GBusType. + + +Existing file and the operation you're using does not silently overwrite. - - Flags from the #GDBusProxyFlags enumeration. + + +Method name you invoked isn't known by the object you invoked it on. - - A bus name (well-known or unique). + + +Certain timeout errors, e.g. while starting a service. Warning: this is +confusingly-named given that %G_DBUS_ERROR_TIMEOUT also exists. We +can't fix it for compatibility reasons so just be careful. - - An object path. + + +Tried to remove or modify a match rule that didn't exist. - - A #GCancellable or %NULL. + + +The match rule isn't syntactically valid. - - A #GAsyncReadyCallback to call when the request is satisfied. + + +While starting a new process, the exec() call failed. - - User data to pass to @callback. + + +While starting a new process, the fork() call failed. - - - - - - -Finishes an operation started with foo_igen_naming_proxy_new_for_bus(). - - - - - - The #GAsyncResult obtained from the #GAsyncReadyCallback passed to foo_igen_naming_proxy_new_for_bus(). + + +While starting a new process, the child exited with a status code. - - Return location for error or %NULL + + +While starting a new process, the child exited on a signal. - - The constructed proxy object or %NULL if @error is set. - - - - - -Like foo_igen_naming_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. - -The calling thread is blocked until a reply is received. - -See foo_igen_naming_proxy_new_for_bus() for the asynchronous version of this constructor. - - - - - - A #GBusType. + + +While starting a new process, something went wrong. - - Flags from the #GDBusProxyFlags enumeration. + + +We failed to setup the environment correctly. - - A bus name (well-known or unique). + + +We failed to setup the config parser correctly. - - An object path. + + +Bus name was not valid. - - A #GCancellable or %NULL. + + +Service file not found in system-services directory. - - Return location for error or %NULL + + +Permissions are incorrect on the setuid helper. - - The constructed proxy object or %NULL if @error is set. - - - - - -Synchronously creates a proxy for the D-Bus interface <link linkend="gdbus-interface-Naming.top_of_page">Naming</link>. See g_dbus_proxy_new_sync() for more details. - -The calling thread is blocked until a reply is received. - -See foo_igen_naming_proxy_new() for the asynchronous version of this constructor. - - - - - - A #GDBusConnection. + + +Service file invalid (Name, User or Exec missing). - - Flags from the #GDBusProxyFlags enumeration. + + +Tried to get a UNIX process ID and it wasn't available. - - A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. + + +Tried to get a UNIX process ID and it wasn't available. - - An object path. + + +A type signature is not valid. - - A #GCancellable or %NULL. + + +A file contains invalid syntax or is otherwise broken. - - Return location for error or %NULL + + +Asked for SELinux security context and it wasn't available. - - The constructed proxy object or %NULL if @error is set. - - - - - -Sets the <link linkend="gdbus-property-Naming.Type">"Type"</link> D-Bus property to @value. - -Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side. - - - - - A #FooiGenNaming. + + +Asked for ADT audit data and it wasn't available. - - The value to set. + + +There's already an object with the requested object path. - - + - + -Creates a skeleton object for the D-Bus interface <link linkend="gdbus-interface-Naming.top_of_page">Naming</link>. - +Emitted when a method is invoked by a remote caller and used to +determine if the method call is authorized. - - - - The skeleton object. - - +Note that this signal is emitted in a thread dedicated to +handling the method call so handlers are allowed to perform +blocking IO. This means that it is appropriate to call +e.g. <ulink +url="http://hal.freedesktop.org/docs/polkit/PolkitAuthority.html#polkit-authority-check-authorization-sync">polkit_authority_check_authorization_sync()</ulink> +with the <ulink +url="http://hal.freedesktop.org/docs/polkit/PolkitAuthority.html#POLKIT-CHECK-AUTHORIZATION-FLAGS-ALLOW-USER-INTERACTION:CAPS">POLKIT_CHECK_AUTHORIZATION_FLAGS_ALLOW_USER_INTERACTION</ulink> flag set. - - -Gets the #FooiGenAuthorize instance for the D-Bus interface <link linkend="gdbus-interface-org-project-Authorize.top_of_page">org.project.Authorize</link> on @object, if any. +If %FALSE is returned then no further handlers are run and the +signal handler must take a reference to @invocation and finish +handling the call (e.g. return an error via +g_dbus_method_invocation_return_error()). +Otherwise, if %TRUE is returned, signal emission continues. If no +handlers return %FALSE, then the method is dispatched. If +@interface has an enclosing #GDBusObjectSkeleton, then the +#GDBusObjectSkeleton::authorize-method signal handlers run before +the handlers for this signal. - - - - A #FooiGenObject. - - - - A #FooiGenAuthorize that must be freed with g_object_unref() or %NULL if @object does not implement the interface. - - +The default class handler just returns %TRUE. - - -Gets the #FooiGenBar instance for the D-Bus interface <link linkend="gdbus-interface-org-project-Bar.top_of_page">org.project.Bar</link> on @object, if any. +Please note that the common case is optimized: if no signals +handlers are connected and the default class handler isn't +overridden (for both @interface and the enclosing +#GDBusObjectSkeleton, if any) and #GDBusInterfaceSkeleton:g-flags does +not have the +%G_DBUS_INTERFACE_SKELETON_FLAGS_HANDLE_METHOD_INVOCATIONS_IN_THREAD +flags set, no dedicated thread is ever used and the call will be +handled in the same thread as the object that @interface belongs +to was exported in. +Since: 2.30 - - A #FooiGenObject. + + The #GDBusInterfaceSkeleton emitting the signal. - - A #FooiGenBar that must be freed with g_object_unref() or %NULL if @object does not implement the interface. - - - - - -Gets the #FooiGenBarFrobnicator instance for the D-Bus interface <link linkend="gdbus-interface-org-project-Bar-Frobnicator.top_of_page">org.project.Bar.Frobnicator</link> on @object, if any. - - - - - - A #FooiGenObject. + + A #GDBusMethodInvocation. - A #FooiGenBarFrobnicator that must be freed with g_object_unref() or %NULL if @object does not implement the interface. + %TRUE if the call is authorized, %FALSE otherwise. + - + - + -Gets the #FooiGenBat instance for the D-Bus interface <link linkend="gdbus-interface-org-project-Bat.top_of_page">org.project.Bat</link> on @object, if any. +Flags describing the behavior of a #GDBusInterfaceSkeleton instance. +Since: 2.30 - - A #FooiGenObject. + + No flags set. - - A #FooiGenBat that must be freed with g_object_unref() or %NULL if @object does not implement the interface. - - - - - -Gets the #FooiGenBaz instance for the D-Bus interface <link linkend="gdbus-interface-org-project-Baz.top_of_page">org.project.Baz</link> on @object, if any. - - - - - - A #FooiGenObject. + + Each method invocation is handled in +a thread dedicated to the invocation. This means that the method implementation can use blocking IO +without blocking any other part of the process. It also means that the method implementation must +use locking to access data structures used by other threads. - A #FooiGenBaz that must be freed with g_object_unref() or %NULL if @object does not implement the interface. - - + - + -Gets the #FooiGenChangingInterfaceV1 instance for the D-Bus interface <link linkend="gdbus-interface-ChangingInterfaceV1.top_of_page">ChangingInterfaceV1</link> on @object, if any. +Enumeration used to describe the byte order of a D-Bus message. +Since: 2.26 - - A #FooiGenObject. + + The byte order is big endian. - - A #FooiGenChangingInterfaceV1 that must be freed with g_object_unref() or %NULL if @object does not implement the interface. - - - - - -Gets the #FooiGenChangingInterfaceV10 instance for the D-Bus interface <link linkend="gdbus-interface-ChangingInterfaceV10.top_of_page">ChangingInterfaceV10</link> on @object, if any. - - - - - - A #FooiGenObject. + + The byte order is little endian. - A #FooiGenChangingInterfaceV10 that must be freed with g_object_unref() or %NULL if @object does not implement the interface. - - + - + -Gets the #FooiGenChangingInterfaceV2 instance for the D-Bus interface <link linkend="gdbus-interface-ChangingInterfaceV2.top_of_page">ChangingInterfaceV2</link> on @object, if any. +Message flags used in #GDBusMessage. +Since: 2.26 - - A #FooiGenObject. + + No flags set. - - A #FooiGenChangingInterfaceV2 that must be freed with g_object_unref() or %NULL if @object does not implement the interface. - - - - - -Gets the #FooiGenComAcmeCoyote instance for the D-Bus interface <link linkend="gdbus-interface-com-acme-Coyote.top_of_page">com.acme.Coyote</link> on @object, if any. - - - - - - A #FooiGenObject. + + A reply is not expected. + + + + The bus must not launch an +owner for the destination name in response to this message. - A #FooiGenComAcmeCoyote that must be freed with g_object_unref() or %NULL if @object does not implement the interface. - - + - + -Gets the #FooiGenFDPassing instance for the D-Bus interface <link linkend="gdbus-interface-FDPassing.top_of_page">FDPassing</link> on @object, if any. +Header fields used in #GDBusMessage. +Since: 2.26 - - A #FooiGenObject. + + Not a valid header field. + + + + The object path. + + + + The interface name. + + + + The method or signal name. + + + + The name of the error that occurred. + + + + The serial number the message is a reply to. + + + + The name the message is intended for. + + + + Unique name of the sender of the message (filled in by the bus). + + + + The signature of the message body. + + + + The number of UNIX file descriptors that accompany the message. - A #FooiGenFDPassing that must be freed with g_object_unref() or %NULL if @object does not implement the interface. - - + - + -Gets the #FooiGenInlineDocs instance for the D-Bus interface <link linkend="gdbus-interface-org-project-InlineDocs.top_of_page">org.project.InlineDocs</link> on @object, if any. +Message types used in #GDBusMessage. +Since: 2.26 - - A #FooiGenObject. + + Message is of invalid type. + + + + Method call. + + + + Method reply. + + + + Error reply. + + + + Signal emission. - A #FooiGenInlineDocs that must be freed with g_object_unref() or %NULL if @object does not implement the interface. - - + - + -Gets the #FooiGenMethodThreads instance for the D-Bus interface <link linkend="gdbus-interface-org-project-MethodThreads.top_of_page">org.project.MethodThreads</link> on @object, if any. +Emitted when @interface is added to @object. +Since: 2.30 - A #FooiGenObject. + The #GDBusObject emitting the signal. + + + + The #GDBusInterface that was added. - A #FooiGenMethodThreads that must be freed with g_object_unref() or %NULL if @object does not implement the interface. - - + + - + -Gets the #FooiGenNaming instance for the D-Bus interface <link linkend="gdbus-interface-Naming.top_of_page">Naming</link> on @object, if any. +Emitted when @interface is removed from @object. +Since: 2.30 - A #FooiGenObject. + The #GDBusObject emitting the signal. + + + + The #GDBusInterface that was removed. - A #FooiGenNaming that must be freed with g_object_unref() or %NULL if @object does not implement the interface. - - + + - + -Gets the #FooiGenOldieInterface instance for the D-Bus interface <link linkend="gdbus-interface-OldieInterface.top_of_page">OldieInterface</link> on @object, if any. +Emitted when @interface is added to @object. + +This signal exists purely as a convenience to avoid having to +connect signals to all objects managed by @manager. -Deprecated: The D-Bus interface has been deprecated. +Since: 2.30 + + The #GDBusObjectManager emitting the signal. + + - A #FooiGenObject. + The #GDBusObject on which an interface was added. + + + + The #GDBusInterface that was added. - A #FooiGenOldieInterface that must be freed with g_object_unref() or %NULL if @object does not implement the interface. - - - + + - + -Gets the #FooiGenRocket123 instance for the D-Bus interface <link linkend="gdbus-interface-com-acme-Rocket.top_of_page">com.acme.Rocket</link> on @object, if any. +Emitted when @interface has been removed from @object. + +This signal exists purely as a convenience to avoid having to +connect signals to all objects managed by @manager. +Since: 2.30 + + The #GDBusObjectManager emitting the signal. + + - A #FooiGenObject. + The #GDBusObject on which an interface was removed. + + + + The #GDBusInterface that was removed. - A #FooiGenRocket123 that must be freed with g_object_unref() or %NULL if @object does not implement the interface. - - + + - + -Gets the #FooiGenTesTuglyCASEInterface instance for the D-Bus interface <link linkend="gdbus-interface-TestUglyCaseInterface.top_of_page">TestUglyCaseInterface</link> on @object, if any. +Emitted when @object is added to @manager. +Since: 2.30 + + The #GDBusObjectManager emitting the signal. + + - A #FooiGenObject. + The #GDBusObject that was added. - A #FooiGenTesTuglyCASEInterface that must be freed with g_object_unref() or %NULL if @object does not implement the interface. - - + + - + -Gets the #FooiGenUnknownXmlTags instance for the D-Bus interface <link linkend="gdbus-interface-UnknownXmlTags.top_of_page">UnknownXmlTags</link> on @object, if any. +Emitted when @object is removed from @manager. +Since: 2.30 + + The #GDBusObjectManager emitting the signal. + + - A #FooiGenObject. + The #GDBusObject that was removed. - A #FooiGenUnknownXmlTags that must be freed with g_object_unref() or %NULL if @object does not implement the interface. - - + + - + -A #GDBusProxyTypeFunc that maps @interface_name to the generated #GDBusObjectProxy<!-- -->- and #GDBusProxy<!-- -->-derived types. +Emitted when one or more D-Bus properties on proxy changes. The +local cache has already been updated when this signal fires. Note +that both @changed_properties and @invalidated_properties are +guaranteed to never be %NULL (either may be empty though). + +This signal exists purely as a convenience to avoid having to +connect signals to all interface proxies managed by @manager. + +This signal is emitted in the +<link linkend="g-main-context-push-thread-default">thread-default main loop</link> +that @manager was constructed in. +Since: 2.30 - A #GDBusObjectManagerClient. + The #GDBusObjectManagerClient emitting the signal. - - The object path of the remote object (unused). + + The #GDBusObjectProxy on which an interface has properties that are changing. - - Interface name of the remote object or %NULL to get the object proxy #GType. + + The #GDBusProxy that has properties that are changing. - - User data (unused). + + A #GVariant containing the properties that changed. + + + + A %NULL terminated array of properties that was invalidated. - A #GDBusProxy<!-- -->-derived #GType if @interface_name is not %NULL, otherwise the #GType for #FooiGenObjectProxy. - - + + - + -Asynchronously creates #GDBusObjectManagerClient using foo_igen_object_manager_client_get_proxy_type() as the #GDBusProxyTypeFunc. See g_dbus_object_manager_client_new() for more details. +Emitted when a D-Bus signal is received on @interface_proxy. + +This signal exists purely as a convenience to avoid having to +connect signals to all interface proxies managed by @manager. -When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. -You can then call foo_igen_object_manager_client_new_finish() to get the result of the operation. +This signal is emitted in the +<link linkend="g-main-context-push-thread-default">thread-default main loop</link> +that @manager was constructed in. -See foo_igen_object_manager_client_new_sync() for the synchronous, blocking version of this constructor. +Since: 2.30 - - A #GDBusConnection. - - - - Flags from the #GDBusObjectManagerClientFlags enumeration. + + The #GDBusObjectManagerClient emitting the signal. - - A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. + + The #GDBusObjectProxy on which an interface is emitting a D-Bus signal. - - An object path. + + The #GDBusProxy that is emitting a D-Bus signal. - - A #GCancellable or %NULL. + + The sender of the signal or NULL if the connection is not a bus connection. - - A #GAsyncReadyCallback to call when the request is satisfied. + + The signal name. - - User data to pass to @callback. + + A #GVariant tuple with parameters for the signal. - + - + -Finishes an operation started with foo_igen_object_manager_client_new(). +Flags used when constructing a #GDBusObjectManagerClient. +Since: 2.30 - - The #GAsyncResult obtained from the #GAsyncReadyCallback passed to foo_igen_object_manager_client_new(). + + No flags set. - - Return location for error or %NULL + + If not set and the +manager is for a well-known name, then request the bus to launch +an owner for the name if no-one owns the name. This flag can only +be used in managers for well-known names. - The constructed object manager client or %NULL if @error is set. - - + - + -Like foo_igen_object_manager_client_new() but takes a #GBusType instead of a #GDBusConnection. +Emitted when a method is invoked by a remote caller and used to +determine if the method call is authorized. + +This signal is like #GDBusInterfaceSkeleton<!-- -->'s +#GDBusInterfaceSkeleton::g-authorize-method signal, except that it is +for the enclosing object. -When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. -You can then call foo_igen_object_manager_client_new_for_bus_finish() to get the result of the operation. +The default class handler just returns %TRUE. -See foo_igen_object_manager_client_new_for_bus_sync() for the synchronous, blocking version of this constructor. +Since: 2.30 - - A #GBusType. - - - - Flags from the #GDBusObjectManagerClientFlags enumeration. - - - - A bus name (well-known or unique). - - - - An object path. - - - - A #GCancellable or %NULL. + + The #GDBusObjectSkeleton emitting the signal. - - A #GAsyncReadyCallback to call when the request is satisfied. + + The #GDBusInterfaceSkeleton that @invocation is for. - - User data to pass to @callback. + + A #GDBusMethodInvocation. - - + %TRUE if the call is authorized, %FALSE otherwise. - + + + + -Finishes an operation started with foo_igen_object_manager_client_new_for_bus(). +Flags describing the access control of a D-Bus property. +Since: 2.26 - - The #GAsyncResult obtained from the #GAsyncReadyCallback passed to foo_igen_object_manager_client_new_for_bus(). + + No flags set. - - Return location for error or %NULL + + Property is readable. + + + + Property is writable. - The constructed object manager client or %NULL if @error is set. - - + - + -Like foo_igen_object_manager_client_new_sync() but takes a #GBusType instead of a #GDBusConnection. +Emitted when one or more D-Bus properties on @proxy changes. The +local cache has already been updated when this signal fires. Note +that both @changed_properties and @invalidated_properties are +guaranteed to never be %NULL (either may be empty though). -The calling thread is blocked until a reply is received. +If the proxy has the flag +%G_DBUS_PROXY_FLAGS_GET_INVALIDATED_PROPERTIES set, then +@invalidated_properties will always be empty. -See foo_igen_object_manager_client_new_for_bus() for the asynchronous version of this constructor. +This signal corresponds to the +<literal>PropertiesChanged</literal> D-Bus signal on the +<literal>org.freedesktop.DBus.Properties</literal> interface. +Since: 2.26 - - A #GBusType. + + The #GDBusProxy emitting the signal. - - Flags from the #GDBusObjectManagerClientFlags enumeration. + + A #GVariant containing the properties that changed - - A bus name (well-known or unique). + + A %NULL terminated array of properties that was invalidated - - An object path. + + + + + + +Emitted when a signal from the remote object and interface that @proxy is for, has been received. + +Since: 2.26 + + + + + The #GDBusProxy emitting the signal. - - A #GCancellable or %NULL. + + The sender of the signal or %NULL if the connection is not a bus connection. - - Return location for error or %NULL + + The name of the signal. + + + + A #GVariant tuple with parameters for the signal. - The constructed object manager client or %NULL if @error is set. - - + + - + -Synchronously creates #GDBusObjectManagerClient using foo_igen_object_manager_client_get_proxy_type() as the #GDBusProxyTypeFunc. See g_dbus_object_manager_client_new_sync() for more details. - -The calling thread is blocked until a reply is received. - -See foo_igen_object_manager_client_new() for the asynchronous version of this constructor. +Flags used when constructing an instance of a #GDBusProxy derived class. +Since: 2.26 - - A #GDBusConnection. - - - - Flags from the #GDBusObjectManagerClientFlags enumeration. + + No flags set. - - A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. + + Don't load properties. - - An object path. + + Don't connect to signals on the remote object. - - A #GCancellable or %NULL. + + If not set and the proxy if for a well-known name, +then request the bus to launch an owner for the name if no-one owns the name. This flag can +only be used in proxies for well-known names. - - Return location for error or %NULL + + If set, the property value for any <emphasis>invalidated property</emphasis> will be (asynchronously) retrieved upon receiving the <ulink url="http://dbus.freedesktop.org/doc/dbus-specification.html#standard-interfaces-properties">PropertiesChanged</ulink> D-Bus signal and the property will not cause emission of the #GDBusProxy::g-properties-changed signal. When the value is received the #GDBusProxy::g-properties-changed signal is emitted for the property along with the retrieved value. Since 2.32. - The constructed object manager client or %NULL if @error is set. - - + - + -Like foo_igen_object_get_authorize() but doesn't increase the reference count on the returned object. - -<warning>It is not safe to use the returned object if you are on another thread than the one where the #GDBusObjectManagerClient or #GDBusObjectManagerServer for @object is running.</warning> +Flags used when sending #GDBusMessage<!-- -->s on a #GDBusConnection. +Since: 2.26 - - A #FooiGenObject. + + No flags set. + + + + Do not automatically +assign a serial number from the #GDBusConnection object when +sending a message. - A #FooiGenAuthorize or %NULL if @object does not implement the interface. Do not free the returned object, it is owned by @object. - - + - + -Like foo_igen_object_get_bar() but doesn't increase the reference count on the returned object. +Emitted when a new authenticated connection has been made. Use +g_dbus_connection_get_peer_credentials() to figure out what +identity (if any), was authenticated. + +If you want to accept the connection, take a reference to the +@connection object and return %TRUE. When you are done with the +connection call g_dbus_connection_close() and give up your +reference. Note that the other peer may disconnect at any time - +a typical thing to do when accepting a connection is to listen to +the #GDBusConnection::closed signal. + +If #GDBusServer:flags contains %G_DBUS_SERVER_FLAGS_RUN_IN_THREAD +then the signal is emitted in a new thread dedicated to the +connection. Otherwise the signal is emitted in the <link +linkend="g-main-context-push-thread-default">thread-default main +loop</link> of the thread that @server was constructed in. -<warning>It is not safe to use the returned object if you are on another thread than the one where the #GDBusObjectManagerClient or #GDBusObjectManagerServer for @object is running.</warning> +You are guaranteed that signal handlers for this signal runs +before incoming messages on @connection are processed. This means +that it's suitable to call g_dbus_connection_register_object() or +similar from the signal handler. +Since: 2.26 - - A #FooiGenObject. + + The #GDBusServer emitting the signal. + + + + A #GDBusConnection for the new connection. - A #FooiGenBar or %NULL if @object does not implement the interface. Do not free the returned object, it is owned by @object. + %TRUE to claim @connection, %FALSE to let other handlers +run. + - + - + -Like foo_igen_object_get_bar_frobnicator() but doesn't increase the reference count on the returned object. - -<warning>It is not safe to use the returned object if you are on another thread than the one where the #GDBusObjectManagerClient or #GDBusObjectManagerServer for @object is running.</warning> +Flags used when creating a #GDBusServer. +Since: 2.26 - - A #FooiGenObject. + + No flags set. + + + + All #GDBusServer::new-connection +signals will run in separated dedicated threads (see signal for +details). + + + + Allow the anonymous +authentication method. - A #FooiGenBarFrobnicator or %NULL if @object does not implement the interface. Do not free the returned object, it is owned by @object. - - + - + -Like foo_igen_object_get_bat() but doesn't increase the reference count on the returned object. - -<warning>It is not safe to use the returned object if you are on another thread than the one where the #GDBusObjectManagerClient or #GDBusObjectManagerServer for @object is running.</warning> +Flags used when subscribing to signals via g_dbus_connection_signal_subscribe(). +Since: 2.26 - - A #FooiGenObject. + + No flags set. + + + + Don't actually send the AddMatch +D-Bus call for this signal subscription. This gives you more control +over which match rules you add (but you must add them manually). + + + + Match first arguments that +contain a bus or interface name with the given namespace. + + + + Match first arguments that +contain an object path that is either equivalent to the given path, +or one of the paths is a subpath of the other. - A #FooiGenBat or %NULL if @object does not implement the interface. Do not free the returned object, it is owned by @object. - - + - + -Like foo_igen_object_get_baz() but doesn't increase the reference count on the returned object. - -<warning>It is not safe to use the returned object if you are on another thread than the one where the #GDBusObjectManagerClient or #GDBusObjectManagerServer for @object is running.</warning> +Flags passed to g_dbus_connection_register_subtree(). +Since: 2.26 - - A #FooiGenObject. + + No flags set. + + + + Method calls to objects not in the enumerated range +will still be dispatched. This is useful if you want +to dynamically spawn objects in the subtree. - A #FooiGenBaz or %NULL if @object does not implement the interface. Do not free the returned object, it is owned by @object. - - + - + -Like foo_igen_object_get_changing_interface_v1() but doesn't increase the reference count on the returned object. +#GDataStreamByteOrder is used to ensure proper endianness of streaming data sources +across various machine architectures. -<warning>It is not safe to use the returned object if you are on another thread than the one where the #GDBusObjectManagerClient or #GDBusObjectManagerServer for @object is running.</warning> + + + + Selects Big Endian byte order. + + + + Selects Little Endian byte order. + + + + Selects endianness based on host machine's architecture. + + + + + + + +#GDataStreamNewlineType is used when checking for or setting the line endings for a given file. - - A #FooiGenObject. + + Selects "LF" line endings, common on most modern UNIX platforms. + + + + Selects "CR" line endings. + + + + Selects "CR, LF" line ending, common on Microsoft Windows. + + + + Automatically try to handle any line ending type. - A #FooiGenChangingInterfaceV1 or %NULL if @object does not implement the interface. Do not free the returned object, it is owned by @object. - - + - + -Like foo_igen_object_get_changing_interface_v10() but doesn't increase the reference count on the returned object. +Emitted when the drive's state has changed. -<warning>It is not safe to use the returned object if you are on another thread than the one where the #GDBusObjectManagerClient or #GDBusObjectManagerServer for @object is running.</warning> + + + + a #GDrive. + + + + + + + +This signal is emitted when the #GDrive have been +disconnected. If the recipient is holding references to the +object they should release them so the object can be +finalized. - - A #FooiGenObject. + + a #GDrive. - A #FooiGenChangingInterfaceV10 or %NULL if @object does not implement the interface. Do not free the returned object, it is owned by @object. - - + + - + -Like foo_igen_object_get_changing_interface_v2() but doesn't increase the reference count on the returned object. - -<warning>It is not safe to use the returned object if you are on another thread than the one where the #GDBusObjectManagerClient or #GDBusObjectManagerServer for @object is running.</warning> - +Emitted when the physical eject button (if any) of a drive has +been pressed. - - A #FooiGenObject. + + a #GDrive. - A #FooiGenChangingInterfaceV2 or %NULL if @object does not implement the interface. Do not free the returned object, it is owned by @object. - - + + - + -Like foo_igen_object_get_com_acme_coyote() but doesn't increase the reference count on the returned object. - -<warning>It is not safe to use the returned object if you are on another thread than the one where the #GDBusObjectManagerClient or #GDBusObjectManagerServer for @object is running.</warning> +Emitted when the physical stop button (if any) of a drive has +been pressed. +Since: 2.22 - - A #FooiGenObject. + + a #GDrive. - A #FooiGenComAcmeCoyote or %NULL if @object does not implement the interface. Do not free the returned object, it is owned by @object. - - + + - + -Like foo_igen_object_get_fdpassing() but doesn't increase the reference count on the returned object. - -<warning>It is not safe to use the returned object if you are on another thread than the one where the #GDBusObjectManagerClient or #GDBusObjectManagerServer for @object is running.</warning> +Flags used when starting a drive. +Since: 2.22 - - A #FooiGenObject. + + No flags set. - A #FooiGenFDPassing or %NULL if @object does not implement the interface. Do not free the returned object, it is owned by @object. - - + - + -Like foo_igen_object_get_inline_docs() but doesn't increase the reference count on the returned object. - -<warning>It is not safe to use the returned object if you are on another thread than the one where the #GDBusObjectManagerClient or #GDBusObjectManagerServer for @object is running.</warning> +Enumeration describing how a drive can be started/stopped. +Since: 2.22 - - A #FooiGenObject. + + Unknown or drive doesn't support +start/stop. + + + + The stop method will physically +shut down the drive and e.g. power down the port the drive is +attached to. + + + + The start/stop methods are used +for connecting/disconnect to the drive over the network. + + + + The start/stop methods will +assemble/disassemble a virtual drive from several physical +drives. + + + + The start/stop methods will +unlock/lock the disk (for example using the ATA <quote>SECURITY +UNLOCK DEVICE</quote> command) - A #FooiGenInlineDocs or %NULL if @object does not implement the interface. Do not free the returned object, it is owned by @object. - - + - + -Like foo_igen_object_get_method_threads() but doesn't increase the reference count on the returned object. - -<warning>It is not safe to use the returned object if you are on another thread than the one where the #GDBusObjectManagerClient or #GDBusObjectManagerServer for @object is running.</warning> +GEmblemOrigin is used to add information about the origin of the emblem +to #GEmblem. +Since: 2.18 - - A #FooiGenObject. + + Emblem of unknown origin + + + + Emblem adds device-specific information + + + + Emblem depicts live metadata, such as "readonly" + + + + Emblem comes from a user-defined tag, e.g. set by nautilus (in the future) - A #FooiGenMethodThreads or %NULL if @object does not implement the interface. Do not free the returned object, it is owned by @object. - - + - + -Like foo_igen_object_get_naming() but doesn't increase the reference count on the returned object. - -<warning>It is not safe to use the returned object if you are on another thread than the one where the #GDBusObjectManagerClient or #GDBusObjectManagerServer for @object is running.</warning> - +Flags specifying the behaviour of an attribute. - - A #FooiGenObject. + + no flags set. + + + + copy the attribute values when the file is copied. + + + + copy the attribute values when the file is moved. - A #FooiGenNaming or %NULL if @object does not implement the interface. Do not free the returned object, it is owned by @object. - - + - + -Like foo_igen_object_get_oldie_interface() but doesn't increase the reference count on the returned object. - -<warning>It is not safe to use the returned object if you are on another thread than the one where the #GDBusObjectManagerClient or #GDBusObjectManagerServer for @object is running.</warning> - -Deprecated: The D-Bus interface has been deprecated. +Used by g_file_set_attributes_from_info() when setting file attributes. - - A #FooiGenObject. + + Attribute value is unset (empty). + + + + Attribute value is set. + + + + Indicates an error in setting the value. - A #FooiGenOldieInterface or %NULL if @object does not implement the interface. Do not free the returned object, it is owned by @object. - - - + - + -Like foo_igen_object_get_rocket123() but doesn't increase the reference count on the returned object. - -<warning>It is not safe to use the returned object if you are on another thread than the one where the #GDBusObjectManagerClient or #GDBusObjectManagerServer for @object is running.</warning> - +The data types for file attributes. - - A #FooiGenObject. + + indicates an invalid or uninitalized type. + + + + a null terminated UTF8 string. + + + + a zero terminated string of non-zero bytes. + + + + a boolean value. + + + + an unsigned 4-byte/32-bit integer. + + + + a signed 4-byte/32-bit integer. + + + + an unsigned 8-byte/64-bit integer. + + + + a signed 8-byte/64-bit integer. + + + + a #GObject. + + + + a %NULL terminated char **. Since 2.22 - A #FooiGenRocket123 or %NULL if @object does not implement the interface. Do not free the returned object, it is owned by @object. - - + - + -Like foo_igen_object_get_test_ugly_case_interface() but doesn't increase the reference count on the returned object. - -<warning>It is not safe to use the returned object if you are on another thread than the one where the #GDBusObjectManagerClient or #GDBusObjectManagerServer for @object is running.</warning> - +Flags used when copying or moving files. - - A #FooiGenObject. + + No flags set. + + + + Overwrite any existing files + + + + Make a backup of any existing files. + + + + Don't follow symlinks. + + + + Copy all file metadata instead of just default set used for copy (see #GFileInfo). + + + + Don't use copy and delete fallback if native move not supported. + + + + Leaves target file with default perms, instead of setting the source file perms. - A #FooiGenTesTuglyCASEInterface or %NULL if @object does not implement the interface. Do not free the returned object, it is owned by @object. - - + - + -Like foo_igen_object_get_unknown_xml_tags() but doesn't increase the reference count on the returned object. - -<warning>It is not safe to use the returned object if you are on another thread than the one where the #GDBusObjectManagerClient or #GDBusObjectManagerServer for @object is running.</warning> - +Flags used when an operation may create a file. - - A #FooiGenObject. + + No flags set. + + + + Create a file that can only be +accessed by the current user. + + + + Replace the destination +as if it didn't exist before. Don't try to keep any old +permissions, replace instead of following links. This +is generally useful if you're doing a "copy over" +rather than a "save new version of" replace operation. +You can think of it as "unlink destination" before +writing to it, although the implementation may not +be exactly like that. Since 2.20 - A #FooiGenUnknownXmlTags or %NULL if @object does not implement the interface. Do not free the returned object, it is owned by @object. - - + - + -Creates a new proxy object. +Flags that can be used with g_file_measure_disk_usage(). +Since: 2.38 - - A #GDBusConnection. + + No flags set. - - An object path. + + Report any error encountered +while traversing the directory tree. Normally errors are only +reported for the toplevel file. + + + + Tally usage based on apparent file +sizes. Normally, the block-size is used, if available, as this is a +more accurate representation of disk space used. +Compare with '<literal>du --apparent-size</literal>'. + + + + Do not cross mount point boundaries. +Compare with '<literal>du -x</literal>'. - The proxy object. - - + - + -Creates a new skeleton object. +Emitted when @file has been changed. + +If using #G_FILE_MONITOR_SEND_MOVED flag and @event_type is +#G_FILE_MONITOR_EVENT_MOVED, @file will be set to a #GFile containing the +old path, and @other_file will be set to a #GFile containing the new path. +In all the other cases, @other_file will be set to #NULL. - - An object path. + + a #GFileMonitor. + + + + a #GFile. + + + + a #GFile or #NULL. + + + + a #GFileMonitorEvent. - The skeleton object. - - + + - + -Sets the #FooiGenAuthorize instance for the D-Bus interface <link linkend="gdbus-interface-org-project-Authorize.top_of_page">org.project.Authorize</link> on @object. +Specifies what type of event a monitor event is. - - A #FooiGenObjectSkeleton. + + a file changed. - - A #FooiGenAuthorize or %NULL to clear the interface. + + a hint that this was probably the last change in a set of changes. + + + + a file was deleted. + + + + a file was created. + + + + a file attribute was changed. + + + + the file location will soon be unmounted. + + + + the file location was unmounted. + + + + the file was moved. - - + - + -Sets the #FooiGenBar instance for the D-Bus interface <link linkend="gdbus-interface-org-project-Bar.top_of_page">org.project.Bar</link> on @object. +Flags used to set what a #GFileMonitor will watch for. - - A #FooiGenObjectSkeleton. + + No flags set. - - A #FooiGenBar or %NULL to clear the interface. + + Watch for mount events. + + + + Pair DELETED and CREATED events caused +by file renames (moves) and send a single G_FILE_MONITOR_EVENT_MOVED +event instead (NB: not supported on all backends; the default +behaviour -without specifying this flag- is to send single DELETED +and CREATED events). + + + + Watch for changes to the file made +via another hard link. Since 2.36. - - + - + -Sets the #FooiGenBarFrobnicator instance for the D-Bus interface <link linkend="gdbus-interface-org-project-Bar-Frobnicator.top_of_page">org.project.Bar.Frobnicator</link> on @object. +Flags used when querying a #GFileInfo. - - A #FooiGenObjectSkeleton. + + No flags set. - - A #FooiGenBarFrobnicator or %NULL to clear the interface. + + Don't follow symlinks. - - + - + -Sets the #FooiGenBat instance for the D-Bus interface <link linkend="gdbus-interface-org-project-Bat.top_of_page">org.project.Bat</link> on @object. +Indicates the file's on-disk type. - - A #FooiGenObjectSkeleton. + + File's type is unknown. - - A #FooiGenBat or %NULL to clear the interface. + + File handle represents a regular file. + + + + File handle represents a directory. + + + + File handle represents a symbolic link +(Unix systems). + + + + File is a "special" file, such as a socket, fifo, +block device, or character device. + + + + File is a shortcut (Windows systems). + + + + File is a mountable location. - - + - + -Sets the #FooiGenBaz instance for the D-Bus interface <link linkend="gdbus-interface-org-project-Baz.top_of_page">org.project.Baz</link> on @object. +Emitted when the file name completion information comes available. - - A #FooiGenObjectSkeleton. - - - - A #FooiGenBaz or %NULL to clear the interface. - - - + - + -Sets the #FooiGenChangingInterfaceV1 instance for the D-Bus interface <link linkend="gdbus-interface-ChangingInterfaceV1.top_of_page">ChangingInterfaceV1</link> on @object. +Indicates a hint from the file system whether files should be +previewed in a file manager. Returned as the value of the key +#G_FILE_ATTRIBUTE_FILESYSTEM_USE_PREVIEW. - - A #FooiGenObjectSkeleton. + + Only preview files if user has explicitly requested it. - - A #FooiGenChangingInterfaceV1 or %NULL to clear the interface. + + Preview files if user has requested preview of "local" files. + + + + Never preview files. - - + - + -Sets the #FooiGenChangingInterfaceV10 instance for the D-Bus interface <link linkend="gdbus-interface-ChangingInterfaceV10.top_of_page">ChangingInterfaceV10</link> on @object. +Error codes returned by GIO functions. + - - A #FooiGenObjectSkeleton. + + Generic error condition for when any operation fails. + + + + File not found. + + + + File already exists. + + + + File is a directory. + + + + File is not a directory. + + + + File is a directory that isn't empty. + + + + File is not a regular file. + + + + File is not a symbolic link. + + + + File cannot be mounted. + + + + Filename is too many characters. + + + + Filename is invalid or contains invalid characters. + + + + File contains too many symbolic links. + + + + No space left on drive. + + + + Invalid argument. + + + + Permission denied. + + + + Operation not supported for the current backend. + + + + File isn't mounted. + + + + File is already mounted. + + + + File was closed. + + + + Operation was cancelled. See #GCancellable. + + + + Operations are still pending. + + + + File is read only. + + + + Backup couldn't be created. + + + + File's Entity Tag was incorrect. - - A #FooiGenChangingInterfaceV10 or %NULL to clear the interface. + + Operation timed out. - - - - - - -Sets the #FooiGenChangingInterfaceV2 instance for the D-Bus interface <link linkend="gdbus-interface-ChangingInterfaceV2.top_of_page">ChangingInterfaceV2</link> on @object. - - - - - A #FooiGenObjectSkeleton. + + Operation would be recursive. - - A #FooiGenChangingInterfaceV2 or %NULL to clear the interface. + + File is busy. - - - - - - -Sets the #FooiGenComAcmeCoyote instance for the D-Bus interface <link linkend="gdbus-interface-com-acme-Coyote.top_of_page">com.acme.Coyote</link> on @object. - - - - - A #FooiGenObjectSkeleton. + + Operation would block. - - A #FooiGenComAcmeCoyote or %NULL to clear the interface. + + Host couldn't be found (remote operations). - - - - - - -Sets the #FooiGenFDPassing instance for the D-Bus interface <link linkend="gdbus-interface-FDPassing.top_of_page">FDPassing</link> on @object. - - - - - A #FooiGenObjectSkeleton. + + Operation would merge files. - - A #FooiGenFDPassing or %NULL to clear the interface. + + Operation failed and a helper program has +already interacted with the user. Do not display any error dialog. - - - - - - -Sets the #FooiGenInlineDocs instance for the D-Bus interface <link linkend="gdbus-interface-org-project-InlineDocs.top_of_page">org.project.InlineDocs</link> on @object. - - - - - A #FooiGenObjectSkeleton. + + The current process has too many files +open and can't open any more. Duplicate descriptors do count toward +this limit. Since 2.20 - - A #FooiGenInlineDocs or %NULL to clear the interface. + + The object has not been initialized. Since 2.22 - - - - - - -Sets the #FooiGenMethodThreads instance for the D-Bus interface <link linkend="gdbus-interface-org-project-MethodThreads.top_of_page">org.project.MethodThreads</link> on @object. - - - - - A #FooiGenObjectSkeleton. + + The requested address is already in use. Since 2.22 - - A #FooiGenMethodThreads or %NULL to clear the interface. + + Need more input to finish operation. Since 2.24 - - - - - - -Sets the #FooiGenNaming instance for the D-Bus interface <link linkend="gdbus-interface-Naming.top_of_page">Naming</link> on @object. - - - - - A #FooiGenObjectSkeleton. + + The input data was invalid. Since 2.24 - - A #FooiGenNaming or %NULL to clear the interface. + + A remote object generated an error that +doesn't correspond to a locally registered #GError error +domain. Use g_dbus_error_get_remote_error() to extract the D-Bus +error name and g_dbus_error_strip_remote_error() to fix up the +message so it matches what was received on the wire. Since 2.26. - - - - - - -Sets the #FooiGenOldieInterface instance for the D-Bus interface <link linkend="gdbus-interface-OldieInterface.top_of_page">OldieInterface</link> on @object. - -Deprecated: The D-Bus interface has been deprecated. - - - - - A #FooiGenObjectSkeleton. + + Host unreachable. Since 2.26 - - A #FooiGenOldieInterface or %NULL to clear the interface. + + Network unreachable. Since 2.26 - - - - - - -Sets the #FooiGenRocket123 instance for the D-Bus interface <link linkend="gdbus-interface-com-acme-Rocket.top_of_page">com.acme.Rocket</link> on @object. - - - - - A #FooiGenObjectSkeleton. + + Connection refused. Since 2.26 - - A #FooiGenRocket123 or %NULL to clear the interface. + + Connection to proxy server failed. Since 2.26 - - - - - - -Sets the #FooiGenTesTuglyCASEInterface instance for the D-Bus interface <link linkend="gdbus-interface-TestUglyCaseInterface.top_of_page">TestUglyCaseInterface</link> on @object. - - - - - A #FooiGenObjectSkeleton. + + Proxy authentication failed. Since 2.26 - - A #FooiGenTesTuglyCASEInterface or %NULL to clear the interface. + + Proxy server needs authentication. Since 2.26 + + + + Proxy connection is not allowed by ruleset. +Since 2.26 + + + + Broken pipe. Since 2.36 - - + - + -Sets the #FooiGenUnknownXmlTags instance for the D-Bus interface <link linkend="gdbus-interface-UnknownXmlTags.top_of_page">UnknownXmlTags</link> on @object. +Flags for use with g_io_module_scope_new(). + +Since: 2.30 - - A #FooiGenObjectSkeleton. + + No module scan flags - - A #FooiGenUnknownXmlTags or %NULL to clear the interface. + + When using this scope to load or +scan modules, automatically block a modules which has the same base +basename as previously loaded module. - - + - + -Asynchronously invokes the <link linkend="gdbus-method-OldieInterface.Foo">Foo()</link> D-Bus method on @proxy. -When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. -You can then call foo_igen_oldie_interface_call_foo_finish() to get the result of the operation. - -See foo_igen_oldie_interface_call_foo_sync() for the synchronous, blocking version of this method. +GIOStreamSpliceFlags determine how streams should be spliced. -Deprecated: The D-Bus method has been deprecated. +Since: 2.28 - - A #FooiGenOldieInterfaceProxy. + + Do not close either stream. - - A #GCancellable or %NULL. + + Close the first stream after +the splice. - - A #GAsyncReadyCallback to call when the request is satisfied or %NULL. + + Close the second stream after +the splice. - - User data to pass to @callback. + + Wait for both splice operations to finish +before calling the callback. - - + - + -Finishes an operation started with foo_igen_oldie_interface_call_foo(). +Emitted when a change has occured to the menu. -Deprecated: The D-Bus method has been deprecated. +The only changes that can occur to a menu is that items are removed +or added. Items may not change (except by being removed and added +back in the same location). This signal is capable of describing +both of those changes (at the same time). + +The signal means that starting at the index @position, @removed +items were removed and @added items were added in their place. If +@removed is zero then only items were added. If @added is zero +then only items were removed. + +As an example, if the menu contains items a, b, c, d (in that +order) and the signal (2, 1, 3) occurs then the new composition of +the menu will be a, b, _, _, _, d (with each _ representing some +new item). + +Signal handlers may query the model (particularly the added items) +and expect to see the results of the modification that is being +reported. The signal is emitted after the modification. - - A #FooiGenOldieInterfaceProxy. + + the #GMenuModel that is changing - - The #GAsyncResult obtained from the #GAsyncReadyCallback passed to foo_igen_oldie_interface_call_foo(). + + the position of the change - - Return location for error or %NULL. + + the number of items removed + + + + the number of items added - %TRUE if the call succeded, %FALSE if @error is set. - - - + + - + -Synchronously invokes the <link linkend="gdbus-method-OldieInterface.Foo">Foo()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. - -See foo_igen_oldie_interface_call_foo() for the asynchronous version of this method. - -Deprecated: The D-Bus method has been deprecated. +Emitted when the mount has been changed. - - A #FooiGenOldieInterfaceProxy. - - - - A #GCancellable or %NULL. - - - - Return location for error or %NULL. + + the object on which the signal is emitted - %TRUE if the call succeded, %FALSE if @error is set. - - - + + - + -Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-OldieInterface.Foo">Foo()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. - -This method will free @invocation, you cannot use it afterwards. +This signal is emitted when the #GMount is about to be +unmounted. -Deprecated: The D-Bus method has been deprecated. +Since: 2.22 - - A #FooiGenOldieInterface. - - - - A #GDBusMethodInvocation. + + the object on which the signal is emitted - + - + -Emits the <link linkend="gdbus-signal-OldieInterface.Bar">"Bar"</link> D-Bus signal. - -Deprecated: The D-Bus signal has been deprecated. +This signal is emitted when the #GMount have been +unmounted. If the recipient is holding references to the +object they should release them so the object can be +finalized. - - A #FooiGenOldieInterface. + + the object on which the signal is emitted - + - + -Gets the value of the <link linkend="gdbus-property-OldieInterface.Bat">"Bat"</link> D-Bus property. - -Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side. - -Deprecated: The D-Bus property has been deprecated. +Flags used when mounting a mount. - - A #FooiGenOldieInterface. + + No flags set. - The property value. - - - + - + -Gets a machine-readable description of the <link linkend="gdbus-interface-OldieInterface.top_of_page">OldieInterface</link> D-Bus interface. +Emitted by the backend when e.g. a device becomes unavailable +while a mount operation is in progress. + +Implementations of GMountOperation should handle this signal +by dismissing open password dialogs. -Deprecated: The D-Bus interface has been deprecated. +Since: 2.20 - A #GDBusInterfaceInfo. Do not free. - - - + + - + -Overrides all #GObject properties in the #FooiGenOldieInterface interface for a concrete class. -The properties are overridden in the order they are defined. +Emitted when a mount operation asks the user for a password. -Deprecated: The D-Bus interface has been deprecated. +If the message contains a line break, the first line should be +presented as a heading. For example, it may be used as the +primary text in a #GtkMessageDialog. - - The class structure for a #GObject<!-- -->-derived class. + + a #GMountOperation requesting a password. + + + + string containing a message to display to the user. + + + + string containing the default user name. + + + + string containing the default domain. - - The property id to assign to the first overridden property. + + a set of #GAskPasswordFlags. - The last property id. - - - + + - + -Asynchronously creates a proxy for the D-Bus interface <link linkend="gdbus-interface-OldieInterface.top_of_page">OldieInterface</link>. See g_dbus_proxy_new() for more details. - -When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. -You can then call foo_igen_oldie_interface_proxy_new_finish() to get the result of the operation. - -See foo_igen_oldie_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. +Emitted when asking the user a question and gives a list of +choices for the user to choose from. -Deprecated: The D-Bus interface has been deprecated. +If the message contains a line break, the first line should be +presented as a heading. For example, it may be used as the +primary text in a #GtkMessageDialog. - - A #GDBusConnection. - - - - Flags from the #GDBusProxyFlags enumeration. - - - - A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. - - - - An object path. - - - - A #GCancellable or %NULL. + + a #GMountOperation asking a question. - - A #GAsyncReadyCallback to call when the request is satisfied. + + string containing a message to display to the user. - - User data to pass to @callback. + + an array of strings for each possible choice. - + - + -Finishes an operation started with foo_igen_oldie_interface_proxy_new(). - -Deprecated: The D-Bus interface has been deprecated. +Emitted when the user has replied to the mount operation. - - The #GAsyncResult obtained from the #GAsyncReadyCallback passed to foo_igen_oldie_interface_proxy_new(). + + a #GMountOperation. - - Return location for error or %NULL + + a #GMountOperationResult indicating how the request was handled - The constructed proxy object or %NULL if @error is set. - - - + + - + -Like foo_igen_oldie_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. +Emitted when one or more processes are blocking an operation +e.g. unmounting/ejecting a #GMount or stopping a #GDrive. -When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. -You can then call foo_igen_oldie_interface_proxy_new_for_bus_finish() to get the result of the operation. +Note that this signal may be emitted several times to update the +list of blocking processes as processes close files. The +application should only respond with g_mount_operation_reply() to +the latest signal (setting #GMountOperation:choice to the choice +the user made). -See foo_igen_oldie_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. +If the message contains a line break, the first line should be +presented as a heading. For example, it may be used as the +primary text in a #GtkMessageDialog. -Deprecated: The D-Bus interface has been deprecated. +Since: 2.22 - - A #GBusType. - - - - Flags from the #GDBusProxyFlags enumeration. - - - - A bus name (well-known or unique). - - - - An object path. + + a #GMountOperation. - - A #GCancellable or %NULL. + + string containing a message to display to the user. - - A #GAsyncReadyCallback to call when the request is satisfied. + + an array of #GPid for processes +blocking the operation. - - User data to pass to @callback. + + an array of strings for each possible choice. - + - + -Finishes an operation started with foo_igen_oldie_interface_proxy_new_for_bus(). - -Deprecated: The D-Bus interface has been deprecated. - - - - - The #GAsyncResult obtained from the #GAsyncReadyCallback passed to foo_igen_oldie_interface_proxy_new_for_bus(). - - - - Return location for error or %NULL - - - - The constructed proxy object or %NULL if @error is set. - - - +Emitted when an unmount operation has been busy for more than some time +(typically 1.5 seconds). - - -Like foo_igen_oldie_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. +When unmounting or ejecting a volume, the kernel might need to flush +pending data in its buffers to the volume stable storage, and this operation +can take a considerable amount of time. This signal may be emitted several +times as long as the unmount operation is outstanding, and then one +last time when the operation is completed, with @bytes_left set to zero. -The calling thread is blocked until a reply is received. +Implementations of GMountOperation should handle this signal by +showing an UI notification, and then dismiss it, or show another notification +of completion, when @bytes_left reaches zero. -See foo_igen_oldie_interface_proxy_new_for_bus() for the asynchronous version of this constructor. +If the message contains a line break, the first line should be +presented as a heading. For example, it may be used as the +primary text in a #GtkMessageDialog. -Deprecated: The D-Bus interface has been deprecated. +Since: 2.34 - - A #GBusType. - - - - Flags from the #GDBusProxyFlags enumeration. - - - - A bus name (well-known or unique). + + a #GMountOperation: - - An object path. + + string containing a mesage to display to the user - - A #GCancellable or %NULL. + + the estimated time left before the operation completes, +in microseconds, or -1 - - Return location for error or %NULL + + the amount of bytes to be written before the operation +completes (or -1 if such amount is not known), or zero if the operation +is completed - The constructed proxy object or %NULL if @error is set. - - - + + - + -Synchronously creates a proxy for the D-Bus interface <link linkend="gdbus-interface-OldieInterface.top_of_page">OldieInterface</link>. See g_dbus_proxy_new_sync() for more details. - -The calling thread is blocked until a reply is received. - -See foo_igen_oldie_interface_proxy_new() for the asynchronous version of this constructor. - -Deprecated: The D-Bus interface has been deprecated. +#GMountOperationResult is returned as a result when a request for +information is send by the mounting operation. - - A #GDBusConnection. - - - - Flags from the #GDBusProxyFlags enumeration. + + The request was fulfilled and the +user specified data is now available - - A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. + + The user requested the mount operation +to be aborted - - An object path. + + The request was unhandled (i.e. not +implemented) - - A #GCancellable or %NULL. + + + + + +Flags used when an unmounting a mount. + + + + + No flags set. - - Return location for error or %NULL + + Unmount even if there are outstanding +file operations on the mount. - The constructed proxy object or %NULL if @error is set. - - - + - + -Sets the <link linkend="gdbus-property-OldieInterface.Bat">"Bat"</link> D-Bus property to @value. - -Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side. +Emitted when the network configuration changes. If @available is +%TRUE, then some hosts may be reachable that were not reachable +before, while others that were reachable before may no longer be +reachable. If @available is %FALSE, then no remote hosts are +reachable. -Deprecated: The D-Bus property has been deprecated. +Since: 2.32 - - A #FooiGenOldieInterface. + + a #GNetworkMonitor - - The value to set. + + the current value of #GNetworkMonitor:network-available - + - + -Creates a skeleton object for the D-Bus interface <link linkend="gdbus-interface-OldieInterface.top_of_page">OldieInterface</link>. - -Deprecated: The D-Bus interface has been deprecated. +GOutputStreamSpliceFlags determine how streams should be spliced. + + Do not close either stream. + + + + Close the source stream after +the splice. + + + + Close the target stream after +the splice. + + - The skeleton object. - - - + - + -Asynchronously invokes the <link linkend="gdbus-method-com-acme-Rocket.Ignite">Ignite()</link> D-Bus method on @proxy. -When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. -You can then call foo_igen_rocket123_call_ignite_xyz_finish() to get the result of the operation. +#GPasswordSave is used to indicate the lifespan of a saved password. -See foo_igen_rocket123_call_ignite_xyz_sync() for the synchronous, blocking version of this method. +#Gvfs stores passwords in the Gnome keyring when this flag allows it +to, and later retrieves it again from there. - - A #FooiGenRocket123Proxy. + + never save a password. - - A #GCancellable or %NULL. + + save a password for the session. - - A #GAsyncReadyCallback to call when the request is satisfied or %NULL. + + save a password permanently. - - User data to pass to @callback. + + + + + +Emitted when the resolver notices that the system resolver +configuration has changed. + + + + + a #GResolver - + - + -Finishes an operation started with foo_igen_rocket123_call_ignite_xyz(). +An error code used with %G_RESOLVER_ERROR in a #GError returned +from a #GResolver routine. +Since: 2.22 - - A #FooiGenRocket123Proxy. + + the requested name/address/service was not +found - - The #GAsyncResult obtained from the #GAsyncReadyCallback passed to foo_igen_rocket123_call_ignite_xyz(). + + the requested information could not +be looked up due to a network error or similar problem - - Return location for error or %NULL. + + unknown error - %TRUE if the call succeded, %FALSE if @error is set. - - + - + -Synchronously invokes the <link linkend="gdbus-method-com-acme-Rocket.Ignite">Ignite()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. +The type of record that g_resolver_lookup_records() or +g_resolver_lookup_records_async() should retrieve. The records are returned +as lists of #GVariant tuples. Each record type has different values in +the variant tuples returned. + +%G_RESOLVER_RECORD_SRV records are returned as variants with the signature +'(qqqs)', containing a guint16 with the priority, a guint16 with the +weight, a guint16 with the port, and a string of the hostname. + +%G_RESOLVER_RECORD_MX records are returned as variants with the signature +'(qs)', representing a guint16 with the preference, and a string containing +the mail exchanger hostname. + +%G_RESOLVER_RECORD_TXT records are returned as variants with the signature +'(as)', representing an array of the strings in the text record. + +%G_RESOLVER_RECORD_SOA records are returned as variants with the signature +'(ssuuuuu)', representing a string containing the primary name server, a +string containing the administrator, the serial as a guint32, the refresh +interval as guint32, the retry interval as a guint32, the expire timeout +as a guint32, and the ttl as a guint32. -See foo_igen_rocket123_call_ignite_xyz() for the asynchronous version of this method. +%G_RESOLVER_RECORD_NS records are returned as variants with the signature +'(s)', representing a string of the hostname of the name server. +Since: 2.34 - - A #FooiGenRocket123Proxy. + + lookup DNS SRV records for a domain - - A #GCancellable or %NULL. + + lookup DNS MX records for a domain - - Return location for error or %NULL. + + lookup DNS TXT records for a name - - %TRUE if the call succeded, %FALSE if @error is set. - - - - - -Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-com-acme-Rocket.Ignite">Ignite()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. - -This method will free @invocation, you cannot use it afterwards. - - - - - A #FooiGenRocket123. + + lookup DNS SOA records for a zone - - A #GDBusMethodInvocation. + + lookup DNS NS records for a domain - - + - + -Gets a copy of the <link linkend="gdbus-property-com-acme-Rocket.Direction">"Direction"</link> D-Bus property. - -Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. +An error code used with %G_RESOURCE_ERROR in a #GError returned +from a #GResource routine. +Since: 2.32 - - A #FooiGenRocket123. + + no file was found at the requested path + + + + unknown error - The property value or %NULL if the property is not set. The returned value should be freed with g_variant_unref(). - - + - + -Gets a copy of the <link linkend="gdbus-property-com-acme-Rocket.Type">"Type"</link> D-Bus property. - -Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. +GResourceFlags give information about a particular file inside a resource +bundle. +Since: 2.32 - - A #FooiGenRocket123. + + No flags set. + + + + The file is compressed. - The property value or %NULL if the property is not set. The returned value should be freed with g_free(). - - + - + -Emits the <link linkend="gdbus-signal-com-acme-Rocket.Exploded">"Exploded"</link> D-Bus signal. +GResourceLookupFlags determine how resource path lookups are handled. + +Since: 2.32 - - A #FooiGenRocket123. + + No flags set. - - + - + -Gets the value of the <link linkend="gdbus-property-com-acme-Rocket.Direction">"Direction"</link> D-Bus property. +The "change-event" signal is emitted once per change event that +affects this settings object. You should connect to this signal +only if you are interested in viewing groups of changes before they +are split out into multiple emissions of the "changed" signal. +For most use cases it is more appropriate to use the "changed" signal. -Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. +In the event that the change event applies to one or more specified +keys, @keys will be an array of #GQuark of length @n_keys. In the +event that the change event applies to the #GSettings object as a +whole (ie: potentially every key has been changed) then @keys will +be %NULL and @n_keys will be 0. -<warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use foo_igen_rocket123_dup_direction() if on another thread.</warning> +The default handler for this signal invokes the "changed" signal +for each affected key. If any other connected handler returns +%TRUE then this default functionality will be suppressed. - - A #FooiGenRocket123. + + the object on which the signal was emitted + + + + +an array of #GQuark<!-- -->s for the changed keys, or %NULL + + + + the length of the @keys array, or 0 - The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. + %TRUE to stop other handlers from being invoked for the +event. FALSE to propagate the event further. - + - + -Gets the value of the <link linkend="gdbus-property-com-acme-Rocket.Speed">"Speed"</link> D-Bus property. - -Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. +The "changed" signal is emitted when a key has potentially changed. +You should call one of the g_settings_get() calls to check the new +value. +This signal supports detailed connections. You can connect to the +detailed signal "changed::x" in order to only receive callbacks +when key "x" changes. - - A #FooiGenRocket123. + + the object on which the signal was emitted + + + + the name of the key that changed - The property value. - - + + - + -Gets the value of the <link linkend="gdbus-property-com-acme-Rocket.Type">"Type"</link> D-Bus property. +The "writable-change-event" signal is emitted once per writability +change event that affects this settings object. You should connect +to this signal if you are interested in viewing groups of changes +before they are split out into multiple emissions of the +"writable-changed" signal. For most use cases it is more +appropriate to use the "writable-changed" signal. -Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. +In the event that the writability change applies only to a single +key, @key will be set to the #GQuark for that key. In the event +that the writability change affects the entire settings object, +@key will be 0. -<warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use foo_igen_rocket123_dup_type_() if on another thread.</warning> +The default handler for this signal invokes the "writable-changed" +and "changed" signals for each affected key. This is done because +changes in writability might also imply changes in value (if for +example, a new mandatory setting is introduced). If any other +connected handler returns %TRUE then this default functionality +will be suppressed. - - A #FooiGenRocket123. + + the object on which the signal was emitted + + + + the quark of the key, or 0 - The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. - - - - - -Gets a machine-readable description of the <link linkend="gdbus-interface-com-acme-Rocket.top_of_page">com.acme.Rocket</link> D-Bus interface. - - - - - - A #GDBusInterfaceInfo. Do not free. + %TRUE to stop other handlers from being invoked for the +event. FALSE to propagate the event further. - + - + -Overrides all #GObject properties in the #FooiGenRocket123 interface for a concrete class. -The properties are overridden in the order they are defined. +The "writable-changed" signal is emitted when the writability of a +key has potentially changed. You should call +g_settings_is_writable() in order to determine the new status. +This signal supports detailed connections. You can connect to the +detailed signal "writable-changed::x" in order to only receive +callbacks when the writability of "x" changes. - - The class structure for a #GObject<!-- -->-derived class. + + the object on which the signal was emitted - - The property id to assign to the first overridden property. + + the key - The last property id. - - + + - + -Asynchronously creates a proxy for the D-Bus interface <link linkend="gdbus-interface-com-acme-Rocket.top_of_page">com.acme.Rocket</link>. See g_dbus_proxy_new() for more details. - -When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. -You can then call foo_igen_rocket123_proxy_new_finish() to get the result of the operation. - -See foo_igen_rocket123_proxy_new_sync() for the synchronous, blocking version of this constructor. +Flags used when creating a binding. These flags determine in which +direction the binding works. The default is to synchronize in both +directions. - - A #GDBusConnection. - - - - Flags from the #GDBusProxyFlags enumeration. + + Equivalent to <literal>G_SETTINGS_BIND_GET|G_SETTINGS_BIND_SET</literal> - - A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. + + Update the #GObject property when the setting changes. +It is an error to use this flag if the property is not writable. - - An object path. + + Update the setting when the #GObject property changes. +It is an error to use this flag if the property is not readable. - - A #GCancellable or %NULL. + + Do not try to bind a "sensitivity" property to the writability of the setting - - A #GAsyncReadyCallback to call when the request is satisfied. + + When set in addition to #G_SETTINGS_BIND_GET, set the #GObject property +value initially from the setting, but do not listen for changes of the setting - - User data to pass to @callback. + + When passed to g_settings_bind(), uses a pair of mapping functions that invert +the boolean value when mapping between the setting and the property. The setting and property must both +be booleans. You cannot pass this flag to g_settings_bind_with_mapping(). - - + - + -Finishes an operation started with foo_igen_rocket123_proxy_new(). +Indicates that the action was just activated. + +@parameter will always be of the expected type. In the event that +an incorrect type was given, no signal will be emitted. +Since: 2.28 - - The #GAsyncResult obtained from the #GAsyncReadyCallback passed to foo_igen_rocket123_proxy_new(). + + the #GSimpleAction - - Return location for error or %NULL + + the parameter to the activation - The constructed proxy object or %NULL if @error is set. - - + + - + -Like foo_igen_rocket123_proxy_new() but takes a #GBusType instead of a #GDBusConnection. +Indicates that the action just received a request to change its +state. -When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. -You can then call foo_igen_rocket123_proxy_new_for_bus_finish() to get the result of the operation. +@value will always be of the correct state type. In the event that +an incorrect type was given, no signal will be emitted. -See foo_igen_rocket123_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. +If no handler is connected to this signal then the default +behaviour is to call g_simple_action_set_state() to set the state +to the requested value. If you connect a signal handler then no +default action is taken. If the state should change then you must +call g_simple_action_set_state() from the handler. - - - - A #GBusType. - - - - Flags from the #GDBusProxyFlags enumeration. - - - - A bus name (well-known or unique). - - - - An object path. - - - - A #GCancellable or %NULL. - - - - A #GAsyncReadyCallback to call when the request is satisfied. - - - - User data to pass to @callback. - - - - - +<example> +<title>Example 'change-state' handler</title> +<programlisting> +static void +change_volume_state (GSimpleAction *action, +GVariant *value, +gpointer user_data) +{ +gint requested; - - -Finishes an operation started with foo_igen_rocket123_proxy_new_for_bus(). +requested = g_variant_get_int32 (value); + +// Volume only goes from 0 to 10 +if (0 <= requested && requested <= 10) +g_simple_action_set_state (action, value); +} +</programlisting> +</example> + +The handler need not set the state to the requested value. It +could set it to any value at all, or take some other action. +Since: 2.30 - - The #GAsyncResult obtained from the #GAsyncReadyCallback passed to foo_igen_rocket123_proxy_new_for_bus(). + + the #GSimpleAction - - Return location for error or %NULL + + the requested value for the state - The constructed proxy object or %NULL if @error is set. - - + + - + -Like foo_igen_rocket123_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. +Emitted when @client's activity on @connectable changes state. +Among other things, this can be used to provide progress +information about a network connection in the UI. The meanings of +the different @event values are as follows: + +<variablelist> +<varlistentry> +<term>%G_SOCKET_CLIENT_RESOLVING:</term> +<listitem><para> +@client is about to look up @connectable in DNS. +@connection will be %NULL. +</para></listitem> +</varlistentry> +<varlistentry> +<term>%G_SOCKET_CLIENT_RESOLVED:</term> +<listitem><para> +@client has successfully resolved @connectable in DNS. +@connection will be %NULL. +</para></listitem> +</varlistentry> +<varlistentry> +<term>%G_SOCKET_CLIENT_CONNECTING:</term> +<listitem><para> +@client is about to make a connection to a remote host; +either a proxy server or the destination server itself. +@connection is the #GSocketConnection, which is not yet +connected. +</para></listitem> +</varlistentry> +<varlistentry> +<term>%G_SOCKET_CLIENT_CONNECTED:</term> +<listitem><para> +@client has successfully connected to a remote host. +@connection is the connected #GSocketConnection. +</para></listitem> +</varlistentry> +<varlistentry> +<term>%G_SOCKET_CLIENT_PROXY_NEGOTIATING:</term> +<listitem><para> +@client is about to negotiate with a proxy to get it to +connect to @connectable. @connection is the +#GSocketConnection to the proxy server. +</para></listitem> +</varlistentry> +<varlistentry> +<term>%G_SOCKET_CLIENT_PROXY_NEGOTIATED:</term> +<listitem><para> +@client has negotiated a connection to @connectable through +a proxy server. @connection is the stream returned from +g_proxy_connect(), which may or may not be a +#GSocketConnection. +</para></listitem> +</varlistentry> +<varlistentry> +<term>%G_SOCKET_CLIENT_TLS_HANDSHAKING:</term> +<listitem><para> +@client is about to begin a TLS handshake. @connection is a +#GTlsClientConnection. +</para></listitem> +</varlistentry> +<varlistentry> +<term>%G_SOCKET_CLIENT_TLS_HANDSHAKED:</term> +<listitem><para> +@client has successfully completed the TLS handshake. +@connection is a #GTlsClientConnection. +</para></listitem> +</varlistentry> +<varlistentry> +<term>%G_SOCKET_CLIENT_COMPLETE:</term> +<listitem><para> +@client has either successfully connected to @connectable +(in which case @connection is the #GSocketConnection that +it will be returning to the caller) or has failed (in which +case @connection is %NULL and the client is about to return +an error). +</para></listitem> +</varlistentry> +</variablelist> -The calling thread is blocked until a reply is received. +Each event except %G_SOCKET_CLIENT_COMPLETE may be emitted +multiple times (or not at all) for a given connectable (in +particular, if @client ends up attempting to connect to more than +one address). However, if @client emits the #GSocketClient::event +signal at all for a given connectable, that it will always emit +it with %G_SOCKET_CLIENT_COMPLETE when it is done. -See foo_igen_rocket123_proxy_new_for_bus() for the asynchronous version of this constructor. +Note that there may be additional #GSocketClientEvent values in +the future; unrecognized @event values should be ignored. +Since: 2.32 - - A #GBusType. - - - - Flags from the #GDBusProxyFlags enumeration. - - - - A bus name (well-known or unique). + + the #GSocketClient - - An object path. + + the event that is occurring - - A #GCancellable or %NULL. + + the #GSocketConnectable that @event is occurring on - - Return location for error or %NULL + + the current representation of the connection - The constructed proxy object or %NULL if @error is set. - - + + - + -Synchronously creates a proxy for the D-Bus interface <link linkend="gdbus-interface-com-acme-Rocket.top_of_page">com.acme.Rocket</link>. See g_dbus_proxy_new_sync() for more details. - -The calling thread is blocked until a reply is received. +Describes an event occurring on a #GSocketClient. See the +#GSocketClient::event signal for more details. -See foo_igen_rocket123_proxy_new() for the asynchronous version of this constructor. +Additional values may be added to this type in the future. +Since: 2.32 - - A #GDBusConnection. + + The client is doing a DNS lookup. - - Flags from the #GDBusProxyFlags enumeration. + + The client has completed a DNS lookup. - - A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. + + The client is connecting to a remote +host (either a proxy or the destination server). - - An object path. + + The client has connected to a remote +host. - - A #GCancellable or %NULL. + + The client is negotiating +with a proxy to connect to the destination server. - - Return location for error or %NULL + + The client has negotiated +with the proxy server. - - The constructed proxy object or %NULL if @error is set. - - - - - -Sets the <link linkend="gdbus-property-com-acme-Rocket.Direction">"Direction"</link> D-Bus property to @value. - -Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. - - - - - A #FooiGenRocket123. + + The client is performing a +TLS handshake. - - The value to set. + + The client has performed a +TLS handshake. + + + + The client is done with a particular +#GSocketConnectable. - - + - + -Sets the <link linkend="gdbus-property-com-acme-Rocket.Speed">"Speed"</link> D-Bus property to @value. +The protocol family of a #GSocketAddress. (These values are +identical to the system defines %AF_INET, %AF_INET6 and %AF_UNIX, +if available.) -Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. +Since: 2.22 - - A #FooiGenRocket123. + + no address family - - The value to set. + + the IPv4 family - - - - - - -Sets the <link linkend="gdbus-property-com-acme-Rocket.Type">"Type"</link> D-Bus property to @value. - -Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. - - - - - A #FooiGenRocket123. + + the IPv6 family - - The value to set. + + the UNIX domain family - - - - - -Creates a skeleton object for the D-Bus interface <link linkend="gdbus-interface-com-acme-Rocket.top_of_page">com.acme.Rocket</link>. - - - - - - The skeleton object. - - + - + -Asynchronously invokes the <link linkend="gdbus-method-TestUglyCaseInterface.GetiSCSIServers">GetiSCSIServers()</link> D-Bus method on @proxy. -When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. -You can then call foo_igen_test_ugly_case_interface_call_get_iscsi_servers_finish() to get the result of the operation. +Flags used in g_socket_receive_message() and g_socket_send_message(). +The flags listed in the enum are some commonly available flags, but the +values used for them are the same as on the platform, and any other flags +are passed in/out as is. So to use a platform specific flag, just include +the right system header and pass in the flag. -See foo_igen_test_ugly_case_interface_call_get_iscsi_servers_sync() for the synchronous, blocking version of this method. +Since: 2.22 - - A #FooiGenTesTuglyCASEInterfaceProxy. + + No flags. - - A #GCancellable or %NULL. + + Request to send/receive out of band data. - - A #GAsyncReadyCallback to call when the request is satisfied or %NULL. + + Read data from the socket without removing it from +the queue. - - User data to pass to @callback. + + Don't use a gateway to send out the packet, +only send to hosts on directly connected networks. - - + - + -Finishes an operation started with foo_igen_test_ugly_case_interface_call_get_iscsi_servers(). +A protocol identifier is specified when creating a #GSocket, which is a +family/type specific identifier, where 0 means the default protocol for +the particular family/type. + +This enum contains a set of commonly available and used protocols. You +can also pass any other identifiers handled by the platform in order to +use protocols not listed here. +Since: 2.22 - - A #FooiGenTesTuglyCASEInterfaceProxy. + + The protocol type is unknown - - The #GAsyncResult obtained from the #GAsyncReadyCallback passed to foo_igen_test_ugly_case_interface_call_get_iscsi_servers(). + + The default protocol for the family/type - - Return location for error or %NULL. + + TCP over IP + + + + UDP over IP + + + + SCTP over IP - %TRUE if the call succeded, %FALSE if @error is set. - - + - + -Synchronously invokes the <link linkend="gdbus-method-TestUglyCaseInterface.GetiSCSIServers">GetiSCSIServers()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. +The ::incoming signal is emitted when a new incoming connection +to @service needs to be handled. The handler must initiate the +handling of @connection, but may not block; in essence, +asynchronous operations must be used. -See foo_igen_test_ugly_case_interface_call_get_iscsi_servers() for the asynchronous version of this method. +@connection will be unreffed once the signal handler returns, +so you need to ref it yourself if you are planning to use it. +Since: 2.22 - - A #FooiGenTesTuglyCASEInterfaceProxy. + + the #GSocketService - - A #GCancellable or %NULL. + + a new #GSocketConnection object - - Return location for error or %NULL. + + the source_object passed to +g_socket_listener_add_address() - %TRUE if the call succeded, %FALSE if @error is set. + %TRUE to stop other handlers from being called + - + - + -Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-TestUglyCaseInterface.GetiSCSIServers">GetiSCSIServers()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. +Flags used when creating a #GSocket. Some protocols may not implement +all the socket types. -This method will free @invocation, you cannot use it afterwards. +Since: 2.22 - - A #FooiGenTesTuglyCASEInterface. + + Type unknown or wrong - - A #GDBusMethodInvocation. + + Reliable connection-based byte streams (e.g. TCP). - - - - - - -Emits the <link linkend="gdbus-signal-TestUglyCaseInterface.serversUPDATEDNOW">"serversUPDATEDNOW"</link> D-Bus signal. - - - - - A #FooiGenTesTuglyCASEInterface. + + Connectionless, unreliable datagram passing. +(e.g. UDP) + + + + Reliable connection-based passing of datagrams +of fixed maximum length (e.g. SCTP). - - + - + -Gets the value of the <link linkend="gdbus-property-TestUglyCaseInterface.UGLYNAME">"UGLYNAME"</link> D-Bus property. - -Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side. +Flags to define future #GTestDBus behaviour. +Since: 2.34 - - A #FooiGenTesTuglyCASEInterface. + + No flags. - The property value. - - + - + -Gets a machine-readable description of the <link linkend="gdbus-interface-TestUglyCaseInterface.top_of_page">TestUglyCaseInterface</link> D-Bus interface. +The ::run signal is emitted in a worker thread in response to an +incoming connection. This thread is dedicated to handling +@connection and may perform blocking IO. The signal handler need +not return until the connection is closed. + + the #GThreadedSocketService. + + + + a new #GSocketConnection object. + + + + the source_object passed to g_socket_listener_add_address(). + + - A #GDBusInterfaceInfo. Do not free. + %TRUE to stop further signal handlers from being called - + - + -Overrides all #GObject properties in the #FooiGenTesTuglyCASEInterface interface for a concrete class. -The properties are overridden in the order they are defined. +The client authentication mode for a #GTlsServerConnection. +Since: 2.28 - - The class structure for a #GObject<!-- -->-derived class. + + client authentication not required + + + + client authentication is requested - - The property id to assign to the first overridden property. + + client authentication is required - The last property id. - - + - + -Asynchronously creates a proxy for the D-Bus interface <link linkend="gdbus-interface-TestUglyCaseInterface.top_of_page">TestUglyCaseInterface</link>. See g_dbus_proxy_new() for more details. - -When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. -You can then call foo_igen_test_ugly_case_interface_proxy_new_finish() to get the result of the operation. +A set of flags describing TLS certification validation. This can be +used to set which validation steps to perform (eg, with +g_tls_client_connection_set_validation_flags()), or to describe why +a particular certificate was rejected (eg, in +#GTlsConnection::accept-certificate). -See foo_igen_test_ugly_case_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. +Since: 2.28 - - A #GDBusConnection. + + The signing certificate authority is +not known. - - Flags from the #GDBusProxyFlags enumeration. + + The certificate does not match the +expected identity of the site that it was retrieved from. - - A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. + + The certificate's activation time +is still in the future - - An object path. + + The certificate has expired - - A #GCancellable or %NULL. + + The certificate has been revoked +according to the #GTlsConnection's certificate revocation list. - - A #GAsyncReadyCallback to call when the request is satisfied. + + The certificate's algorithm is +considered insecure. - - User data to pass to @callback. + + Some other error occurred validating +the certificate + + + + the combination of all of the above +flags - - + - + -Finishes an operation started with foo_igen_test_ugly_case_interface_proxy_new(). +Emitted during the TLS handshake after the peer certificate has +been received. You can examine @peer_cert's certification path by +calling g_tls_certificate_get_issuer() on it. + +For a client-side connection, @peer_cert is the server's +certificate, and the signal will only be emitted if the +certificate was not acceptable according to @conn's +#GTlsClientConnection:validation_flags. If you would like the +certificate to be accepted despite @errors, return %TRUE from the +signal handler. Otherwise, if no handler accepts the certificate, +the handshake will fail with %G_TLS_ERROR_BAD_CERTIFICATE. + +For a server-side connection, @peer_cert is the certificate +presented by the client, if this was requested via the server's +#GTlsServerConnection:authentication_mode. On the server side, +the signal is always emitted when the client presents a +certificate, and the certificate will only be accepted if a +handler returns %TRUE. +Note that if this signal is emitted as part of asynchronous I/O +in the main thread, then you should not attempt to interact with +the user before returning from the signal handler. If you want to +let the user decide whether or not to accept the certificate, you +would have to return %FALSE from the signal handler on the first +attempt, and then after the connection attempt returns a +%G_TLS_ERROR_HANDSHAKE, you can interact with the user, and if +the user decides to accept the certificate, remember that fact, +create a new connection, and return %TRUE from the signal handler +the next time. + +If you are doing I/O in another thread, you do not +need to worry about this, and can simply block in the signal +handler until the UI thread returns an answer. + +Since: 2.28 - - The #GAsyncResult obtained from the #GAsyncReadyCallback passed to foo_igen_test_ugly_case_interface_proxy_new(). + + a #GTlsConnection - - Return location for error or %NULL + + the peer's #GTlsCertificate + + + + the problems with @peer_cert. - The constructed proxy object or %NULL if @error is set. + %TRUE to accept @peer_cert (which will also +immediately end the signal emission). %FALSE to allow the signal +emission to continue, which will cause the handshake to fail if +no one else overrides it. + - + - + -Like foo_igen_test_ugly_case_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. - -When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. -You can then call foo_igen_test_ugly_case_interface_proxy_new_for_bus_finish() to get the result of the operation. +Flags for g_tls_database_lookup_certificate_handle(), +g_tls_database_lookup_certificate_issuer(), +and g_tls_database_lookup_certificates_issued_by(). -See foo_igen_test_ugly_case_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. +Since: 2.30 - - A #GBusType. - - - - Flags from the #GDBusProxyFlags enumeration. - - - - A bus name (well-known or unique). - - - - An object path. - - - - A #GCancellable or %NULL. - - - - A #GAsyncReadyCallback to call when the request is satisfied. + + No lookup flags - - User data to pass to @callback. + + Restrict lookup to certificates that have +a private key. - - + - + -Finishes an operation started with foo_igen_test_ugly_case_interface_proxy_new_for_bus(). +Flags for g_tls_database_verify_chain(). +Since: 2.30 - - The #GAsyncResult obtained from the #GAsyncReadyCallback passed to foo_igen_test_ugly_case_interface_proxy_new_for_bus(). - - - - Return location for error or %NULL + + No verification flags - The constructed proxy object or %NULL if @error is set. - - + - + -Like foo_igen_test_ugly_case_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. - -The calling thread is blocked until a reply is received. - -See foo_igen_test_ugly_case_interface_proxy_new_for_bus() for the asynchronous version of this constructor. +An error code used with %G_TLS_ERROR in a #GError returned from a +TLS-related routine. +Since: 2.28 - - A #GBusType. + + No TLS provider is available - - Flags from the #GDBusProxyFlags enumeration. + + Miscellaneous TLS error - - A bus name (well-known or unique). + + A certificate could not be parsed - - An object path. + + The TLS handshake failed because the +peer does not seem to be a TLS server. - - A #GCancellable or %NULL. + + The TLS handshake failed because the +peer's certificate was not acceptable. - - Return location for error or %NULL + + The TLS handshake failed because +the server requested a client-side certificate, but none was +provided. See g_tls_connection_set_certificate(). + + + + The TLS connection was closed without proper +notice, which may indicate an attack. See +g_tls_connection_set_require_close_notify(). - The constructed proxy object or %NULL if @error is set. - - + - + -Synchronously creates a proxy for the D-Bus interface <link linkend="gdbus-interface-TestUglyCaseInterface.top_of_page">TestUglyCaseInterface</link>. See g_dbus_proxy_new_sync() for more details. - -The calling thread is blocked until a reply is received. - -See foo_igen_test_ugly_case_interface_proxy_new() for the asynchronous version of this constructor. +#GTlsInteractionResult is returned by various functions in #GTlsInteraction +when finishing an interaction request. +Since: 2.30 - - A #GDBusConnection. + + The interaction was unhandled (i.e. not +implemented). - - Flags from the #GDBusProxyFlags enumeration. + + The interaction completed, and resulting data +is available. - - A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. + + The interaction has failed, or was cancelled. +and the operation should be aborted. - - An object path. + + + + + +Various flags for the password. + +Since: 2.30 + + + + + No flags + + + + The password was wrong, and the user should retry. - - A #GCancellable or %NULL. + + Hint to the user that the password has been +wrong many times, and the user may not have many chances left. - - Return location for error or %NULL + + Hint to the user that this is the last try to get +this password right. - The constructed proxy object or %NULL if @error is set. - - + - + -Sets the <link linkend="gdbus-property-TestUglyCaseInterface.UGLYNAME">"UGLYNAME"</link> D-Bus property to @value. +When to allow rehandshaking. See +g_tls_connection_set_rehandshake_mode(). -Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side. +Since: 2.28 - - A #FooiGenTesTuglyCASEInterface. + + Never allow rehandshaking - - The value to set. + + Allow safe rehandshaking only + + + + Allow unsafe rehandshaking - - + - + -Creates a skeleton object for the D-Bus interface <link linkend="gdbus-interface-TestUglyCaseInterface.top_of_page">TestUglyCaseInterface</link>. - +Emitted when the unix mount points have changed. + + the object on which the signal is emitted + + - The skeleton object. - - + + - + -Asynchronously invokes the <link linkend="gdbus-method-UnknownXmlTags.CanSetTimezone">CanSetTimezone()</link> D-Bus method on @proxy. -When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. -You can then call foo_igen_unknown_xml_tags_call_can_set_timezone_finish() to get the result of the operation. - -See foo_igen_unknown_xml_tags_call_can_set_timezone_sync() for the synchronous, blocking version of this method. +Emitted when the unix mounts have changed. - - A #FooiGenUnknownXmlTagsProxy. - - - - A #GCancellable or %NULL. - - - - A #GAsyncReadyCallback to call when the request is satisfied or %NULL. - - - - User data to pass to @callback. + + the object on which the signal is emitted - + - + -Finishes an operation started with foo_igen_unknown_xml_tags_call_can_set_timezone(). +The type of name used by a #GUnixSocketAddress. +%G_UNIX_SOCKET_ADDRESS_PATH indicates a traditional unix domain +socket bound to a filesystem path. %G_UNIX_SOCKET_ADDRESS_ANONYMOUS +indicates a socket not bound to any name (eg, a client-side socket, +or a socket created with socketpair()). + +For abstract sockets, there are two incompatible ways of naming +them; the man pages suggest using the entire <literal>struct +sockaddr_un</literal> as the name, padding the unused parts of the +%sun_path field with zeroes; this corresponds to +%G_UNIX_SOCKET_ADDRESS_ABSTRACT_PADDED. However, many programs +instead just use a portion of %sun_path, and pass an appropriate +smaller length to bind() or connect(). This is +%G_UNIX_SOCKET_ADDRESS_ABSTRACT. +Since: 2.26 - - A #FooiGenUnknownXmlTagsProxy. + + invalid - - Return location for return parameter or %NULL to ignore. + + anonymous - - The #GAsyncResult obtained from the #GAsyncReadyCallback passed to foo_igen_unknown_xml_tags_call_can_set_timezone(). + + a filesystem path - - Return location for error or %NULL. + + an abstract name + + + + an abstract name, 0-padded +to the full length of a unix socket name - %TRUE if the call succeded, %FALSE if @error is set. - - + - + -Synchronously invokes the <link linkend="gdbus-method-UnknownXmlTags.CanSetTimezone">CanSetTimezone()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. +Emitted when the volume has been changed. -See foo_igen_unknown_xml_tags_call_can_set_timezone() for the asynchronous version of this method. + + + + + + + +This signal is emitted when the #GVolume have been removed. If +the recipient is holding references to the object they should +release them so the object can be finalized. - - A #FooiGenUnknownXmlTagsProxy. - - - - Return location for return parameter or %NULL to ignore. - - - - A #GCancellable or %NULL. - - - - Return location for error or %NULL. - - - %TRUE if the call succeded, %FALSE if @error is set. - - + + - + -Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-UnknownXmlTags.CanSetTimezone">CanSetTimezone()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. - -This method will free @invocation, you cannot use it afterwards. +Emitted when a drive changes. - - A #FooiGenUnknownXmlTags. - - - - A #GDBusMethodInvocation. + + The volume monitor emitting the signal. - - Parameter to return. + + the drive that changed - + - + -Gets a copy of the <link linkend="gdbus-property-UnknownXmlTags.SomeProperty">"SomeProperty"</link> D-Bus property. - -Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side. - +Emitted when a drive is connected to the system. - - A #FooiGenUnknownXmlTags. + + The volume monitor emitting the signal. + + + + a #GDrive that was connected. - The property value or %NULL if the property is not set. The returned value should be freed with g_free(). - - + + - + -Emits the <link linkend="gdbus-signal-UnknownXmlTags.SomeSignal">"SomeSignal"</link> D-Bus signal. +Emitted when a drive is disconnected from the system. - - A #FooiGenUnknownXmlTags. + + The volume monitor emitting the signal. + + + + a #GDrive that was disconnected. - + - + -Gets the value of the <link linkend="gdbus-property-UnknownXmlTags.SomeProperty">"SomeProperty"</link> D-Bus property. - -Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side. - -<warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use foo_igen_unknown_xml_tags_dup_some_property() if on another thread.</warning> +Emitted when the eject button is pressed on @drive. +Since: 2.18 - - A #FooiGenUnknownXmlTags. + + The volume monitor emitting the signal. + + + + the drive where the eject button was pressed - The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. - - + + - + -Gets a machine-readable description of the <link linkend="gdbus-interface-UnknownXmlTags.top_of_page">UnknownXmlTags</link> D-Bus interface. +Emitted when the stop button is pressed on @drive. +Since: 2.22 + + The volume monitor emitting the signal. + + + + the drive where the stop button was pressed + + - A #GDBusInterfaceInfo. Do not free. - - + + - + -Overrides all #GObject properties in the #FooiGenUnknownXmlTags interface for a concrete class. -The properties are overridden in the order they are defined. - +Emitted when a mount is added. - - The class structure for a #GObject<!-- -->-derived class. + + The volume monitor emitting the signal. - - The property id to assign to the first overridden property. + + a #GMount that was added. - The last property id. - - + + - + -Asynchronously creates a proxy for the D-Bus interface <link linkend="gdbus-interface-UnknownXmlTags.top_of_page">UnknownXmlTags</link>. See g_dbus_proxy_new() for more details. - -When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. -You can then call foo_igen_unknown_xml_tags_proxy_new_finish() to get the result of the operation. - -See foo_igen_unknown_xml_tags_proxy_new_sync() for the synchronous, blocking version of this constructor. +Emitted when a mount changes. - - A #GDBusConnection. - - - - Flags from the #GDBusProxyFlags enumeration. - - - - A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. - - - - An object path. - - - - A #GCancellable or %NULL. - - - - A #GAsyncReadyCallback to call when the request is satisfied. + + The volume monitor emitting the signal. - - User data to pass to @callback. + + a #GMount that changed. - + - + -Finishes an operation started with foo_igen_unknown_xml_tags_proxy_new(). - +Emitted when a mount is about to be removed. - - The #GAsyncResult obtained from the #GAsyncReadyCallback passed to foo_igen_unknown_xml_tags_proxy_new(). + + The volume monitor emitting the signal. - - Return location for error or %NULL + + a #GMount that is being unmounted. - The constructed proxy object or %NULL if @error is set. - - + + - + -Like foo_igen_unknown_xml_tags_proxy_new() but takes a #GBusType instead of a #GDBusConnection. - -When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. -You can then call foo_igen_unknown_xml_tags_proxy_new_for_bus_finish() to get the result of the operation. - -See foo_igen_unknown_xml_tags_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. +Emitted when a mount is removed. - - A #GBusType. - - - - Flags from the #GDBusProxyFlags enumeration. + + The volume monitor emitting the signal. - - A bus name (well-known or unique). + + a #GMount that was removed. - - An object path. + + + + + + +Emitted when a mountable volume is added to the system. + + + + + The volume monitor emitting the signal. - - A #GCancellable or %NULL. + + a #GVolume that was added. - - A #GAsyncReadyCallback to call when the request is satisfied. + + + + + + +Emitted when mountable volume is changed. + + + + + The volume monitor emitting the signal. - - User data to pass to @callback. + + a #GVolume that changed. - + - + -Finishes an operation started with foo_igen_unknown_xml_tags_proxy_new_for_bus(). - +Emitted when a mountable volume is removed from the system. - - The #GAsyncResult obtained from the #GAsyncReadyCallback passed to foo_igen_unknown_xml_tags_proxy_new_for_bus(). + + The volume monitor emitting the signal. - - Return location for error or %NULL + + a #GVolume that was removed. - The constructed proxy object or %NULL if @error is set. - - + + - + -Like foo_igen_unknown_xml_tags_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. - -The calling thread is blocked until a reply is received. - -See foo_igen_unknown_xml_tags_proxy_new_for_bus() for the asynchronous version of this constructor. +Used to select the type of data format to use for #GZlibDecompressor +and #GZlibCompressor. +Since: 2.24 - - A #GBusType. - - - - Flags from the #GDBusProxyFlags enumeration. - - - - A bus name (well-known or unique). - - - - An object path. + + deflate compression with zlib header - - A #GCancellable or %NULL. + + gzip file format - - Return location for error or %NULL + + deflate compression with no header - The constructed proxy object or %NULL if @error is set. - - + - + -Synchronously creates a proxy for the D-Bus interface <link linkend="gdbus-interface-UnknownXmlTags.top_of_page">UnknownXmlTags</link>. See g_dbus_proxy_new_sync() for more details. - -The calling thread is blocked until a reply is received. - -See foo_igen_unknown_xml_tags_proxy_new() for the asynchronous version of this constructor. +Translates kqueue filter flags into GIO event flags. - - A #GDBusConnection. - - - Flags from the #GDBusProxyFlags enumeration. - - - - A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. - - - - An object path. - - - - A #GCancellable or %NULL. + a set of kqueue filter flags - - Return location for error or %NULL + + a pointer to #gboolean indicating that the +conversion has been done (out) - The constructed proxy object or %NULL if @error is set. + a #GFileMonitorEvent - + -Sets the <link linkend="gdbus-property-UnknownXmlTags.SomeProperty">"SomeProperty"</link> D-Bus property to @value. - -Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side. +Won't hold a ref, we have a timout callback to clean unused node_t. +If there is no value for a key, add it and return it; else return the old +one. - - A #FooiGenUnknownXmlTags. - - - - The value to set. - - - + -Creates a skeleton object for the D-Bus interface <link linkend="gdbus-interface-UnknownXmlTags.top_of_page">UnknownXmlTags</link>. - +FEN subsystem initializing. - The skeleton object. - + @@ -37906,6 +23012,163 @@ was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. + + +Recursively measures the disk usage of @file. + +This is essentially an analog of the '<literal>du</literal>' command, +but it also reports the number of directories and non-directory files +encountered (including things like symbolic links). + +By default, errors are only reported against the toplevel file +itself. Errors found while recursing are silently ignored, unless +%G_FILE_DISK_USAGE_REPORT_ALL_ERRORS is given in @flags. + +The returned size, @disk_usage, is in bytes and should be formatted +with g_format_size() in order to get something reasonable for showing +in a user interface. + +@progress_callback and @progress_data can be given to request +periodic progress updates while scanning. See the documentation for +#GFileMeasureProgressCallback for information about when and how the +callback will be invoked. + +Since: 2.38 + + + + + a #GFile + + + + #GFileMeasureFlags + + + + optional #GCancellable + + + + a #GFileMeasureProgressCallback + + + + user_data for @progress_callback + + + + the number of bytes of disk space used + + + + the number of directories encountered + + + + the number of non-directories encountered + + + + %NULL, or a pointer to a %NULL #GError pointer + + + + %TRUE if successful, with the out parameters set. +%FALSE otherwise, with @error set. + + + + + + +Recursively measures the disk usage of @file. + +This is the asynchronous version of g_file_measure_disk_usage(). See +there for more information. + +Since: 2.38 + + + + + a #GFile + + + + #GFileMeasureFlags + + + + the <link linkend="io-priority">I/O priority</link> +of the request + + + + optional #GCancellable + + + + a #GFileMeasureProgressCallback + + + + user_data for @progress_callback + + + + a #GAsyncReadyCallback to call when complete + + + + the data to pass to callback function + + + + + + + + +Collects the results from an earlier call to +g_file_measure_disk_usage_async(). See g_file_measure_disk_usage() for +more information. + +Since: 2.38 + + + + + a #GFile + + + + the #GAsyncResult passed to your #GAsyncReadyCallback + + + + the number of bytes of disk space used + + + + the number of directories encountered + + + + the number of non-directories encountered + + + + %NULL, or a pointer to a %NULL #GError pointer + + + + %TRUE if successful, with the out parameters set. +%FALSE otherwise, with @error set. + + + + Obtains a file or directory monitor for the given file, @@ -43615,7 +28878,8 @@ Finishes an asynchronous icon load started in g_loadable_icon_load_async(). - a location to store the type of the loaded icon, %NULL to ignore. + a location to store the type of the +loaded icon, %NULL to ignore. @@ -52025,6 +37289,8 @@ and adding them to the action group. Since: 2.30 +Deprecated: 2.38: Use g_action_map_add_action_entries() + @@ -52059,6 +37325,8 @@ The action group takes its own reference on @action. Since: 2.28 +Deprecated: 2.38: Use g_action_map_add_action() + @@ -52081,6 +37349,8 @@ If no such action exists, returns %NULL. Since: 2.28 +Deprecated: 2.38: Use g_action_map_lookup_action() + @@ -52119,6 +37389,8 @@ If no action of this name is in the group then nothing happens. Since: 2.28 +Deprecated: 2.38: Use g_action_map_remove_action() + @@ -53263,14 +38535,20 @@ receive connections. (See g_socket_listen() and g_socket_accept() ). In certain situations, you may also want to bind a socket that will be used to initiate connections, though this is not normally required. -@allow_reuse should be %TRUE for server sockets (sockets that you will -eventually call g_socket_accept() on), and %FALSE for client sockets. -(Specifically, if it is %TRUE, then g_socket_bind() will set the -%SO_REUSEADDR flag on the socket, allowing it to bind @address even if -that address was previously used by another socket that has not yet been -fully cleaned-up by the kernel. Failing to set this flag on a server -socket may cause the bind call to return %G_IO_ERROR_ADDRESS_IN_USE if -the server program is stopped and then immediately restarted.) +If @socket is a TCP socket, then @allow_reuse controls the setting +of the <literal>SO_REUSEADDR</literal> socket option; normally it +should be %TRUE for server sockets (sockets that you will +eventually call g_socket_accept() on), and %FALSE for client +sockets. (Failing to set this flag on a server socket may cause +g_socket_bind() to return %G_IO_ERROR_ADDRESS_IN_USE if the server +program is stopped and then immediately restarted.) + +If @socket is a UDP socket, then @allow_reuse determines whether or +not other UDP sockets can be bound to the same address at the same +time. In particular, you can have several UDP sockets bound to the +same address, and they will all receive all of the multicast and +broadcast packets sent to that address. (The behavior of unicast +UDP packets to an address with multiple listeners is not defined.) Since: 2.22 @@ -54944,6 +40222,17 @@ Since: 2.22 Get the amount of data pending in the OS input buffer. +If @socket is a UDP or SCTP socket, this will return the size of +just the next packet, even if additional packets are buffered after +that one. + +Note that on Windows, this function is rather inefficient in the +UDP case, and so if you know any plausible upper bound on the size +of the incoming packet, it is better to just do a +g_socket_receive() with a buffer of that size, rather than calling +g_socket_get_available_bytes() first and then doing a receive of +exactly the right size. + Since: 2.32 @@ -54954,7 +40243,7 @@ Since: 2.32 the number of bytes that can be read from the socket -without blocking or -1 on error. +without blocking or truncating, or -1 on error. @@ -54982,7 +40271,7 @@ Since: 2.22 Gets the broadcast setting on @socket; if %TRUE, it is possible to send packets to broadcast -addresses or receive from broadcast addresses. +addresses. Since: 2.32 @@ -56563,8 +41852,8 @@ Since: 2.22 -Sets whether @socket should allow sending to and receiving from -broadcast addresses. This is %FALSE by default. +Sets whether @socket should allow sending to broadcast addresses. +This is %FALSE by default. Since: 2.32 @@ -56575,8 +41864,8 @@ Since: 2.32 - whether @socket should allow sending to and receiving -from broadcast addresses + whether @socket should allow sending to broadcast +addresses diff --git a/gio/src/gio_enums.defs b/gio/src/gio_enums.defs index 2d47983..bbffcc5 100644 --- a/gio/src/gio_enums.defs +++ b/gio/src/gio_enums.defs @@ -212,6 +212,25 @@ ) ;; Original typedef: +;; typedef enum { +;; G_FILE_MEASURE_NONE = 0, +;; G_FILE_MEASURE_REPORT_ANY_ERROR = (1 << 1), +;; G_FILE_MEASURE_APPARENT_SIZE = (1 << 2), +;; G_FILE_MEASURE_NO_XDEV = (1 << 3) +;; } GFileMeasureFlags; + +(define-flags-extended FileMeasureFlags + (in-module "G") + (c-name "GFileMeasureFlags") + (values + '("none" "G_FILE_MEASURE_NONE" "0x0") + '("report-any-error" "G_FILE_MEASURE_REPORT_ANY_ERROR" "(1 << 1)") + '("apparent-size" "G_FILE_MEASURE_APPARENT_SIZE" "(1 << 2)") + '("no-xdev" "G_FILE_MEASURE_NO_XDEV" "(1 << 3)") + ) +) + +;; Original typedef: ;; typedef enum /*< flags >*/ { ;; G_MOUNT_MOUNT_NONE = 0 ;; } GMountMountFlags; diff --git a/gio/src/gio_methods.defs b/gio/src/gio_methods.defs index e30a980..131c063 100644 --- a/gio/src/gio_methods.defs +++ b/gio/src/gio_methods.defs @@ -879,6 +879,18 @@ ) ) +(define-flags MeasureFlags + (in-module "GFile") + (c-name "GFileMeasureFlags") + (gtype-id "G_TYPE_FILE_MEASURE_FLAGS") + (values + '("none" "G_FILE_MEASURE_NONE") + '("report-any-error" "G_FILE_MEASURE_REPORT_ANY_ERROR") + '("apparent-size" "G_FILE_MEASURE_APPARENT_SIZE") + '("no-xdev" "G_FILE_MEASURE_NO_XDEV") + ) +) + (define-enum MountFlags (in-module "GMount") (c-name "GMountMountFlags") @@ -8129,6 +8141,50 @@ ) ) +(define-method measure_disk_usage + (of-object "GFile") + (c-name "g_file_measure_disk_usage") + (return-type "gboolean") + (parameters + '("GFileMeasureFlags" "flags") + '("GCancellable*" "cancellable") + '("GFileMeasureProgressCallback" "progress_callback") + '("gpointer" "progress_data") + '("guint64*" "disk_usage") + '("guint64*" "num_dirs") + '("guint64*" "num_files") + '("GError**" "error") + ) +) + +(define-method measure_disk_usage_async + (of-object "GFile") + (c-name "g_file_measure_disk_usage_async") + (return-type "none") + (parameters + '("GFileMeasureFlags" "flags") + '("gint" "io_priority") + '("GCancellable*" "cancellable") + '("GFileMeasureProgressCallback" "progress_callback") + '("gpointer" "progress_data") + '("GAsyncReadyCallback" "callback") + '("gpointer" "user_data") + ) +) + +(define-method measure_disk_usage_finish + (of-object "GFile") + (c-name "g_file_measure_disk_usage_finish") + (return-type "gboolean") + (parameters + '("GAsyncResult*" "result") + '("guint64*" "disk_usage") + '("guint64*" "num_dirs") + '("guint64*" "num_files") + '("GError**" "error") + ) +) + (define-method start_mountable (of-object "GFile") (c-name "g_file_start_mountable") @@ -9835,6 +9891,11 @@ (return-type "GType") ) +(define-function g_file_measure_flags_get_type + (c-name "g_file_measure_flags_get_type") + (return-type "GType") +) + (define-function g_mount_mount_flags_get_type (c-name "g_mount_mount_flags_get_type") (return-type "GType") @@ -10351,6 +10412,28 @@ (return-type "none") ) +(define-method send_to_mainloop + (of-object "GIOSchedulerJob") + (c-name "g_io_scheduler_job_send_to_mainloop") + (return-type "gboolean") + (parameters + '("GSourceFunc" "func") + '("gpointer" "user_data") + '("GDestroyNotify" "notify") + ) +) + +(define-method send_to_mainloop_async + (of-object "GIOSchedulerJob") + (c-name "g_io_scheduler_job_send_to_mainloop_async") + (return-type "none") + (parameters + '("GSourceFunc" "func") + '("gpointer" "user_data") + '("GDestroyNotify" "notify") + ) +) + ;; From giostream.h diff --git a/gio/src/gio_signals.defs b/gio/src/gio_signals.defs index 8b3cc75..13d22f9 100644 --- a/gio/src/gio_signals.defs +++ b/gio/src/gio_signals.defs @@ -1668,7 +1668,7 @@ (define-property broadcast (of-object "GSocket") (prop-type "GParamBoolean") - (docs "Whether to allow sending to and receiving from broadcast addresses") + (docs "Whether to allow sending to broadcast addresses") (readable #t) (writable #t) (construct-only #f) diff --git a/gio/src/settings.hg b/gio/src/settings.hg index c79f52c..cc45bdc 100644 --- a/gio/src/settings.hg +++ b/gio/src/settings.hg @@ -67,6 +67,8 @@ public: _WRAP_METHOD(int get_int(const Glib::ustring& key) const, g_settings_get_int) _WRAP_METHOD(void set_int(const Glib::ustring& key, int value), g_settings_set_int) + _WRAP_METHOD(guint get_uint(const Glib::ustring& key) const, g_settings_get_uint) + _WRAP_METHOD(void set_uiint(const Glib::ustring& key, guint value), g_settings_set_uint) _WRAP_METHOD(bool get_boolean(const Glib::ustring& key) const, g_settings_get_boolean) _WRAP_METHOD(void set_boolean(const Glib::ustring& key, bool value), g_settings_set_boolean) _WRAP_METHOD(Glib::ustring get_string(const Glib::ustring& key) const, g_settings_get_string) diff --git a/glib/src/glib_docs.xml b/glib/src/glib_docs.xml index 2541e15..724d5d8 100644 --- a/glib/src/glib_docs.xml +++ b/glib/src/glib_docs.xml @@ -2091,6 +2091,10 @@ Flags passed to g_spawn_sync(), g_spawn_async() and g_spawn_async_with_pipes(). + + no flags, default behaviour + + the parent's open file descriptors will be inherited by the child; otherwise all descriptors except stdin/stdout/stderr @@ -4799,11 +4803,10 @@ The macro can be turned off in final releases of code by defining -Debugging macro to terminate the application with a warning -message if a floating point number comparison fails. +Debugging macro to compare two floating point numbers. The effect of <literal>g_assert_cmpfloat (n1, op, n2)</literal> is -the same as <literal>g_assert (n1 op n2)</literal>. The advantage +the same as <literal>g_assert_true (n1 op n2)</literal>. The advantage of this macro is that it can produce a message that includes the actual values of @n1 and @n2. @@ -4830,8 +4833,7 @@ One of ==, !=, <, >, <=, >=. -Debugging macro to terminate the application with a warning -message if an unsigned integer comparison fails. +Debugging macro to compare to unsigned integers. This is a variant of g_assert_cmpuint() that displays the numbers in hexadecimal notation in the message. @@ -4859,11 +4861,10 @@ One of ==, !=, <, >, <=, >=. -Debugging macro to terminate the application with a warning -message if an integer comparison fails. +Debugging macro to compare two integers. The effect of <literal>g_assert_cmpint (n1, op, n2)</literal> is -the same as <literal>g_assert (n1 op n2)</literal>. The advantage +the same as <literal>g_assert_true (n1 op n2)</literal>. The advantage of this macro is that it can produce a message that includes the actual values of @n1 and @n2. @@ -4890,12 +4891,13 @@ One of ==, !=, <, >, <=, >=. -Debugging macro to terminate the application with a warning -message if a string comparison fails. The strings are compared -using g_strcmp0(). +Debugging macro to compare two strings. If the comparison fails, +an error message is logged and the application is either terminated +or the testcase marked as failed. +The strings are compared using g_strcmp0(). The effect of <literal>g_assert_cmpstr (s1, op, s2)</literal> is -the same as <literal>g_assert (g_strcmp0 (s1, s2) op 0)</literal>. +the same as <literal>g_assert_true (g_strcmp0 (s1, s2) op 0)</literal>. The advantage of this macro is that it can produce a message that includes the actual values of @s1 and @s2. @@ -4926,11 +4928,10 @@ One of ==, !=, <, >, <=, >=. -Debugging macro to terminate the application with a warning -message if an unsigned integer comparison fails. +Debugging macro to compare two unsigned integers. The effect of <literal>g_assert_cmpuint (n1, op, n2)</literal> is -the same as <literal>g_assert (n1 op n2)</literal>. The advantage +the same as <literal>g_assert_true (n1 op n2)</literal>. The advantage of this macro is that it can produce a message that includes the actual values of @n1 and @n2. @@ -4957,11 +4958,11 @@ One of ==, !=, <, >, <=, >=. -Debugging macro to terminate the application with a warning -message if a method has not returned the correct #GError. +Debugging macro to check that a method has returned +the correct #GError. The effect of <literal>g_assert_error (err, dom, c)</literal> is -the same as <literal>g_assert (err != NULL && err->domain +the same as <literal>g_assert_true (err != NULL && err->domain == dom && err->code == c)</literal>. The advantage of this macro is that it can produce a message that includes the incorrect error message and code. @@ -4990,13 +4991,34 @@ Since: 2.20 + + +Debugging macro to check an expression is false. + +If the assertion fails (i.e. the expression is not false), +an error message is logged and the application is either +terminated or the testcase marked as failed. + +See g_test_set_nonfatal_assertions(). + +Since: 2.38 + + + + + the expression to check + + + + + + -Debugging macro to terminate the application with a warning -message if a method has returned a #GError. +Debugging macro to check that a #GError is not set. The effect of <literal>g_assert_no_error (err)</literal> is -the same as <literal>g_assert (err == NULL)</literal>. The advantage +the same as <literal>g_assert_true (err == NULL)</literal>. The advantage of this macro is that it can produce a message that includes the error message and code. @@ -5027,6 +5049,50 @@ The macro can be turned off in final releases of code by defining + + +Debugging macro to check an expression is %NULL. + +If the assertion fails (i.e. the expression is not %NULL), +an error message is logged and the application is either +terminated or the testcase marked as failed. + +See g_test_set_nonfatal_assertions(). + +Since: 2.38 + + + + + the expression to check + + + + + + + + +Debugging macro to check that an expression is true. + +If the assertion fails (i.e. the expression is not true), +an error message is logged and the application is either +terminated or the testcase marked as failed. + +See g_test_set_nonfatal_assertions(). + +Since: 2.38 + + + + + the expression to check + + + + + + Returns the length of the queue. @@ -10289,6 +10355,8 @@ function over the call provided by the system; on Unix, it will attempt to correctly handle %EINTR, which has platform-specific semantics. +Since: 2.36 + @@ -13650,7 +13718,23 @@ the year as a decimal number including the century <varlistentry><term> <literal>\%z</literal>: </term><listitem><simpara> -the time-zone as hour offset from UTC +the time zone as an offset from UTC (+hhmm) +</simpara></listitem></varlistentry> +<varlistentry><term> +<literal>\%:z</literal>: +</term><listitem><simpara> +the time zone as an offset from UTC (+hh:mm). This is a gnulib strftime extension. Since: 2.38 +</simpara></listitem></varlistentry> +<varlistentry><term> +<literal>\%::z</literal>: +</term><listitem><simpara> +the time zone as an offset from UTC (+hh:mm:ss). This is a gnulib strftime extension. Since: 2.38 +</simpara></listitem></varlistentry> +<varlistentry><term> +<literal>\%:::z</literal>: +</term><listitem><simpara> +the time zone as an offset from UTC, with : to necessary precision +(e.g., -04, +05:30). This is a gnulib strftime extension. Since: 2.38 </simpara></listitem></varlistentry> <varlistentry><term> <literal>\%Z</literal>: @@ -16854,12 +16938,19 @@ not be modified or freed. -Gets the directory to use for temporary files. This is found from -inspecting the environment variables <envar>TMPDIR</envar>, -<envar>TMP</envar>, and <envar>TEMP</envar> in that order. If none -of those are defined "/tmp" is returned on UNIX and "C:\" on Windows. -The encoding of the returned string is system-defined. On Windows, -it is always UTF-8. The return value is never %NULL or the empty string. +Gets the directory to use for temporary files. + +On UNIX, this is taken from the <envar>TMPDIR</envar> environment +variable. If the variable is not set, <literal>P_tmpdir</literal> is +used, as defined by the system C library. Failing that, a hard-coded +default of "/tmp" is returned. + +On Windows, the <envar>TEMP</envar> environment variable is used, +with the root directory of the Windows installation (eg: "C:\") used +as a default. + +The encoding of the returned string is system-defined. On Windows, it +is always UTF-8. The return value is never %NULL or the empty string. @@ -37490,6 +37581,19 @@ and/or @data the handlers have to match. + + + + + + + The instance where a signal handler is sought. + + + + + + Disconnects all handlers on an instance that match @data. @@ -42240,7 +42344,7 @@ For use with #GHashTable. - %TRUE if they strings are the same length and contain the + %TRUE if the strings are the same length and contain the same bytes @@ -43743,6 +43847,29 @@ Since: 2.30 + + +Returns whether a test has already failed. This will +be the case when g_test_fail(), g_test_incomplete() +or g_test_skip() have been called, but also if an +assertion has failed. + +This can be useful to return early from a test if +continuing after a failed assertion might be harmful. + +The return value of this function is only meaningful +if it is called from inside a test function. + +Since: 2.38 + + + + + %TRUE if the test has failed + + + + Gets the pathname of the directory containing test files of the type @@ -43816,6 +43943,31 @@ Since: 2.16 + + +Indicates that a test failed because of some incomplete +functionality. This function can be called multiple times +from the same test. + +Calling this function will not stop the test from running, you +need to return from the test function yourself. So you can +produce additional diagnostic messages or even continue running +the test. + +If not called from inside a test, this function does nothing. + +Since: 2.38 + + + + + explanation + + + + + + Initialize the GLib testing framework, e.g. by seeding the @@ -44333,6 +44485,51 @@ Since: 2.16 + + +Changes the behaviour of g_assert_cmpstr(), g_assert_cmpint(), +g_assert_cmpuint(), g_assert_cmphex(), g_assert_cmpfloat(), +g_assert_true(), g_assert_false(), g_assert_null(), g_assert_no_error(), +g_assert_error(), g_test_assert_expected_messages() and the various +g_test_trap_assert_*() macros to not abort to program, but instead +call g_test_fail() and continue. + +Note that the g_assert_not_reached() and g_assert() are not +affected by this. + +This function can only be called after g_test_init(). + +Since: 2.38 + + + + + + + + + +Indicates that a test was skipped. + +Calling this function will not stop the test from running, you +need to return from the test function yourself. So you can +produce additional diagnostic messages or even continue running +the test. + +If not called from inside a test, this function does nothing. + +Since: 2.38 + + + + + explanation + + + + + + Returns %TRUE if tests are run in slow mode. @@ -44997,6 +45194,7 @@ of @func becomes the return value of the thread, which can be obtained with g_thread_join(). The @name can be useful for discriminating threads in a debugger. +It is not used for other purposes and does not have to be unique. Some systems restrict the length of @name to 16 bytes. If the thread can not be created the program aborts. See @@ -45010,7 +45208,7 @@ Since: 2.32 - a name for the new thread + an (optional) name for the new thread @@ -45470,7 +45668,7 @@ Since: 2.32 - a name for the new thread + an (optional) name for the new thread diff --git a/glib/src/glib_enums.defs b/glib/src/glib_enums.defs index 58289cb..f4a55dc 100644 --- a/glib/src/glib_enums.defs +++ b/glib/src/glib_enums.defs @@ -1145,6 +1145,7 @@ ;; Original typedef: ;; typedef enum ;; { +;; G_SPAWN_DEFAULT = 0, ;; G_SPAWN_LEAVE_DESCRIPTORS_OPEN = 1 << 0, ;; G_SPAWN_DO_NOT_REAP_CHILD = 1 << 1, ;; /* look for argv[0] in the path i.e. use execvp() */ @@ -1161,6 +1162,7 @@ (in-module "G") (c-name "GSpawnFlags") (values + '("default" "G_SPAWN_DEFAULT" "0x0") '("leave-descriptors-open" "G_SPAWN_LEAVE_DESCRIPTORS_OPEN" "1 << 0") '("do-not-reap-child" "G_SPAWN_DO_NOT_REAP_CHILD" "1 << 1") '("search-path" "G_SPAWN_SEARCH_PATH" "1 << 2") @@ -1254,7 +1256,9 @@ ;; G_TEST_LOG_STOP_CASE, /* d:status d:nforks d:elapsed */ ;; G_TEST_LOG_MIN_RESULT, /* s:blurb d:result */ ;; G_TEST_LOG_MAX_RESULT, /* s:blurb d:result */ -;; G_TEST_LOG_MESSAGE /* s:blurb */ +;; G_TEST_LOG_MESSAGE, /* s:blurb */ +;; G_TEST_LOG_START_SUITE, +;; G_TEST_LOG_STOP_SUITE ;; } GTestLogType; (define-enum-extended TestLogType @@ -1271,6 +1275,8 @@ '("min-result" "G_TEST_LOG_MIN_RESULT" "7") '("max-result" "G_TEST_LOG_MAX_RESULT" "8") '("message" "G_TEST_LOG_MESSAGE" "9") + '("start-suite" "G_TEST_LOG_START_SUITE" "10") + '("stop-suite" "G_TEST_LOG_STOP_SUITE" "11") ) ) diff --git a/glib/src/glib_functions.defs b/glib/src/glib_functions.defs index 2e35dff..a94c83e 100644 --- a/glib/src/glib_functions.defs +++ b/glib/src/glib_functions.defs @@ -582,6 +582,7 @@ (c-name "GSpawnFlags") (gtype-id "G_TYPE_SPAWN_FLAGS") (values + '("default" "G_SPAWN_DEFAULT") '("leave-descriptors-open" "G_SPAWN_LEAVE_DESCRIPTORS_OPEN") '("do-not-reap-child" "G_SPAWN_DO_NOT_REAP_CHILD") '("search-path" "G_SPAWN_SEARCH_PATH") @@ -649,6 +650,8 @@ '("min-result" "G_TEST_LOG_MIN_RESULT") '("max-result" "G_TEST_LOG_MAX_RESULT") '("message" "G_TEST_LOG_MESSAGE") + '("start-suite" "G_TEST_LOG_START_SUITE") + '("stop-suite" "G_TEST_LOG_STOP_SUITE") ) ) @@ -6012,6 +6015,23 @@ ) ) +(define-function g_dir_open_with_errno + (c-name "g_dir_open_with_errno") + (return-type "GDir*") + (parameters + '("const-gchar*" "path") + '("guint" "flags") + ) +) + +(define-function g_dir_new_from_dirp + (c-name "g_dir_new_from_dirp") + (return-type "GDir*") + (parameters + '("gpointer" "dirp") + ) +) + (define-function glib__private__ (c-name "glib__private__") (return-type "GLibPrivateVTable*") @@ -6019,6 +6039,10 @@ +;; From glib_probes.h + + + ;; From glib_trace.h @@ -11180,6 +11204,32 @@ (return-type "none") ) +(define-function g_test_incomplete + (c-name "g_test_incomplete") + (return-type "none") + (parameters + '("const-gchar*" "msg") + ) +) + +(define-function g_test_skip + (c-name "g_test_skip") + (return-type "none") + (parameters + '("const-gchar*" "msg") + ) +) + +(define-function g_test_failed + (c-name "g_test_failed") + (return-type "gboolean") +) + +(define-function g_test_set_nonfatal_assertions + (c-name "g_test_set_nonfatal_assertions") + (return-type "none") +) + (define-function g_test_message (c-name "g_test_message") (return-type "none") @@ -11237,6 +11287,15 @@ ) ) +(define-function g_test_trap_fork + (c-name "g_test_trap_fork") + (return-type "gboolean") + (parameters + '("guint64" "usec_timeout") + '("GTestTrapFlags" "test_trap_flags") + ) +) + (define-function g_test_trap_subprocess (c-name "g_test_trap_subprocess") (return-type "none") diff --git a/glib/src/gobject_functions.defs b/glib/src/gobject_functions.defs index bcaa73c..3fc5e11 100644 --- a/glib/src/gobject_functions.defs +++ b/glib/src/gobject_functions.defs @@ -1930,6 +1930,10 @@ +;; From gobject_probes.h + + + ;; From gobject_trace.h diff --git a/glib/src/spawn.hg b/glib/src/spawn.hg index 2d4172b..bb53a08 100644 --- a/glib/src/spawn.hg +++ b/glib/src/spawn.hg @@ -190,7 +190,7 @@ _WRAP_GERROR(SpawnError, GSpawnError, G_SPAWN_ERROR, NO_GTYPE, s#^2BIG$#TOOBIG#) void spawn_async_with_pipes(const std::string& working_directory, const Glib::ArrayHandle& argv, const Glib::ArrayHandle& envp, - SpawnFlags flags = SpawnFlags(0), + SpawnFlags flags = SPAWN_DEFAULT, const sigc::slot& child_setup = sigc::slot(), Pid* child_pid = 0, int* standard_input = 0, @@ -216,7 +216,7 @@ void spawn_async_with_pipes(const std::string& working_directory, */ void spawn_async_with_pipes(const std::string& working_directory, const Glib::ArrayHandle& argv, - SpawnFlags flags = SpawnFlags(0), + SpawnFlags flags = SPAWN_DEFAULT, const sigc::slot& child_setup = sigc::slot(), Pid* child_pid = 0, int* standard_input = 0, @@ -247,7 +247,7 @@ void spawn_async_with_pipes(const std::string& working_directory, void spawn_async(const std::string& working_directory, const Glib::ArrayHandle& argv, const Glib::ArrayHandle& envp, - SpawnFlags flags = SpawnFlags(0), + SpawnFlags flags = SPAWN_DEFAULT, const sigc::slot& child_setup = sigc::slot(), Pid* child_pid = 0); @@ -266,7 +266,7 @@ void spawn_async(const std::string& working_directory, */ void spawn_async(const std::string& working_directory, const Glib::ArrayHandle& argv, - SpawnFlags flags = SpawnFlags(0), + SpawnFlags flags = SPAWN_DEFAULT, const sigc::slot& child_setup = sigc::slot(), Pid* child_pid = 0); @@ -305,7 +305,7 @@ void spawn_async(const std::string& working_directory, void spawn_sync(const std::string& working_directory, const Glib::ArrayHandle& argv, const Glib::ArrayHandle& envp, - SpawnFlags flags = SpawnFlags(0), + SpawnFlags flags = SPAWN_DEFAULT, const sigc::slot& child_setup = sigc::slot(), std::string* standard_output = 0, std::string* standard_error = 0, @@ -329,7 +329,7 @@ void spawn_sync(const std::string& working_directory, */ void spawn_sync(const std::string& working_directory, const Glib::ArrayHandle& argv, - SpawnFlags flags = SpawnFlags(0), + SpawnFlags flags = SPAWN_DEFAULT, const sigc::slot& child_setup = sigc::slot(), std::string* standard_output = 0, std::string* standard_error = 0, diff --git a/glib/src/variant.ccg b/glib/src/variant.ccg index 7b69c2c..bfdff9f 100644 --- a/glib/src/variant.ccg +++ b/glib/src/variant.ccg @@ -20,6 +20,19 @@ #include #include +extern "C" +{ + +//This is hack to workaround this problem in glib: +// https://bugzilla.gnome.org/show_bug.cgi?id=708212 +//We really should not define a g_* symbol outside of glib: +GQuark g_variant_parse_error_quark() +{ + return g_variant_parser_get_error_quark(); +} + +} //extern C + namespace Glib { diff --git a/glib/src/variant.hg b/glib/src/variant.hg index 5cb7a1c..1f905fc 100644 --- a/glib/src/variant.hg +++ b/glib/src/variant.hg @@ -21,6 +21,7 @@ _DEFS(glibmm,glib) #include #include #include +#include #include #include #include @@ -60,8 +61,12 @@ namespace Glib * with type inferencing.. */ -//TODO: VariantBase class can be copied, so suggest how it can be dynamic casted to -//derived types: See https://bugzilla.gnome.org/show_bug.cgi?id=644146 +//Note: So far we only wrap this because it is thrown by GtkBuilder's functions. +// See https://bugzilla.gnome.org/show_bug.cgi?id=708206 +// It would also be thrown by parse() if we wrap g_variant_parse(). +/** Exception class for Variant parse errors. + */ +_WRAP_GERROR(VariantParseError, GVariantParseError, G_VARIANT_PARSE_ERROR, NO_GTYPE) //TODO: Add this documentation from the API if we are confident of it for the C++ wrapper: // #GVariant is completely threadsafe. A #GVariant instance can be diff --git a/tools/defs_gen/definitions.py b/tools/defs_gen/definitions.py index bfb6faf..91820cf 100644 --- a/tools/defs_gen/definitions.py +++ b/tools/defs_gen/definitions.py @@ -210,7 +210,7 @@ class EnumDef(Definition): class FlagsDef(EnumDef): def __init__(self, *args): - apply(EnumDef.__init__, (self,) + args) + EnumDef.__init__(*(self,) + args) self.deftype = 'flags' class BoxedDef(Definition): @@ -463,8 +463,8 @@ class FunctionDef(Definition): self.params.append(Parameter(ptype, pname, pdflt, pnull)) elif arg[0] == 'properties': if self.is_constructor_of is None: - print >> sys.stderr, "Warning: (properties ...) "\ - "is only valid for constructors" + sys.stderr.write("Warning: (properties ...) "\ + "is only valid for constructors") for prop in arg[1:]: pname = prop[0] optional = False @@ -516,7 +516,7 @@ class FunctionDef(Definition): raise RuntimeError("could not find %s in old_parameters %r" % ( param.pname, [p.pname for p in old.params])) try: - self.params = map(merge_param, self.params) + self.params = list(map(merge_param, self.params)) except RuntimeError: # parameter names changed and we can't find a match; it's # safer to keep the old parameter list untouched. diff --git a/tools/defs_gen/defsparser.py b/tools/defs_gen/defsparser.py index 37ba0a2..44fb7a8 100644 --- a/tools/defs_gen/defsparser.py +++ b/tools/defs_gen/defsparser.py @@ -47,54 +47,54 @@ class DefsParser(IncludeParser): self.defines = defines # -Dfoo=bar options, as dictionary def define_object(self, *args): - odef = apply(ObjectDef, args) + odef = ObjectDef(*args) self.objects.append(odef) self.c_name[odef.c_name] = odef def define_interface(self, *args): - idef = apply(InterfaceDef, args) + idef = InterfaceDef(*args) self.interfaces.append(idef) self.c_name[idef.c_name] = idef def define_enum(self, *args): - edef = apply(EnumDef, args) + edef = EnumDef(*args) self.enums.append(edef) self.c_name[edef.c_name] = edef def define_flags(self, *args): - fdef = apply(FlagsDef, args) + fdef = FlagsDef(*args) self.enums.append(fdef) self.c_name[fdef.c_name] = fdef def define_boxed(self, *args): - bdef = apply(BoxedDef, args) + bdef = BoxedDef(*args) self.boxes.append(bdef) self.c_name[bdef.c_name] = bdef def define_pointer(self, *args): - pdef = apply(PointerDef, args) + pdef = PointerDef(*args) self.pointers.append(pdef) self.c_name[pdef.c_name] = pdef def define_function(self, *args): - fdef = apply(FunctionDef, args) + fdef = FunctionDef(*args) self.functions.append(fdef) self.c_name[fdef.c_name] = fdef def define_method(self, *args): - mdef = apply(MethodDef, args) + mdef = MethodDef(*args) self.functions.append(mdef) self.c_name[mdef.c_name] = mdef def define_virtual(self, *args): - vdef = apply(VirtualDef, args) + vdef = VirtualDef(*args) self.virtuals.append(vdef) def merge(self, old, parmerge): for obj in self.objects: - if old.c_name.has_key(obj.c_name): + if obj.c_name in old.c_name: obj.merge(old.c_name[obj.c_name]) for f in self.functions: - if old.c_name.has_key(f.c_name): + if f.c_name in old.c_name: f.merge(old.c_name[f.c_name], parmerge) def printMissing(self, old): for obj in self.objects: - if not old.c_name.has_key(obj.c_name): + if obj.c_name not in old.c_name: obj.write_defs() for f in self.functions: - if not old.c_name.has_key(f.c_name): + if f.c_name not in old.c_name: f.write_defs() def write_defs(self, fp=sys.stdout): @@ -125,18 +125,18 @@ class DefsParser(IncludeParser): def find_methods(self, obj): objname = obj.c_name - return filter(lambda func, on=objname: isinstance(func, MethodDef) and - func.of_object == on, self.functions) + return list(filter(lambda func, on=objname: isinstance(func, MethodDef) and + func.of_object == on, self.functions)) def find_virtuals(self, obj): objname = obj.c_name - retval = filter(lambda func, on=objname: isinstance(func, VirtualDef) and - func.of_object == on, self.virtuals) + retval = list(filter(lambda func, on=objname: isinstance(func, VirtualDef) and + func.of_object == on, self.virtuals)) return retval def find_functions(self): - return filter(lambda func: isinstance(func, FunctionDef) and - not func.is_constructor_of, self.functions) + return [func for func in self.functions if isinstance(func, FunctionDef) and + not func.is_constructor_of] def ifdef(self, *args): if args[0] in self.defines: diff --git a/tools/defs_gen/docextract.py b/tools/defs_gen/docextract.py index 8b0b690..7bf4911 100644 --- a/tools/defs_gen/docextract.py +++ b/tools/defs_gen/docextract.py @@ -2,7 +2,7 @@ '''Simple module for extracting GNOME style doc comments from C sources, so I can use them for other purposes.''' -import sys, os, string, re +import sys, os, re # Used to tell if the "Since: ..." portion of the gtkdoc function description # should be omitted. This is useful for some C++ modules such as gstreamermm @@ -483,10 +483,10 @@ def parse_tmpl(fp, doc_dict): cur_doc = None # don't worry about unused params. elif cur_doc: if line[:10] == '@Returns: ': - if string.strip(line[10:]): + if line[10:].strip(): cur_doc.append_to_return(line[10:]) elif line[0] == '@': - pos = string.find(line, ':') + pos = line.find(':') if pos >= 0: cur_doc.append_to_named_param(line[1:pos], line[pos+1:]) else: diff --git a/tools/defs_gen/docextract_to_xml.py b/tools/defs_gen/docextract_to_xml.py index 1c770ef..4222250 100755 --- a/tools/defs_gen/docextract_to_xml.py +++ b/tools/defs_gen/docextract_to_xml.py @@ -8,7 +8,6 @@ import getopt import re -import string import sys import docextract @@ -30,35 +29,35 @@ def escape_text(unescaped_text): escaped_text = re.sub(r'&(?![A-Za-z]+;)', '&', unescaped_text) # These weird entities turn up in the output... - escaped_text = string.replace(escaped_text, '—', '—') - escaped_text = string.replace(escaped_text, '*', '*') - escaped_text = string.replace(escaped_text, '%', '%') - escaped_text = string.replace(escaped_text, '@', '@') - escaped_text = string.replace(escaped_text, ':', ':') - escaped_text = string.replace(escaped_text, '#', '#') - escaped_text = string.replace(escaped_text, ' ', ' ') - escaped_text = string.replace(escaped_text, '&solidus;', '/') - escaped_text = string.replace(escaped_text, 'π', '∏') - escaped_text = string.replace(escaped_text, '⇒', '⇒') + escaped_text = escaped_text.replace('—', '—') + escaped_text = escaped_text.replace('*', '*') + escaped_text = escaped_text.replace('%', '%') + escaped_text = escaped_text.replace('@', '@') + escaped_text = escaped_text.replace(':', ':') + escaped_text = escaped_text.replace('#', '#') + escaped_text = escaped_text.replace(' ', ' ') + escaped_text = escaped_text.replace('&solidus;', '/') + escaped_text = escaped_text.replace('π', '∏') + escaped_text = escaped_text.replace('⇒', '⇒') # This represents a '/' before or after an '*' so replace with slash but # with spaces. - escaped_text = string.replace(escaped_text, '/', ' / ') + escaped_text = escaped_text.replace('/', ' / ') # Escape for both tag contents and attribute values - escaped_text = string.replace(escaped_text, '<', '<') - escaped_text = string.replace(escaped_text, '>', '>') - escaped_text = string.replace(escaped_text, '"', '"') + escaped_text = escaped_text.replace('<', '<') + escaped_text = escaped_text.replace('>', '>') + escaped_text = escaped_text.replace('"', '"') # Replace C++ comment begin and ends to ones that don't affect Doxygen. - escaped_text = string.replace(escaped_text, '/*', '/ *') - escaped_text = string.replace(escaped_text, '*/', '* /') + escaped_text = escaped_text.replace('/*', '/ *') + escaped_text = escaped_text.replace('*/', '* /') return escaped_text def print_annotations(annotations): for annotation in annotations: - print "" + \ - escape_text(annotation[1]) + "" + print("" + \ + escape_text(annotation[1]) + "") if __name__ == '__main__': try: @@ -66,7 +65,7 @@ if __name__ == '__main__': ["source-dir=", "with-annotations", "with-properties", "no-since", "no-signals", "no-enums"]) - except getopt.error, e: + except getopt.error as e: sys.stderr.write('docextract_to_xml.py: %s\n' % e) usage() source_dirs = [] @@ -97,7 +96,7 @@ if __name__ == '__main__': if docs: - print "" + print("") for name, value in sorted(docs.items()): # Get the type of comment block ('function', 'signal' or @@ -114,41 +113,41 @@ if __name__ == '__main__': elif block_type == 'enum' and not with_enums: continue - print "<" + block_type + " name=\"" + escape_text(name) + "\">" + print("<" + block_type + " name=\"" + escape_text(name) + "\">") - print "" - print escape_text(value.get_description()) - print "" + print("") + print(escape_text(value.get_description())) + print("") # Loop through the parameters if not dealing with a property: if block_type != 'property': - print "" + print("") for name, description, annotations in value.params: - print "" - print "" + escape_text(description) + "" + print("") + print("" + escape_text(description) + "") if with_annotations: print_annotations(annotations) - print "" + print("") - print "" + print("") if block_type != 'property' and block_type != 'enum': # Show the return-type (also if not dealing with a property or # enum): if with_annotations: - print "" - print "" + escape_text(value.ret[0]) + \ - "" + print("") + print("" + escape_text(value.ret[0]) + \ + "") print_annotations(value.ret[1]) - print "" + print("") else: - print "" + escape_text(value.ret[0]) + "" + print("" + escape_text(value.ret[0]) + "") if with_annotations: print_annotations(value.get_annotations()) - print "\n" + print("\n") - print "" + print("") diff --git a/tools/defs_gen/h2def.py b/tools/defs_gen/h2def.py index 8f5e018..3ffbd7c 100755 --- a/tools/defs_gen/h2def.py +++ b/tools/defs_gen/h2def.py @@ -86,14 +86,14 @@ def to_upper_str(name): name = _upperstr_pat1.sub(r'\1_\2', name) name = _upperstr_pat2.sub(r'\1_\2', name) name = _upperstr_pat3.sub(r'\1_\2', name, count=1) - return string.upper(name) + return name.upper() def typecode(typename, namespace=None): """create a typecode (eg. GTK_TYPE_WIDGET) from a typename""" if namespace: - return string.replace(string.upper(namespace) + "_" + to_upper_str(typename[len(namespace):]), '_', '_TYPE_', 1) + return (namespace.upper() + "_" + to_upper_str(typename[len(namespace):])).replace('_', '_TYPE_', 1) - return string.replace(to_upper_str(typename), '_', '_TYPE_', 1) + return to_upper_str(typename).replace('_', '_TYPE_', 1) # ------------------ Find object definitions ----------------- @@ -102,10 +102,10 @@ def strip_comments(buf): parts = [] lastpos = 0 while 1: - pos = string.find(buf, '/*', lastpos) + pos = buf.find('/*', lastpos) if pos >= 0: parts.append(buf[lastpos:pos]) - pos = string.find(buf, '*/', pos) + pos = buf.find('*/', pos) if pos >= 0: lastpos = pos + 2 else: @@ -113,7 +113,7 @@ def strip_comments(buf): else: parts.append(buf[lastpos:]) break - return string.join(parts, '') + return ''.join(parts) # Strips the dll API from buffer, for example WEBKIT_API def strip_dll_api(buf): @@ -259,11 +259,11 @@ def find_enum_defs(buf, enums=[]): name = m.group(2) vals = m.group(1) - isflags = string.find(vals, '<<') >= 0 + isflags = '<<' in vals entries = [] for val in splitter.split(vals): - if not string.strip(val): continue - entries.append(string.split(val)[0]) + if not val.strip(): continue + entries.append(val.split()[0]) if name != 'GdkCursorType': enums.append((name, isflags, entries)) @@ -304,6 +304,10 @@ def clean_func(buf): pat = re.compile(r"""G_GNUC_WARN_UNUSED_RESULT|G_INLINE_FUNC""", re.MULTILINE) buf = pat.sub('', buf) + #strip *_DEPRECATED_IN_*_FOR (*): + pat = re.compile(r"""[A-Z]+_DEPRECATED_IN_[1-9]_([1-9]*)_FOR \(\S*\)\S*""", re.MULTILINE) + buf = pat.sub('', buf) + #strip *_DEPRECATED* pat = re.compile(r"""[A-Z]+_DEPRECATED\S*""", re.MULTILINE) buf = pat.sub('', buf) @@ -340,10 +344,10 @@ def clean_func(buf): # make return types that are const work. buf = re.sub(r'\s*\*\s*G_CONST_RETURN\s*\*\s*', '** ', buf) - buf = string.replace(buf, 'G_CONST_RETURN ', 'const-') - buf = string.replace(buf, 'const ', 'const-') + buf = buf.replace('G_CONST_RETURN ', 'const-') + buf = buf.replace('const ', 'const-') # This is for types such as 'const gchar* const *' - buf = string.replace(buf, '* const', '*-const') + buf = buf.replace('* const', '*-const') #strip GSEAL macros from the middle of function declarations: pat = re.compile(r"""GSEAL""", re.VERBOSE) @@ -381,7 +385,7 @@ class DefsWriter: if defsfilter: filter = defsparser.DefsParser(defsfilter) filter.startParsing() - for func in filter.functions + filter.methods.values(): + for func in filter.functions + list(filter.methods.values()): self._functions[func.c_name] = func for obj in filter.objects + filter.boxes + filter.interfaces: self._objects[obj.c_name] = obj @@ -400,8 +404,6 @@ class DefsWriter: fp = self.fp fp.write(';; Enumerations and flags ...\n\n') - trans = string.maketrans(string.uppercase + '_', - string.lowercase + '-') filter = self._enums for cname, isflags, entries in enums: if filter: @@ -436,7 +438,7 @@ class DefsWriter: fp.write(' (values\n') for ent in entries: fp.write(' \'("%s" "%s")\n' % - (string.translate(ent[prefix_len:], trans), ent)) + (ent[prefix_len:].lower().replace('_', '-'), ent)) fp.write(' )\n') fp.write(')\n\n') @@ -474,7 +476,7 @@ class DefsWriter: def _define_func(self, buf): buf = clean_func(buf) - buf = string.split(buf,'\n') + buf = buf.split('\n') filter = self._functions for p in buf: if not p: @@ -494,9 +496,9 @@ class DefsWriter: args = m.group('args') args = arg_split_pat.split(args) for i in range(len(args)): - spaces = string.count(args[i], ' ') + spaces = args[i].count(' ') if spaces > 1: - args[i] = string.replace(args[i], ' ', '-', spaces - 1) + args[i] = args[i].replace(' ', '-', spaces - 1) self._write_func(func, ret, args) @@ -538,7 +540,7 @@ class DefsWriter: self._write_arguments(args) def _write_method(self, obj, name, ret, args): - regex = string.join(map(lambda x: x+'_?', string.lower(obj)),'') + regex = ''.join([x+'_?' for x in obj.lower()]) mname = re.sub(regex, '', name, 1) if self.prefix: l = len(self.prefix) + 1 @@ -568,7 +570,7 @@ class DefsWriter: self.fp.write(' (parameters\n') for arg in args: if arg != '...': - tupleArg = tuple(string.split(arg)) + tupleArg = tuple(arg.split()) if len(tupleArg) == 2: self.fp.write(' \'("%s" "%s")\n' % tupleArg) self.fp.write(' )\n') @@ -607,7 +609,7 @@ def main(args): defsfilter = v if not args[0:1]: - print 'Must specify at least one input file name' + print('Must specify at least one input file name') return -1 # read all the object definitions in @@ -627,11 +629,11 @@ def main(args): verbose=verbose, defsfilter=defsfilter) dw.write_obj_defs(objdefs, types) dw.write_enum_defs(enums, types) - print "Wrote %s-types.defs" % separate + print("Wrote %s-types.defs" % separate) for filename in args: dw.write_def(filename) - print "Wrote %s.defs" % separate + print("Wrote %s.defs" % separate) else: dw = DefsWriter(prefix=modulename, ns=namespace, verbose=verbose, defsfilter=defsfilter) diff --git a/tools/defs_gen/scmexpr.py b/tools/defs_gen/scmexpr.py index 02f2e4b..d805533 100755 --- a/tools/defs_gen/scmexpr.py +++ b/tools/defs_gen/scmexpr.py @@ -1,9 +1,9 @@ #!/usr/bin/env python # -*- Mode: Python; py-indent-offset: 4 -*- -from __future__ import generators + import string -from cStringIO import StringIO +from io import StringIO class error(Exception): def __init__(self, filename, lineno, msg): @@ -16,11 +16,11 @@ class error(Exception): trans = [' '] * 256 for i in range(256): - if chr(i) in string.letters + string.digits + '_': + if chr(i) in string.ascii_letters + string.digits + '_': trans[i] = chr(i) else: trans[i] = '_' -trans = string.join(trans, '') +trans = ''.join(trans) def parse(filename): if isinstance(filename, str): @@ -113,7 +113,7 @@ class Parser: for statement in statements: self.handle(statement) def handle(self, tup): - cmd = string.translate(tup[0], trans) + cmd = tup[0].translate(trans) if hasattr(self, cmd): getattr(self, cmd)(*tup[1:]) else: @@ -140,4 +140,4 @@ if __name__ == '__main__': fp = StringIO(_testString) statements = parse(fp) for s in statements: - print `s` + print(repr(s)) diff --git a/tools/m4/convert_glib.m4 b/tools/m4/convert_glib.m4 index 67fb4ce..5df0a27 100644 --- a/tools/m4/convert_glib.m4 +++ b/tools/m4/convert_glib.m4 @@ -46,6 +46,7 @@ _CONVERSION(`bool&',`gboolean*',`(($2) &($3))') _CONVERSION(`int&',`gint*',`&($3)') _CONVERSION(`gint*',`int&',`*($3)') _CONVERSION(`guint&',`guint*',`&($3)') +_CONVERSION(`guint64&',`guint64*',`&($3)') _CONVERSION(`double&',`gdouble*',`&($3)') _CONVERSION(`float&',`gfloat*',`&($3)') _CONVERSION(`gchar**',`char**',`$3') -- 2.7.4