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

Module Wrappers.D_bus_object

type t = [ `d_bus_object ] Gobject.obj
val from_gobject : 'a Gobject.obj -> t
val get_object_path : t -> string

Gets the object path for @object.

val get_interfaces : t -> [ `d_bus_interface ] Gobject.obj list

Gets the D-Bus interfaces associated with @object.

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

Gets the D-Bus interface with name @interface_name associated with @object, if any.

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