Forum: Ruby-Gnome 2 Gtk::Entry and default focus on startup

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Robert H. (Guest)
on 2007-04-19 23:19
(Received via mailing list)
Hi there,

first thanks for the various helpful pointers, even though I dont
reply (due to batch-mode digest, and this free email. Makes
emails a bit difficult) :)

Now, my question is:

I have several Gtk::Entries. How can I give one entry default
input focus, so that a user can type with his keyboard, and
have the text appear in a specific Gtk::Entry box?

Right now in my application it is always the first entry that
is selected (it is also the only entry that will have
a text on startup... i am trying to do a "type trainer"
in GTK)

Invention Idea: Start Here
Davison helps design, develop, and present inventions to corporations.

Powered by Outblaze

This email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
This topic is locked and can not be replied to.