Re: gtk--: Size-info about widget?
- From: Oliver Freyd <freyd uni-muenster de>
- To: gtk-list redhat com
- Subject: Re: gtk--: Size-info about widget?
- Date: Sun, 08 Mar 1998 22:41:50 +0100 (MET)
>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]