[Gtk-sharp-list] Problems with ConfigureEvent
gtk-sharp at indicium.za.net
Sun May 11 10:56:37 EDT 2008
Interesting. That attribute seems to do the trick.
Besides the ConfigureEvent event I've found that both ExposeEvent and
SizeAllocated fires when a window is resized. As far as window movement
goes, I was unable to find another event.
Just note, lordphoenix, that your event handlers may be called multiple
times for a single "action".
Florian Roth wrote:
> I had the same problem until I found this:
> Have a look art http://gtk-sharp.sourceforge.net/faq.html question 3.3
> Florian Roth
> -------- Original-Nachricht --------
>> Datum: Sun, 11 May 2008 14:46:05 +0200
>> Von: lordphoenix <lordphoenix at free.fr>
>> An: gtk-sharp-list at lists.ximian.com
>> Betreff: [Gtk-sharp-list] Problems with ConfigureEvent
>> Hi all,
>> I'm trying to use Gtk.Widget.ConfigureEvent in order to get informed
>> about window moving and resizing.
>> In my constructor I have this code
>> this.ConfigureEvent += new ConfigureEventHandler (onConfigureEvent);
>> and in this same class I've method
>> void OnConfigureEvent (object o, Gtk.ConfigureEventArgs
>> Nothing really difficult but it doesn't seems to be good solution
>> because nothing happens.
>> Someone has an idea about the problem?
>> Thanks for help.
>> PS : Sorry for my bad English I don't speak it very often.
More information about the Gtk-sharp-list