package lablgtk

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type items_properties = [
  1. | `ANCHOR of Gtk.Tags.anchor_type
  2. | `ARROW_SHAPE_A of float
  3. | `ARROW_SHAPE_B of float
  4. | `ARROW_SHAPE_C of float
  5. | `BPATH of GnomeCanvas.PathDef.t
  6. | `CAP_STYLE of Gdk.GC.gdkCapStyle
  7. | `CLIP of bool
  8. | `CLIP_HEIGHT of float
  9. | `CLIP_WIDTH of float
  10. | `CURSOR_VISIBLE of bool
  11. | `DASH of float * float array
  12. | `EDITABLE of bool
  13. | `FAMILY of string
  14. | `FILL_COLOR of string
  15. | `FILL_COLOR_RGBA of int32
  16. | `FILL_STIPPLE of Gdk.bitmap
  17. | `FIRST_ARROWHEAD of bool
  18. | `FONT of string
  19. | `GROW_HEIGHT of bool
  20. | `HEIGHT of float
  21. | `JOIN_STYLE of Gdk.GC.gdkJoinStyle
  22. | `JUSTIFICATION of Gtk.Tags.justification
  23. | `LAST_ARROWHEAD of bool
  24. | `LEFT_MARGIN of int
  25. | `LINE_STYLE of Gdk.GC.gdkLineStyle
  26. | `MARKUP of string
  27. | `NO_BPATH
  28. | `NO_FILL_COLOR
  29. | `NO_FONT
  30. | `NO_OUTLINE_COLOR
  31. | `NO_PIXBUF
  32. | `NO_TEXT
  33. | `NO_WIDGET
  34. | `OUTLINE_COLOR of string
  35. | `OUTLINE_COLOR_RGBA of int32
  36. | `OUTLINE_STIPPLE of Gdk.bitmap
  37. | `PIXBUF of GdkPixbuf.pixbuf
  38. | `POINTS of float array
  39. | `RIGHT_MARGIN of int
  40. | `RISE of int
  41. | `SCALE of float
  42. | `SIZE of int
  43. | `SIZE_PIXELS of bool
  44. | `SIZE_POINTS of float
  45. | `SMOOTH of bool
  46. | `TEXT of string
  47. | `VISIBLE of bool
  48. | `WEIGHT of int
  49. | `WIDGET of GObj.widget
  50. | `WIDTH of float
  51. | `WIDTH_PIXELS of int
  52. | `WIDTH_UNITS of float
  53. | `X of float
  54. | `X1 of float
  55. | `X2 of float
  56. | `X_OFFSET of float
  57. | `Y of float
  58. | `Y1 of float
  59. | `Y2 of float
  60. | `Y_OFFSET of float
]
val propertize : [< items_properties ] -> string * unit Gobject.data_set
type item_event = [
  1. | `BUTTON_PRESS of GdkEvent.Button.t
  2. | `BUTTON_RELEASE of GdkEvent.Button.t
  3. | `ENTER_NOTIFY of GdkEvent.Crossing.t
  4. | `FOCUS_CHANGE of GdkEvent.Focus.t
  5. | `KEY_PRESS of GdkEvent.Key.t
  6. | `KEY_RELEASE of GdkEvent.Key.t
  7. | `LEAVE_NOTIFY of GdkEvent.Crossing.t
  8. | `MOTION_NOTIFY of GdkEvent.Motion.t
  9. | `THREE_BUTTON_PRESS of GdkEvent.Button.t
  10. | `TWO_BUTTON_PRESS of GdkEvent.Button.t
]
class item_signals : [> GnomeCanvas.item ] as 'a Gtk.obj -> object ... end
class base_item : [> GnomeCanvas.item ] as 'a Gtk.obj -> object ... end
class group : GnomeCanvas.group Gtk.obj -> object ... end
class canvas : GnomeCanvas.canvas Gtk.obj -> object ... end
class !'b item : [> GnomeCanvas.item ] as 'c Gtk.obj -> object ... end
val canvas : ?aa:bool -> ?border_width:int -> ?width:int -> ?height:int -> ?packing:(GObj.widget -> unit) -> ?show:bool -> unit -> canvas
val group : ?x:float -> ?y:float -> group -> group
val wrap_item : [> GnomeCanvas.item ] Gtk.obj -> ([> `canvasitem | `gtk ], [< `ANCHOR of Gtk.Tags.anchor_type & Gtk.Tags.anchor_type | `ARROW_SHAPE_A of float & float | `ARROW_SHAPE_B of float & float | `ARROW_SHAPE_C of float & float | `BPATH of GnomeCanvas.PathDef.t & GnomeCanvas.PathDef.t | `CAP_STYLE of Gdk.GC.gdkCapStyle & Gdk.GC.gdkCapStyle | `CLIP of bool & bool | `CLIP_HEIGHT of float & float | `CLIP_WIDTH of float & float | `CURSOR_BLINK of bool & bool | `CURSOR_VISIBLE of bool & bool | `DASH of float * float array & float * float array | `EDITABLE of bool & bool | `FAMILY of string & string | `FILL_COLOR of string & string | `FILL_COLOR_RGBA of int32 & int32 | `FILL_STIPPLE of Gdk.bitmap & Gdk.bitmap | `FIRST_ARROWHEAD of bool & bool | `FONT of string & string | `GROW_HEIGHT of bool & bool | `HEIGHT of float & float | `JOIN_STYLE of Gdk.GC.gdkJoinStyle & Gdk.GC.gdkJoinStyle | `JUSTIFICATION of Gtk.Tags.justification & Gtk.Tags.justification | `LAST_ARROWHEAD of bool & bool | `LEFT_MARGIN of int & int | `LINE_STYLE of Gdk.GC.gdkLineStyle & Gdk.GC.gdkLineStyle | `MARKUP of string & string | `NO_BPATH | `NO_FILL_COLOR | `NO_FONT | `NO_OUTLINE_COLOR | `NO_PIXBUF | `NO_TEXT | `NO_WIDGET | `OUTLINE_COLOR of string & string | `OUTLINE_COLOR_RGBA of int32 & int32 | `OUTLINE_STIPPLE of Gdk.bitmap & Gdk.bitmap | `PIXBUF of GdkPixbuf.pixbuf & GdkPixbuf.pixbuf | `POINTS of float array & float array | `RIGHT_MARGIN of int & int | `RISE of int & int | `SCALE of float & float | `SIZE of int & int | `SIZE_PIXELS of bool & bool | `SIZE_POINTS of float & float | `SMOOTH of bool & bool | `TEXT of string & string | `VISIBLE of bool & bool | `WEIGHT of int & int | `WIDGET of GObj.widget & GObj.widget | `WIDTH of float & float | `WIDTH_PIXELS of int & int | `WIDTH_UNITS of float & float | `X of float & float | `X1 of float & float | `X2 of float & float | `X_OFFSET of float & float | `Y of float & float | `Y1 of float & float | `Y2 of float & float | `Y_OFFSET of float & float ] as 'a) GnomeCanvas.Types.t -> 'a item
val rect : ?x1:float -> ?y1:float -> ?x2:float -> ?y2:float -> ?fill_color:string -> ?props:GnomeCanvas.re_p list -> group -> rect
type ellipse = GnomeCanvas.re_p item
val ellipse : ?x1:float -> ?y1:float -> ?x2:float -> ?y2:float -> ?fill_color:string -> ?props:GnomeCanvas.re_p list -> group -> ellipse
class text : GnomeCanvas.text Gtk.obj -> object ... end
val text : ?x:float -> ?y:float -> ?text:string -> ?font:string -> ?size:int -> ?anchor:Gtk.Tags.anchor_type -> ?props:GnomeCanvas.text_p list -> group -> text
val line : ?points:float array -> ?fill_color:string -> ?props:GnomeCanvas.line_p list -> group -> line
val bpath : ?bpath:GnomeCanvas.PathDef.t -> ?fill_color:string -> ?props:GnomeCanvas.bpath_p list -> group -> bpath
val pixbuf : ?x:float -> ?y:float -> ?pixbuf:GdkPixbuf.pixbuf -> ?width:float -> ?height:float -> ?props:GnomeCanvas.pixbuf_p list -> group -> pixbuf
val polygon : ?points:float array -> ?fill_color:string -> ?props:GnomeCanvas.polygon_p list -> group -> polygon
val widget : ?widget:< coerce : GObj.widget.. > -> ?x:float -> ?y:float -> ?width:float -> ?height:float -> ?props:GnomeCanvas.widget_p list -> group -> widget
class rich_text : GnomeCanvas.rich_text Gtk.obj -> object ... end
val rich_text : ?x:float -> ?y:float -> ?text:string -> ?width:float -> ?height:float -> ?props:GnomeCanvas.rich_text_p list -> group -> rich_text
OCaml

Innovation. Community. Security.