Focus the text view, so the tool bar won't have focus.
2003-08-27 Anders Carlsson <andersca@gnome.org> * demos/gtk-demo/appwindow.c (do_appwindow): Focus the text view, so the tool bar won't have focus.
This commit is contained in:
committed by
Anders Carlsson
parent
ccdf6b9bc9
commit
bebc663c5a
@ -347,7 +347,8 @@ do_appwindow (void)
|
||||
200, 200);
|
||||
|
||||
contents = gtk_text_view_new ();
|
||||
|
||||
gtk_widget_grab_focus (contents);
|
||||
|
||||
gtk_container_add (GTK_CONTAINER (sw),
|
||||
contents);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user