package lablgtk

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type -'a obj
type g_type
type g_class
type g_value
type g_closure
type basic = [
  1. | `BOOL of bool
  2. | `CAML of Stdlib.Obj.t
  3. | `CHAR of char
  4. | `FLOAT of float
  5. | `INT of int
  6. | `INT64 of int64
  7. | `POINTER of Gpointer.boxed option
  8. | `STRING of string option
]
type data_get = [
  1. | `BOOL of bool
  2. | `CAML of Stdlib.Obj.t
  3. | `CHAR of char
  4. | `FLOAT of float
  5. | `INT of int
  6. | `INT64 of int64
  7. | `NONE
  8. | `OBJECT of unit obj option
  9. | `POINTER of Gpointer.boxed option
  10. | `STRING of string option
]
type 'a data_set = [
  1. | `BOOL of bool
  2. | `CAML of Stdlib.Obj.t
  3. | `CHAR of char
  4. | `FLOAT of float
  5. | `INT of int
  6. | `INT32 of int32
  7. | `INT64 of int64
  8. | `LONG of nativeint
  9. | `OBJECT of 'a obj option
  10. | `POINTER of Gpointer.boxed option
  11. | `STRING of string option
]
type base_data = [
  1. | `BOOLEAN
  2. | `BOXED
  3. | `CHAR
  4. | `DOUBLE
  5. | `ENUM
  6. | `FLAGS
  7. | `FLOAT
  8. | `INT
  9. | `INT64
  10. | `LONG
  11. | `OBJECT
  12. | `POINTER
  13. | `STRING
  14. | `UCHAR
  15. | `UINT
  16. | `UINT64
  17. | `ULONG
]
type data_kind = [
  1. | `BOOLEAN
  2. | `BOXED
  3. | `CHAR
  4. | `DOUBLE
  5. | `ENUM
  6. | `FLAGS
  7. | `FLOAT
  8. | `INT
  9. | `INT32
  10. | `INT64
  11. | `LONG
  12. | `OBJECT
  13. | `OTHER of g_type
  14. | `POINTER
  15. | `STRING
  16. | `UCHAR
  17. | `UINT
  18. | `UINT32
  19. | `UINT64
  20. | `ULONG
]
type data_conv_get = [
  1. | `BOOL of bool
  2. | `CAML of Stdlib.Obj.t
  3. | `CHAR of char
  4. | `FLOAT of float
  5. | `INT of int
  6. | `INT32 of int32
  7. | `INT64 of int64
  8. | `NONE
  9. | `OBJECT of unit obj option
  10. | `POINTER of Gpointer.boxed option
  11. | `STRING of string option
]
type !'a data_conv = {
  1. kind : data_kind;
  2. proj : data_conv_get -> 'a;
  3. inj : 'a -> unit data_set;
}
type (!'a, !'b) property = {
  1. name : string;
  2. conv : 'b data_conv;
}
type fundamental_type = [
  1. | `BOOLEAN
  2. | `BOXED
  3. | `CHAR
  4. | `DOUBLE
  5. | `ENUM
  6. | `FLAGS
  7. | `FLOAT
  8. | `INT
  9. | `INT64
  10. | `INTERFACE
  11. | `INVALID
  12. | `LONG
  13. | `NONE
  14. | `OBJECT
  15. | `PARAM
  16. | `POINTER
  17. | `STRING
  18. | `UCHAR
  19. | `UINT
  20. | `UINT64
  21. | `ULONG
]
type signal_type = [
  1. | `ACTION
  2. | `NO_HOOKS
  3. | `NO_RECURSE
  4. | `RUN_FIRST
  5. | `RUN_LAST
]
exception Cannot_cast of string * string
val get_type : 'a obj -> g_type
val is_a : 'a obj -> string -> bool
val try_cast : 'a obj -> string -> 'b obj
val get_oid : 'a obj -> int
val unsafe_cast : 'a obj -> 'b obj
val coerce : 'a obj -> unit obj
val coerce_option : 'a obj option -> unit obj option
type +'a param
val dyn_param : string -> 'a data_set -> 'b param
val param : ('a, 'b) property -> 'b -> 'a param
val unsafe_create : classe:string -> 'a param list -> 'a obj
val unsafe_unref : 'a obj -> unit
val get_ref_count : 'a obj -> int
val set : ('a, 'b) property -> 'a obj -> 'b -> unit
val get : ('a, 'b) property -> 'a obj -> 'b
val set_params : 'a obj -> 'a param list -> unit
module Type : sig ... end
module Value : sig ... end
module Closure : sig ... end
module Data : sig ... end
module Property : sig ... end
OCaml

Innovation. Community. Security.