module Glib: sig
.. end
Interface to Glib functions
GTK documentation: index
type
unichar = int
type
unistring = unichar array
exception GError of string
Main Event Loop
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
IO Channels
module Io: sig
.. end
IO Channels
Message Logging
module Message: sig
.. end
Character Sets
module Convert: sig
.. end
Character Set Conversion
module Unichar: sig
.. end
Unicode Manipulation
module Utf8: sig
.. end
Unicode Manipulation
module Markup: sig
.. end
Miscellaneous Utility Functions
val get_prgname : unit -> string
val set_prgname : string -> unit
val get_application_name : unit -> string
Since GTK 2.2
val set_application_name : string -> unit
Since GTK 2.2
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
Raises Not_found
if the program is not found in the path
or is not executable
val getenv : string -> string
Raises Not_found
if the environment variable is not found.
val setenv : string -> string -> bool -> unit
Since GTK 2.4
Raises Failure
if the environment variable couldn't be set.
val unsetenv : string -> unit
Since GTK 2.4
val get_user_cache_dir : unit -> string
Since GTK 2.6
val get_user_data_dir : unit -> string
Since GTK 2.6
val get_user_config_dir : unit -> string
Since GTK 2.6
val get_system_data_dirs : unit -> string list
Since GTK 2.6
val get_system_config_dirs : unit -> string list
Since GTK 2.6
val usleep : int -> unit