Module Glib
Interface to Glib functions @gtkdoc glib index
type unichar= inttype unistring= unichar array
Main Event Loop
module Main : sig ... endThe 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 ... endIO Channels @gtkdoc glib glib-IO-Channels
Message Logging
module Message : sig ... end@gtkdoc glib glib-Message-Logging
Character Sets
module Convert : sig ... endCharacter Set Conversion @gtkdoc glib glib-Character-Set-Conversion
module Unichar : sig ... endUnicode Manipulation @gtkdoc glib glib-Unicode-Manipulation
module Utf8 : sig ... endUnicode Manipulation @gtkdoc glib glib-Unicode-Manipulation
module Markup : sig ... end@gtkdoc glib glib-Simple-XML-Subset-Parser
Miscellaneous Utility Functions
val get_prgname : unit -> stringval set_prgname : string -> unitval get_application_name : unit -> string- since
- GTK 2.2
val get_user_name : unit -> stringval get_real_name : unit -> stringval get_home_dir : unit -> string optionval get_tmp_dir : unit -> stringval 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