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/index.html

Module Wrappers.D_bus_object_manager

type t = [ `d_bus_object_manager ] Gobject.obj
val from_gobject : 'a Gobject.obj -> t
val get_objects : t -> [ `d_bus_object ] Gobject.obj list

Gets all #GDBusObject objects known to @manager.

val get_object_path : t -> string

Gets the object path that @manager is for.

val get_object : t -> string -> [ `d_bus_object ] Gobject.obj option

Gets the #GDBusObject at @object_path, if any.

val get_interface : t -> string -> string -> [ `d_bus_interface ] Gobject.obj option

Gets the interface proxy for @interface_name at @object_path, if any.

val on_interface_added : ?after:bool -> t -> callback: (object_:[ `d_bus_object ] Gobject.obj -> interface:[ `d_bus_interface ] Gobject.obj -> unit) -> Gobject.Signal.handler_id
val on_interface_removed : ?after:bool -> t -> callback: (object_:[ `d_bus_object ] Gobject.obj -> interface:[ `d_bus_interface ] Gobject.obj -> unit) -> Gobject.Signal.handler_id
val on_object_added : ?after:bool -> t -> callback:(object_:[ `d_bus_object ] Gobject.obj -> unit) -> Gobject.Signal.handler_id
val on_object_removed : ?after:bool -> t -> callback:(object_:[ `d_bus_object ] Gobject.obj -> unit) -> Gobject.Signal.handler_id