Module Glib
Interface to Glib functions @gtkdoc glib index
type unichar
= int
type unistring
= unichar array
Main Event Loop
module Main : sig ... end
The Main Event Loop @gtkdoc glib glib-The-Main-Event-Loop
module Timeout : sig ... end
@gtkdoc glib glib-The-Main-Event-Loop
module Idle : sig ... end
@gtkdoc glib glib-The-Main-Event-Loop
IO Channels
module Io : sig ... end
IO Channels @gtkdoc glib glib-IO-Channels
Message Logging
module Message : sig ... end
@gtkdoc glib glib-Message-Logging
Character Sets
module Convert : sig ... end
Character Set Conversion @gtkdoc glib glib-Character-Set-Conversion
module Unichar : sig ... end
Unicode Manipulation @gtkdoc glib glib-Unicode-Manipulation
module Utf8 : sig ... end
Unicode Manipulation @gtkdoc glib glib-Unicode-Manipulation
module Markup : sig ... end
@gtkdoc glib glib-Simple-XML-Subset-Parser
Miscellaneous Utility Functions
val get_prgname : unit -> string
val set_prgname : string -> unit
val get_application_name : unit -> string
- 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 setenv : string -> string -> bool -> unit
- raises Not_found
if the environment variable is not found.
- raises Failure
if the environment variable couldn't be set.
- since
- GTK 2.4