mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-22 07:28:16 +01:00
put main games window in a scrolling container
This commit is contained in:
parent
8b142e4a56
commit
25723bbb0f
1 changed files with 5 additions and 1 deletions
|
@ -474,8 +474,12 @@ makeGamesWindow( GtkAppGlobals* apg )
|
||||||
|
|
||||||
setWindowTitle( apg );
|
setWindowTitle( apg );
|
||||||
|
|
||||||
|
GtkWidget* swin = gtk_scrolled_window_new( NULL, NULL );
|
||||||
|
gtk_container_add( GTK_CONTAINER(window), swin );
|
||||||
|
gtk_widget_show( swin );
|
||||||
|
|
||||||
GtkWidget* vbox = gtk_box_new(GTK_ORIENTATION_VERTICAL, 0);
|
GtkWidget* vbox = gtk_box_new(GTK_ORIENTATION_VERTICAL, 0);
|
||||||
gtk_container_add( GTK_CONTAINER(window), vbox );
|
gtk_container_add( GTK_CONTAINER(swin), vbox );
|
||||||
gtk_widget_show( vbox );
|
gtk_widget_show( vbox );
|
||||||
GtkWidget* list = init_games_list( apg );
|
GtkWidget* list = init_games_list( apg );
|
||||||
apg->listWidget = list;
|
apg->listWidget = list;
|
||||||
|
|
Loading…
Reference in a new issue