Re: How can I solve this problem of Gdk
- From: Paul Davis <paul linuxaudiosystems com>
- To: Sven Neumann <sven gimp org>
- Cc: Ana Guti rrez Pascual <al004180 alumail uji es>, gtk-list gnome org
- Subject: Re: How can I solve this problem of Gdk
- Date: Fri, 14 Feb 2003 07:49:38 -0500
>you can not access a widget's window before it is realized (because
>there is none). You should either connect_after realize and create
>your GC there or simply do it in the expose_event handler where you
>do your drawing.
you can also connect to the map event which is useful for some things.
i often use the map/unmap events of combo popwin's to be able to reset
the contents and/or retrieve whatever choice was made (the combo has
such a terrible API that this was the best i could do). ditto for
menus that need to be completely dynamic.
--p
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]