---
name: "GDraw"
section: "3o"
platform: "linux"
package: "liblablgtk2-ocaml-doc"
version: "2.4.0v0.2tv-8"
release: "Debian 5.0 (Lenny)"
platforms: ["linux"]
url: "https://new.carta.tech/GDraw"
---

# GDraw(3o)

Offscreen drawables

## NAME

GDraw - Offscreen drawables

## Module

Module   GDraw

## Documentation

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 \]**

*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**

*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**
