[Gtk-sharp-list] Bitmap & GC.ClipMask

Dan Winship danw@novell.com
Tue, 22 Feb 2005 10:30:25 -0500

On Mon, 2005-02-21 at 16:26 +0100, Filip wrote:
> Hi all,
> I'm novice in GTK#  and my goal is to draw transparent pixmap that is
> created in  the application runtime.
> Can anybody give me a hint how to create Gdk.Bitmap instance (i don't
> want to use Gdk.Bitmap.CreateFromData method, because Gdk.Bitmap is
> used as a mask that is  created in runtime) or how to draw transparent
> Gdk.Pixmap ?

Gdk.Bitmap is basically broken in GTK# 1.0.x. I don't think there's any
way to actually create a Gdk.Bitmap. (Even Gdk.Bitmap.CreateFromData
will just crash if you try.)

-- Dan