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

Module Wrappers.Debug_controller_d_bus

type t = [ `debug_controller_d_bus | `object_ ] Gobject.obj
val new_ : [ `d_bus_connection | `object_ ] Gobject.obj -> [ `cancellable | `object_ ] Gobject.obj option -> (t, GError.t) result

Create a new DebugControllerDBus

val stop : t -> unit

Stop the debug controller, unregistering its object from the bus.

Any pending method calls to the object will complete successfully, but new ones will return an error. This method will block until all pending #GDebugControllerDBus::authorize signals have been handled. This is expected to not take long, as it will just be waiting for threads to join. If any #GDebugControllerDBus::authorize signal handlers are still executing in other threads, this will block until after they have returned.

This method will be called automatically when the final reference to the #GDebugControllerDBus is dropped. You may want to call it explicitly to know when the controller has been fully removed from the bus, or to break reference count cycles.

Calling this method from within a #GDebugControllerDBus::authorize signal handler will cause a deadlock and must not be done.

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

Get property: connection

val on_authorize : ?after:bool -> t -> callback: (invocation:[ `d_bus_method_invocation | `object_ ] Gobject.obj -> bool) -> Gobject.Signal.handler_id