Re: how to set focus on one widget
| From: | tony | Date: | Thu, 06 Nov 2003 15:01:50 +0000 |
| Subject: | Re: how to set focus on one widget | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-4094@lists.php.net to get a copy of this message | ||
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();