module Glib:sig
..end
Interface to Glib functions
typeunichar =
int
typeunistring =
unichar array
exception GError of string
module Main:sig
..end
The Main Event Loop
val int_of_priority : [< `DEFAULT | `DEFAULT_IDLE | `HIGH | `HIGH_IDLE | `LOW ] -> int
module Timeout:sig
..end
module Idle:sig
..end
module Io:sig
..end
IO Channels
module Message:sig
..end
module Convert:sig
..end
Character Set Conversion
module Unichar:sig
..end
Unicode Manipulation
module Utf8:sig
..end
Unicode Manipulation
module Markup:sig
..end
val get_prgname : unit -> string
val set_prgname : string -> unit
val get_application_name : unit -> string
val set_application_name : string -> unit
val get_user_name : unit -> string
val get_real_name : unit -> string
val get_home_dir : unit -> string option
val get_tmp_dir : unit -> string
val find_program_in_path : string -> string
Not_found
if the program is not found in the path
or is not executableval getenv : string -> string
Not_found
if the environment variable is not found.val setenv : string -> string -> bool -> unit
Failure
if the environment variable couldn't be set.val unsetenv : string -> unit
val get_user_cache_dir : unit -> string
val get_user_data_dir : unit -> string
val get_user_config_dir : unit -> string
val get_system_data_dirs : unit -> string list
val get_system_config_dirs : unit -> string list
val usleep : int -> unit