Re: GtkFixed doesn't receive button_release_event ?!

From: Date: Fri, 28 Sep 2001 13:29:31 +0000
Subject: Re: GtkFixed doesn't receive button_release_event ?!
References: 1 2 3  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-166@lists.php.net to get a copy of this message
On Fri, 28 Sep 2001, Christophe VG wrote: > Thanks, ... it confirms the stuff I found in the test/scribble.php > example a few minutes ago (which after reading your mail entirely you > mention also :) ). > > My resulting code reflects the info you gave me and for my problem I > didn't even needed button_press or button_release events ... Working > with the motion_notify_event was enough ... > > The goal was to be able to move object around on a fixed layout, and > eventually, these objects had to be fixed grids themselves to be able to > add other objects to them. Let me guess: you are writing a GUI builder for PHP-GTK? :) > $fixed->put( $button, $xx, $yy ); > > // two step motion detection > $button->connect( 'motion_notify_event', 'on_motion_notify' ); > $button->set_events( GDK_POINTER_MOTION_MASK ); You sure you don't want to also use GDK_POINTER_MOTION_HINT_MASK? -Andrei * What were the first 15 billion years of the universe like for you? *

« previous php.gtk.general (#166) next »