Configwin_types
This module contains the types used in Configwin.
val key_option : ?doc:string -> ?cb:((Gdk.Tags.modifier list * int) -> unit) ->
(Gdk.Tags.modifier list * int) -> (Gdk.Tags.modifier list * int) Ocf.conf_option
To define key options, with the Ocf
module.
type 'a string_param = {
}
This type represents a string or filename parameter, or any other type, depending on the given conversion functions.
type bool_param = {
}
This type represents a boolean parameter.
type 'a list_param = {
}
This type represents a parameter whose value is a list of 'a
.
type color_param = {
}
type date_param = {
}
type font_param = {
}
type hotkey_param = {
}
val mk_custom_text_string_param : 'a string_param -> string string_param
type parameter_kind =
| String_param of string string_param |
| List_param of unit -> < box : GObj.widget; apply : unit; > |
| Filename_param of string string_param |
| Bool_param of bool_param |
| Text_param of string string_param |
| Combo_param of combo_param |
| Custom_param of custom_param |
| Color_param of color_param |
| Date_param of date_param |
| Font_param of font_param |
| Hotkey_param of hotkey_param |
| Html_param of string string_param |
This type represents the different kinds of parameters.
type configuration_structure =
| Section of string * parameter_kind list | (* label of the section, parameters *) |
| Section_list of string * configuration_structure list | (* label of the section, list of the sub sections *) |
This type represents the structure of the configuration window.
type return_button =
To indicate what button was pushed by the user when the window is closed.
val htmlbinding_wrapper : html_binding Ocf.Wrapper.t
val htmlbinding_option : ?doc:string -> ?cb:(html_binding -> unit) -> html_binding -> html_binding Ocf.conf_option