[maemo-commits] [maemo-commits] r18904 - in projects/haf/trunk/sapwood: . demos
From: subversion at stage.maemo.org subversion at stage.maemo.orgDate: Mon Jul 20 16:59:24 EEST 2009
- Previous message: [maemo-commits] r18903 - in projects/haf/trunk/sapwood: . demos
- Next message: [maemo-commits] r18905 - in projects/haf/trunk/sapwood: . demos
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Author: herzi Date: 2009-07-20 16:59:23 +0300 (Mon, 20 Jul 2009) New Revision: 18904 Modified: projects/haf/trunk/sapwood/ChangeLog projects/haf/trunk/sapwood/demos/rgba-demo.c Log: 2009-01-09 Sven Herzberg <sven at imendio.com> Added an entry to the window * demos/rgba-demo.c (main): added a table and entry into the window Modified: projects/haf/trunk/sapwood/ChangeLog =================================================================== --- projects/haf/trunk/sapwood/ChangeLog 2009-07-20 13:58:40 UTC (rev 18903) +++ projects/haf/trunk/sapwood/ChangeLog 2009-07-20 13:59:23 UTC (rev 18904) @@ -20,6 +20,12 @@ 2009-01-09 Sven Herzberg <sven at imendio.com> + Added an entry to the window + + * demos/rgba-demo.c (main): added a table and entry into the window + +2009-01-09 Sven Herzberg <sven at imendio.com> + Added a main window to the RGBA demo * demos/rgba-demo.c (main): added the main window Modified: projects/haf/trunk/sapwood/demos/rgba-demo.c =================================================================== --- projects/haf/trunk/sapwood/demos/rgba-demo.c 2009-07-20 13:58:40 UTC (rev 18903) +++ projects/haf/trunk/sapwood/demos/rgba-demo.c 2009-07-20 13:59:23 UTC (rev 18904) @@ -29,12 +29,23 @@ main (int argc, char**argv) { + GtkWidget* entry; + GtkWidget* table; GtkWidget* window; gtk_init (&argc, &argv); window = gtk_window_new (GTK_WINDOW_TOPLEVEL); + table = gtk_table_new (1, 2, FALSE); + entry = gtk_entry_new (); + gtk_container_add (GTK_CONTAINER (window), table); + gtk_table_attach (GTK_TABLE (table), entry, + 0, 1, 0, 1, + GTK_FILL, GTK_FILL, + 0, 0); + + gtk_container_set_border_width (GTK_CONTAINER (window), 12); g_signal_connect (window, "destroy", G_CALLBACK (gtk_main_quit), NULL);
- Previous message: [maemo-commits] r18903 - in projects/haf/trunk/sapwood: . demos
- Next message: [maemo-commits] r18905 - in projects/haf/trunk/sapwood: . demos
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]