Package ch.bailu.gtk.gio
Schnittstelle DBusObjectManagerClient.OnDBusProxyTypeFunc
- Umschließende Klasse:
DBusObjectManagerClient
- Funktionsschnittstelle:
- Dies ist eine funktionale Schnittstelle, die somit als Zuweisungsziel für einen Lambdaausdruck oder eine Methodenreferenz verwendet werden kann.
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibunglong
onDBusProxyTypeFunc
(CallbackHandler __self, DBusObjectManagerClient manager, Str object_path, Str interface_name, Pointer data) Function signature for a function used to determine the #GType to
use for an interface proxy (if @interface_name is not %NULL) or
object proxy (if @interface_name is %NULL).
-
Methodendetails
-
onDBusProxyTypeFunc
long onDBusProxyTypeFunc(CallbackHandler __self, @Nonnull DBusObjectManagerClient manager, @Nonnull Str object_path, @Nullable Str interface_name, @Nullable Pointer data) Function signature for a function used to determine the #GType to
use for an interface proxy (if @interface_name is not %NULL) or
object proxy (if @interface_name is %NULL).
This function is called in the thread-default main context
(see [method@GLib.MainContext.push_thread_default])
that @manager was constructed in.- Parameter:
manager
- A #GDBusObjectManagerClient.object_path
- The object path of the remote object.interface_name
- The interface name of the remote object or %NULL if a #GDBusObjectProxy #GType is requested.data
- data passed in by the user.- Gibt zurück:
- A #GType to use for the remote object. The returned type must be a #GDBusProxy or #GDBusObjectProxy -derived type.
-