$entry->grab_focus().display errors
| From: | Dragos GROSU | Date: | Thu, 13 Jan 2005 09:26:52 +0000 |
| Subject: | $entry->grab_focus().display errors | ||
| Groups: | php.gtk.general | ||
| Request: | Send a blank email to php-gtk-general+get-5435@lists.php.net to get a copy of this message | ||
I have a GtkEntry and I request a grab_focus() on it (I want a input
with focus on it as soon as the window shows). In a small program
it works, but when trying to make it work on a Mk0 mod (btw, some GREAT
classes in there) it simply don't focus on it.
If I put a :
$entry->grab_focus() or print("Can not grab focus");
it simply prints out "Can not grab focus".
If I could force it somehow to give me more hints about why it does
not focus, it will help me.
I need something like:
$entry->grab_focus() or print("Can not grab focus".gtkError()); :))
Thanks.
--
Best regards,
Dragos mailto:dgrosu@gmx.net