Re: gtk--: Size-info about widget?



>Yes, you forgot to initialize the colorsel-variable inside
>ColorButton-class constructor to zero... So, it didnt create
>colordialog at all and crashed where it was first used.
>
Well, this was a real stupid bug, it's fixed now.

But now, there's a new problem:
I initialize my pixmap in a map_impl() method of a Button class.
This is because the window doesn't exist before, so I thought putting
the pixmap in when the button gets mapped is OK. But the allocation
(size) is unknown then. So which event is the right one to get the full
info about the widget?? 

Well, that's it...

Bye bye,
       Oliver



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