WIP: (micro) first step tuto : creating a new list store with two columns.
This commit is contained in:
parent
d315e5c76a
commit
a814a2328f
|
@ -28,10 +28,18 @@
|
|||
#include "../../include/base.h"
|
||||
#include "../../include/ui.h"
|
||||
|
||||
GtkListStore *list_store;
|
||||
|
||||
|
||||
void tree_c_printing_test(void)
|
||||
{
|
||||
list_store = gtk_list_store_new (2, G_TYPE_STRING, G_TYPE_UINT);
|
||||
|
||||
printf("tree_c_printing_test() \
|
||||
------------------------------------------------------\n\
|
||||
trying : https://en.wikibooks.org/wiki/GTK\%\2B_By_Example/Tree_View/Tree_Models\n");
|
||||
------------------------------------------------------\n\n\
|
||||
trying : https://en.wikibooks.org/wiki/GTK\%\2B_By_Example/Tree_View/Tree_Models\n\n\
|
||||
cf. tuto : This creates a new list store with two columns.\n\
|
||||
Column 0 stores a string and column 1 stores an unsigned integer for each row.\n\
|
||||
At this point the model has no rows yet of course.\n");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue