WIP: simplifications dans builddir/demos/gtk-demo/demos.h
This commit is contained in:
parent
db225bd732
commit
3e52de8a09
|
@ -1147,7 +1147,8 @@ main (int argc, char **argv)
|
|||
|
||||
g_application_run (G_APPLICATION (app), argc, argv);
|
||||
|
||||
printf(" (line 1132 in demos/gtk-demo/main.c) >> [env] $ clear && meson compile && demos/gtk-demo/gtk4-demo\n");
|
||||
printf(" (line 1150 in demos/gtk-demo/main.c)\
|
||||
>> [env] $ clear && meson compile && demos/gtk-demo/gtk4-demo\n");
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
@ -15,15 +15,10 @@
|
|||
|
||||
|
||||
|
||||
/* Tree View/Tree Store
|
||||
*
|
||||
* The GtkTreeStore is used to store data in tree form, to be
|
||||
* used later on by a GtkTreeView to display it. This demo builds
|
||||
* a simple GtkTreeStore and displays it. If you're new to the
|
||||
* GtkTreeView widgets and associates, look into the GtkListStore
|
||||
* example first.
|
||||
*
|
||||
*/
|
||||
/* The GtkTreeStore is used to store data in tree form, to be used later on by a GtkTreeView to display it.
|
||||
* This demo builds a simple GtkTreeStore and displays it.
|
||||
* If you're new to the GtkTreeView widgets and associates, look into the GtkListStore example first. */
|
||||
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
#include <stdio.h>
|
||||
|
@ -41,7 +36,7 @@ struct _TreeItem
|
|||
gboolean tim;
|
||||
gboolean owen;
|
||||
gboolean dave;
|
||||
gboolean world_holiday; /* shared by the European hackers */
|
||||
gboolean world_holiday;
|
||||
TreeItem *children;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue