Fw: [PHP-GTK] expanding the program... FIXED

From: Date: Tue, 29 Jan 2002 22:15:17 +0000
Subject: Fw: [PHP-GTK] expanding the program... FIXED
Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-1073@lists.php.net to get a copy of this message
oops sorry, you're using a gtkentry here right? try key_press_event instead then. $entry->connect('key_press_event', 'yourfunction'); function yourfunction($entry, $event) { if($event->keyval==GDK_KEY_Return) { do stuff }} ----- Original Message ----- From: "Steph" <Steph.Fox@btinternet.com> To: <iuri.f@terra.com.br> Cc: <php-gtk-general@lists.php.net> Sent: Tuesday, January 29, 2002 10:09 PM Subject: Re: [PHP-GTK] expanding the program... FIXED Use button_press_event instead of clicked. $event is passed through the signal, you pick it up in the function directly after the calling $button. ----- Original Message ----- From: "Iuri Fiedoruk" <iuri.f@terra.com.br> To: "Steph" <steph.fox@btinternet.com> Cc: <php-gtk-general@lists.php.net> Sent: Tuesday, January 29, 2002 9:55 PM Subject: Re: [PHP-GTK] expanding the program... FIXED > Steph wrote: > > >$gtkobject->flags(); returns an array of 4 integers that will give info re object > >status. > > > >& is it the activate signal you're chasing, or am I confused? > > > > Yes, that's it, thank you very much. > Now I just have to find how to add a event when enter is pressed on > text/input box. > > -- > Iuri Fiedoruk, Santa Maria, RS, Brasil. > > > > > -- > PHP-GTK General Mailing List (http://gtk.php.net/) > To unsubscribe, e-mail: php-gtk-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-gtk-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > -- PHP-GTK General Mailing List (http://gtk.php.net/) To unsubscribe, e-mail: php-gtk-general-unsubscribe@lists.php.net For additional commands, e-mail: php-gtk-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

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