how to dynamically create a bitmap mask
- From: "Stéphane Charette" <stephanecharette gmail com>
- To: gtkmm-list gnome org
- Subject: how to dynamically create a bitmap mask
- Date: Sun, 24 Jun 2007 09:56:58 -0700
Disclaimer: I'm new to X, GTK+, and gtkmm...
I'm looking at the wheelbarrow.cc example
to see how a mask can be created, and how it gets used in the call to
What I would like, is to dynamically create a mask on-the-fly. I'm
trying to modify the clock example
to generate the right mask (a circle) when it starts up.
Problem is -- I cannot figure out how to dynamically create a
Gdk::Bitmap. There are 2 Gdk::Bitmap::create() methods, but both
require a pre-existing XBM image.
Any help greatly appreciated. Thanks!
] [Thread Prev