On Thursday, May 24, 2001, at 10:40 , Ralph Walden wrote:
> How do you set things like the input focus on a widget,
> or tab order, etc. with pygtk?

I have a window with an entry at the bottom that I want to get the focus 
when the window is opened, so I do this:

        # [... create various window bits ...]
        self.cmdLine = GtkEntry(maxlen=120)
        # [... create the rest of the window bits ...]
        self.window.show_all()
        self.cmdLine.grab_focus()
_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk

Reply via email to