package ocgtk

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

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