package ocgtk

  1. Overview
  2. Docs
OCaml bindings for GTK 4

Install

dune-project
 Dependency

Authors

Maintainers

Sources

v0.1-preview2.tar.gz
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.obj
val new_ : string -> t

Create a new DBusObjectManagerServer

val unexport : t -> string -> bool

If @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 -> unit

Exports 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 -> bool

Returns whether @object is currently exported on @manager.

val get_connection : t -> [ `d_bus_connection | `object_ ] Gobject.obj option

Gets the #GDBusConnection used by @manager.

val export_uniquely : t -> [ `d_bus_object_skeleton | `object_ ] Gobject.obj -> unit

Like 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 -> unit

Exports @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 -> string

Get property: object-path