[Gtk-sharp-list] Gtk.Window.ConfigureEvent

Rafael Teixeira monoman at gmail.com
Sun Jul 16 20:24:48 EDT 2006


See question 3.3, in this FAQ

http://gtk-sharp.sourceforge.net/faq.html

I'm not sure, but I think the default processor for this event
transform it in size_allocated events if needed and doesn't propagate.
So either you catch the other event or try to connect-before in this
one (with all the complications).

:)

On 7/14/06, Norbert Berzen <norbert at spice.gia.rwth-aachen.de> wrote:
> Hello to everyone,
>
> simple question: How do I detect if my gtk toplevel window resizes
> and/or moves? As far as I understand the docs this should be straight
> forward:
>
>  Gtk.Window toplevel = new Gtk.Window (...);
>
>  toplevel.ConfigureEvent += new ConfigureEventHandler (myHandler);
>
> But it does not work at all. Is it a problem with my gtk-sharp setup or
> is it known not to work?
>
> After digging the docs and after having a look (not in depth!!!) at
> gtk-sharp-2.0 source without getting any clue I am helpless.
>
> Could some of you give me a hint, please?
>
> Thanks,
> --
> Norbert
>
> _______________________________________________
> Gtk-sharp-list maillist  -  Gtk-sharp-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
>


-- 
Rafael "Monoman" Teixeira
---------------------------------------
"The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all
progress depends on the unreasonable man." George Bernard Shaw


More information about the Gtk-sharp-list mailing list