Changing focus from one window to another



Hi,

I have a program that has two top level windows, one with a button, one with
a text entry in it.  It is set up so that when I click the button, the focus
is set to the text entry in the other window using
gtk_widget_set_focus(entry_widget).  However, the window containing the
entry widget doesn't receive the focus.  Am I doing something wrong?

Thanks for your time.

Ian King





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]