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

Module Wrappers.D_bus_auth_observer

type t = [ `d_bus_auth_observer | `object_ ] Gobject.obj
val new_ : unit -> t

Create a new DBusAuthObserver

val authorize_authenticated_peer : t -> [ `io_stream | `object_ ] Gobject.obj -> [ `credentials | `object_ ] Gobject.obj option -> bool

Emits the #GDBusAuthObserver::authorize-authenticated-peer signal on @observer.

val allow_mechanism : t -> string -> bool

Emits the #GDBusAuthObserver::allow-mechanism signal on @observer.

val on_allow_mechanism : ?after:bool -> t -> callback:(mechanism:string -> bool) -> Gobject.Signal.handler_id
val on_authorize_authenticated_peer : ?after:bool -> t -> callback: (stream:[ `io_stream | `object_ ] Gobject.obj -> credentials:[ `credentials | `object_ ] Gobject.obj option -> bool) -> Gobject.Signal.handler_id