Module GDraw


module GDraw: sig .. end
Offscreen drawables


Offscreen drawables

Colors


type color = [ `BLACK
| `COLOR of Gdk.color
| `NAME of string
| `RGB of int * int * int
| `WHITE ]
GTK documentation: gdk-Colormaps-and-Colors
val color : ?colormap:Gdk.colormap -> color -> Gdk.color
type optcolor = [ `BLACK
| `COLOR of Gdk.color
| `DEFAULT
| `NAME of string
| `RGB of int * int * int
| `WHITE ]
val optcolor : ?colormap:Gdk.colormap -> optcolor -> Gdk.color option

GdkDrawable


class drawable : ?colormap:Gdk.colormap -> [> `drawable ] Gobject.obj -> object .. end
Functions for drawing points, lines, arcs, and text


GdkPixmap


class pixmap : ?colormap:Gdk.colormap -> ?mask:Gdk.bitmap -> Gdk.pixmap -> object .. end
Offscreen drawables

class type misc_ops = object .. end
val pixmap : width:int ->
height:int ->
?mask:bool ->
?window:< misc : #misc_ops; .. > ->
?colormap:Gdk.colormap -> unit -> pixmap
GTK documentation: gdk-Bitmaps-and-Pixmaps
val pixmap_from_xpm : file:string ->
?window:< misc : #misc_ops; .. > ->
?colormap:Gdk.colormap -> ?transparent:color -> unit -> pixmap
val pixmap_from_xpm_d : data:string array ->
?window:< misc : #misc_ops; .. > ->
?colormap:Gdk.colormap -> ?transparent:color -> unit -> pixmap

GdkDragContext


class drag_context : Gdk.drag_context -> object .. end