package lablgtk

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type gdkFunction = [
  1. | `COPY
  2. | `INVERT
  3. | `XOR
]
type gdkFill = [
  1. | `OPAQUE_STIPPLED
  2. | `SOLID
  3. | `STIPPLED
  4. | `TILED
]
type gdkSubwindowMode = [
  1. | `CLIP_BY_CHILDREN
  2. | `INCLUDE_INFERIORS
]
type gdkLineStyle = [
  1. | `DOUBLE_DASH
  2. | `ON_OFF_DASH
  3. | `SOLID
]
type gdkCapStyle = [
  1. | `BUTT
  2. | `NOT_LAST
  3. | `PROJECTING
  4. | `ROUND
]
type gdkJoinStyle = [
  1. | `BEVEL
  2. | `MITER
  3. | `ROUND
]
val create : [> `drawable ] Gobject.obj -> gc
val set_foreground : gc -> color -> unit
val set_background : gc -> color -> unit
val set_font : gc -> font -> unit
val set_function : gc -> gdkFunction -> unit
val set_fill : gc -> gdkFill -> unit
val set_tile : gc -> pixmap -> unit
val set_stipple : gc -> pixmap -> unit
val set_ts_origin : gc -> x:int -> y:int -> unit
val set_clip_origin : gc -> x:int -> y:int -> unit
val set_clip_mask : gc -> bitmap -> unit
val set_clip_rectangle : gc -> Rectangle.t -> unit
val set_clip_region : gc -> region -> unit
val set_subwindow : gc -> gdkSubwindowMode -> unit
val set_exposures : gc -> bool -> unit
val set_line_attributes : gc -> width:int -> style:gdkLineStyle -> cap:gdkCapStyle -> join:gdkJoinStyle -> unit
val set_dashes : gc -> offset:int -> int list -> unit
val copy : dst:gc -> gc -> unit
type values = {
  1. foreground : color;
  2. background : color;
  3. font : font option;
  4. fonction : gdkFunction;
  5. fill : gdkFill;
  6. tile : pixmap option;
  7. stipple : pixmap option;
  8. clip_mask : bitmap option;
  9. subwindow_mode : gdkSubwindowMode;
  10. ts_x_origin : int;
  11. ts_y_origin : int;
  12. clip_x_origin : int;
  13. clip_y_origin : int;
  14. graphics_exposures : bool;
  15. line_width : int;
  16. line_style : gdkLineStyle;
  17. cap_style : gdkCapStyle;
  18. join_style : gdkJoinStyle;
}
val get_values : gc -> values