package ocgtk
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=4e50fdb5093136a10fc8ffbe388e44cbcb70d52f8afdd48863ec7e22580ff054
doc/ocgtk.gio/Ocgtk_gio/Gio/Wrappers/D_bus_interface_skeleton/index.html
Module Wrappers.D_bus_interface_skeleton
type t = [ `d_bus_interface_skeleton | `object_ ] Gobject.objval unexport_from_connection :
t ->
[ `d_bus_connection | `object_ ] Gobject.obj ->
unitStops exporting @interface_ on @connection.
To stop exporting on all connections the interface is exported on, use g_dbus_interface_skeleton_unexport().
val unexport : t -> unitStops exporting @interface_ on all connections it is exported on.
To unexport @interface_ from only a single connection, use g_dbus_interface_skeleton_unexport_from_connection()
val set_flags : t -> Gio_enums.dbusinterfaceskeletonflags -> unitSets flags describing what the behavior of @skeleton should be.
val has_connection : t -> [ `d_bus_connection | `object_ ] Gobject.obj -> boolChecks if @interface_ is exported on @connection.
val get_vtable : t -> [ `d_bus_interface_v_table ] Gobject.objGets the interface vtable for the D-Bus interface implemented by @interface_. The returned function pointers should expect @interface_ itself to be passed as @user_data.
val get_properties : t -> Gvariant.tGets all D-Bus properties for @interface_.
val get_object_path : t -> string optionGets the object path that @interface_ is exported on, if any.
val get_info : t -> [ `d_bus_interface_info ] Gobject.objGets D-Bus introspection information for the D-Bus interface implemented by @interface_.
val get_flags : t -> Gio_enums.dbusinterfaceskeletonflagsGets the #GDBusInterfaceSkeletonFlags that describes what the behavior of @interface_
val get_connections : t -> [ `d_bus_connection | `object_ ] Gobject.obj listGets a list of the connections that @interface_ is exported on.
val get_connection : t -> [ `d_bus_connection | `object_ ] Gobject.obj optionGets the first connection that @interface_ is exported on, if any.
val flush : t -> unitIf @interface_ has outstanding changes, request for these changes to be emitted immediately.
For example, an exported D-Bus interface may queue up property changes and emit the `org.freedesktop.DBus.Properties.PropertiesChanged` signal later (e.g. in an idle handler). This technique is useful for collapsing multiple property changes into one.
val export :
t ->
[ `d_bus_connection | `object_ ] Gobject.obj ->
string ->
(bool, GError.t) resultExports @interface_ at @object_path on @connection.
This can be called multiple times to export the same @interface_ onto multiple connections however the @object_path provided must be the same for all connections.
Use g_dbus_interface_skeleton_unexport() to unexport the object.
val get_g_flags : t -> Gio_enums.dbusinterfaceskeletonflagsGet property: g-flags
val set_g_flags : t -> Gio_enums.dbusinterfaceskeletonflags -> unitSet property: g-flags
val on_g_authorize_method :
?after:bool ->
t ->
callback:
(invocation:[ `d_bus_method_invocation | `object_ ] Gobject.obj -> bool) ->
Gobject.Signal.handler_id