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

-Steve

On Tue, Feb 16, 2010 at 10:08 AM, Simon Arnaud <mazwak@gmail.com> wrote:
2010/2/16 Steve Gibson <steve@stevegibson.com>:
> 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 ?

Simon

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
ruby-gnome2-devel-en mailing list
ruby-gnome2-devel-en@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ruby-gnome2-devel-en