package lablgtk3-goocanvas2

  1. Overview
  2. Docs

GooCanvas interface

class item_signals : [> GooCanvas_types.item ] as 'a Gtk.obj -> object ... end
class 'p item : [> GooCanvas_types.item ] as 'o Gtk.obj -> object ... end
type base_item = GtkGooCanvas.item_p item
class canvas : GooCanvas_types.canvas Gtk.obj -> object ... end
val canvas : ?border_width:int -> ?width:int -> ?height:int -> ?packing:(GObj.widget -> unit) -> ?show:bool -> unit -> canvas
class text : GooCanvas_types.text Gtk.obj -> object ... end
val text : ?text:string -> ?x:float -> ?y:float -> ?width:float -> ?props:GtkGooCanvas.text_p list -> 'a item -> text
class rect : GooCanvas_types.rect Gtk.obj -> object ... end
val rect : ?x:float -> ?y:float -> ?width:float -> ?height:float -> ?props:GtkGooCanvas.rect_p list -> 'a item -> rect
class widget : GooCanvas_types.widget Gtk.obj -> object ... end
val widget : ?x:float -> ?y:float -> ?width:float -> ?height:float -> ?props:GtkGooCanvas.widget_p list -> Gtk.widget Gtk.obj -> 'a item -> widget
class image : GooCanvas_types.image Gtk.obj -> object ... end
val image : ?x:float -> ?y:float -> ?pixbuf:GdkPixbuf.pixbuf -> ?props:GtkGooCanvas.image_p list -> 'a item -> image
class group : GooCanvas_types.group Gtk.obj -> object ... end
val group : ?props:GtkGooCanvas.group_p list -> ?parent:'a item -> unit -> group
val canvas_points : (float * float) list -> GtkGooCanvas.canvas_points
class polyline : GooCanvas_types.polyline Gtk.obj -> object ... end
val polyline : ?close_path:bool -> ?points:(float * float) list -> ?props:GtkGooCanvas.polyline_p list -> 'a item -> polyline
val polyline_line : x1:float -> y1:float -> x2:float -> y2:float -> ?props:GtkGooCanvas.polyline_p list -> 'a item -> polyline
OCaml

Innovation. Community. Security.