Pixmap tiled GtkEventBox with GtkLabel problem



I'm trying to tile a GdkPixmap on a GtkEventBox by setting it
on it's bg_gc and using gdk_window_set_back_pixmap().

The "expose_event" is used to notify a redraw, by that I just
have my event handler call gdk_window_clear() to clear the GtkEventBox's
window.

But when the GtkLabel is then drawn, the GtkLabel re-clears the
GtkEventBox with what looks like the default background solid color
(light grey).

Is there a way to control GtkLabel and other widgets to `not mess
with their parents'?

-- 
--
Sincerely,                  ,"-_                         \|/
-Capt. Taura M.             ,   O=__                    --X--
.__                          ,_JNMNNEO=_                 /|\
OMNOUMmnne.                  {OMMNNNEEEEOO=_
UOOOBIOOOEOMMn.               'LONMMMMNNEEEOOO=.__..,,..
UUOOEUUOOOOOOOObe              '"=OMMMMWNEEEOOOOO,"=OEEEOO=,._
OOUUUIEEIOONNOIUbe.                "7OMMMMNNNNNWWEEEEOOOOOO"   "'.
EEBNNMMMNWNWWEEIMMNe.             __  7EMMMNNNNNWWWEEEEEEEOO.     " .
NNMMMMWWWMMMWEINMMMNn            "=BBEEEEMMMMMMMMNNNWWWEEOOOOO=._     .
                  http://furry.ao.net/~learfox/






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]