Thanks Simon.  That's what I needed.  Sorry for the silly question.


On Tue, Feb 16, 2010 at 10:08 AM, Simon Arnaud <> wrote:
2010/2/16 Steve Gibson <>:
> I have a notebook widget with several pages.  The pages each have a few
> child widgets, one of which is a Gtk::Entry.  When I switch to a page I
> would like focus to switch to the Gtk::Entry widget.  I've got a handler
> that is successfully executing on the switch-page signal but I'm not sure
> how to get the focus to move to my entry widget so I can start typing
> without having to manually click it.  Any help appreciated.

Did you try Gtk::Wigdet#grab_focus ?


SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
ruby-gnome2-devel-en mailing list