package lablgtk3

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type menu_entry = [
  1. | `C of string * bool * (bool -> unit)
  2. | `I of string * (unit -> unit)
  3. | `M of string * menu_entry list
  4. | `R of (string * bool * (bool -> unit)) list
]
val build_menu : GMenu.menu -> entries:menu_entry list -> unit
val popup_menu : entries:menu_entry list -> button:int -> time:int32 -> unit
val question_box : ?parent:GWindow.window_skel -> title:string -> buttons:string list -> ?default:int -> ?icon:GObj.widget -> string -> int
val message_box : ?parent:GWindow.window_skel -> title:string -> ?icon:GObj.widget -> ?ok:string -> string -> unit
val input_string : ?parent:GWindow.window_skel -> title:string -> ?ok:string -> ?cancel:string -> ?text:string -> string -> string option
val input_text : ?parent:GWindow.window_skel -> title:string -> ?ok:string -> ?cancel:string -> ?text:string -> string -> string option
type key_combination = [ `A | `C | `S ] list * char
type !'a shortcut_specification = {
  1. name : string;
  2. keys : key_combination list;
  3. message : 'a;
}
val create_shortcuts : window:GWindow.window_skel -> shortcuts:'a shortcut_specification list -> callback:('a -> unit) -> unit