Re: PopUp display only
| From: | Anant Narayanan | Date: | Thu, 23 Mar 2006 18:51:25 +0000 |
| Subject: | Re: PopUp display only | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-6811@lists.php.net to get a copy of this message | ||
Madeleine,
> I need to have a screen popup based on field entry that will show the
> user their choices for that field. The thing is, I need the cursor to
> remain in that field, on the parent window, so the user can enter a
After creating your popup and displaying it, if you have the original
field's entry object with you (let's call it $entry):
$entry->set_position(0)
will bring the cursor to the 0th position of the GtkEntry. I also think
that, if your popup is a dialog, you have to ensure that it's not modal.
Hope this helps.
Regards,
--
Anant
Find Freedom, Go Open Source!
http://www.kix.in/