Re: widget won't display in GtkLayout (update)



on a hunch i tried putting in gdk_window_raise on the widget's window in
my paint function. now it displays correctly in the GtkLayout.

this seems like a kludge since other working widgets don't requre that.
what seems to be the problem?

thanks

gregor waltz villanova edu wrote:

i wrote a widget that inherits from GtkWidget. it displays correctly in
everything i've tried so far (boxes, buttons, windows, etc.), but not in
a layout. unfortunately, the widget i'm putting it in is inherited from
GtkLayout ( ineed the positioning and scrolling functions).

the widget just does not display while others do. i also tried it in a
plain GtkLayout.

the example widget, GtkDial, doesn't display either. so i am guessing
that there is some sort of signal that neither my widget nor GtkDial is
listening for. is that so?

anything else that could cause this problem?

thanks


-- 

-greg


100 buckets of bits on the bus
100 buckets of bits
Take one down, short it to ground
FF buckets of bits on the bus

FF buckets of bits on the bus
FF buckets of bits
Take one down, short it to ground
FE buckets of bits on the bus...

ad infinitum...




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