package ocgtk
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=4e50fdb5093136a10fc8ffbe388e44cbcb70d52f8afdd48863ec7e22580ff054
doc/ocgtk.gio/Ocgtk_gio/Gio/Wrappers/D_bus_object_manager_server/index.html
Module Wrappers.D_bus_object_manager_server
type t = [ `d_bus_object_manager_server | `object_ ] Gobject.objval new_ : string -> tCreate a new DBusObjectManagerServer
val unexport : t -> string -> boolIf @manager has an object at @path, removes the object. Otherwise does nothing.
Note that @object_path must be in the hierarchy rooted by the object path for @manager.
val set_connection :
t ->
[ `d_bus_connection | `object_ ] Gobject.obj option ->
unitExports all objects managed by @manager on @connection. If @connection is %NULL, stops exporting objects.
val is_exported :
t ->
[ `d_bus_object_skeleton | `object_ ] Gobject.obj ->
boolReturns whether @object is currently exported on @manager.
val get_connection : t -> [ `d_bus_connection | `object_ ] Gobject.obj optionGets the #GDBusConnection used by @manager.
val export_uniquely :
t ->
[ `d_bus_object_skeleton | `object_ ] Gobject.obj ->
unitLike g_dbus_object_manager_server_export() but appends a string of the form _N (with N being a natural number) to @object's object path if an object with the given path already exists. As such, the #GDBusObjectProxy:g-object-path property of @object may be modified.
val export : t -> [ `d_bus_object_skeleton | `object_ ] Gobject.obj -> unitExports @object on @manager.
If there is already a #GDBusObject exported at the object path, then the old object is removed.
The object path for @object must be in the hierarchy rooted by the object path for @manager.
Note that @manager will take a reference on @object for as long as it is exported.
val get_object_path : t -> stringGet property: object-path