Re: how to set focus on one widget

From: Date: Fri, 07 Nov 2003 00:08:16 +0000
Subject: Re: how to set focus on one widget
References: 1 2  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-4104@lists.php.net to get a copy of this message
Hi, Tony Thanks a lot. It works. Jack ----- Original Message ----- From: "tony" <tony@php.net> To: "jack" <quals_n@tpg.com.au> Cc: "php-gtk" <php-gtk-general@lists.php.net> Sent: Friday, November 07, 2003 1:01 AM Subject: Re: [PHP-GTK] how to set focus on one widget > > > On Thu, 2003-11-06 at 14:18, jack wrote: > > Hi, all > > > > I create a php-gtk program with an entry field and two buttons. As an user, > > I type something on the entry field and press one of the buttons, then the > > focus is gone. How do I set back the focus on the entry field with the > > button OnClicked handler? Thank you in advance! > > $text_field_handle->grab_focus(); > > -- > PHP-GTK General Mailing List (http://gtk.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

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