package obus

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val app_name : string Pervasives.ref
val desktop_entry : string option Pervasives.ref
type 'a t
val result : 'a t -> 'a Lwt.t
val close : 'a t -> unit Lwt.t
type urgency = [
  1. | `Low
  2. | `Normal
  3. | `Critical
]
type image = {
  1. img_width : int;
  2. img_height : int;
  3. img_rowstride : int;
  4. img_has_alpha : bool;
  5. img_bits_per_sample : int;
  6. img_channels : int;
  7. img_data : string;
}
val notify : ?app_name:string -> ?desktop_entry:string -> ?replace:_ t -> ?icon:string -> ?image:image -> summary:string -> ?body:string -> ?actions:(string * [> `Default | `Closed ] as 'a) list -> ?urgency:urgency -> ?category:string -> ?sound_file:string -> ?suppress_sound:bool -> ?pos:(int * int) -> ?hints:(string * OBus_value.V.single) list -> ?timeout:int -> unit -> 'a t Lwt.t
type server_info = {
  1. server_name : string;
  2. server_vendor : string;
  3. server_version : string;
  4. server_spec_version : string;
}
val get_server_information : unit -> server_info Lwt.t
val get_capabilities : unit -> string list Lwt.t