Setting initial focus in a GtkNotebook



I want to set initial focus on one of the tabs in a GtkNotebook.

By initial focus, I mean focus when the widget is first mapped to the
screen after being created.

I tried gtk_container_set_focus_child(the_notebook, the_pane). This
seems to set focus correctly, but the tab does not get the focus
border. 

What am I doing wrong? Or is this a bug in the widget set?

Could somebody explain how gtk_container_set_focus_child relates to
gtk_widget_grab_focus?

If I don't acknowledge any possible help for a while, it is because I
am going away for a week.

Jon



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