Re: focus
| From: | Steph | Date: | Tue, 27 Mar 2001 19:07:22 +0000 |
| Subject: | Re: focus | ||
| References: | 1 | Groups: | php.gtk |
| Request: | Send a blank email to php-gtk+get-1156@lists.php.net to get a copy of this message | ||
Sorry Iuri, I only just spotted yr mail -
I've written a function into mine to do just that.
//puts the focus back to the entry box
function focusback(){
global $entry;
$entry->grab_focus();
}
Just call the function every time you do anything likely to remove the focus (eg at the end of an
append, sort or select function).
----- Original Message -----
From: "Iuri Fiedoruk" <bart@avalon.sma.zaz.com.br>
To: <php-gtk@lists.php.net>
Sent: Monday, March 26, 2001 7:13 PM
Subject: [PHP-GTK] focus
How do I remove/return focus to a object?
--
Iuri Fiedoruk
Santa Maria, RS, Brazil
--
PHP GTK Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-gtk-unsubscribe@lists.php.net
For additional commands, e-mail: php-gtk-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net