Commit Graph

192 Commits

Author SHA1 Message Date
Jean Sirmai 348d4877cb
WIP: cleaning 2024-01-30 00:00:32 +01:00
Jean Sirmai 2d64975c22
WIP: GtkTreeListModel *my_tree_list_model = gtk_tree_list_model_new (...) (110) 2024-01-29 22:51:09 +01:00
Jean Sirmai 22d127d1c0
WIP: cleaning 2024-01-24 11:53:58 +01:00
Jean Sirmai e9f147a60a
WIP: static void on_activating_this_expander (GtkExpander *my_expander, gpointer my_data){} 2024-01-24 10:24:56 +01:00
Jean Sirmai b1fc18d941
WIP: GtkWidget *my_expander = gtk_expander_new (my_expander); < OK 2024-01-24 10:11:24 +01:00
Jean Sirmai 9260e2f7ff
WIP: Matthias Clasen (compiled) Note that the model is never populated with data — that is left as an exercise for the reader. 2024-01-24 09:18:59 +01:00
Jean Sirmai 30b754cc28
WIP: bonne doc : https://docs.gtk.org/gtk4/section-tree-widget.html 2024-01-24 00:02:46 +01:00
Jean Sirmai 81007820bf
WIP: (from list to tree) Many questions (but only few answers) 2024-01-23 23:02:50 +01:00
Jean Sirmai a54454556a
WIP: unbind_cb() and teardown_cb() seems to have no effect. Why ? 2024-01-23 12:10:37 +01:00
Jean Sirmai 8094259bb2
WIP: item value (a string) = gtk_string_object_get_string (g_list_model_get_item (selection_model, position)) 2024-01-23 11:44:00 +01:00
Jean Sirmai baf6263d15
WIP: on_selection_change() affiche le premier élement ayant changé d'état et le nombre d'éléments ayant changé d'état 2024-01-22 21:11:51 +01:00
Jean Sirmai 556a7f0c69
WIP: How to get the selected item(s) values ? (here are some unsatisfactory results) 2024-01-22 09:54:03 +01:00
Jean Sirmai 06ed50bf61
WIP: learning how to use selections (clumsy: await next commit) 2024-01-22 08:40:19 +01:00
Jean Sirmai 1a57b936c3
WIP: printf(%sn, gtk_string_object_get_string (strobj)); line 44 2024-01-22 08:04:50 +01:00
Jean Sirmai 56b592e075
gtk_multi_selection_new < this one works fine too: use ctrl (& see line 60 in the sand_box) 2024-01-22 00:53:47 +01:00
Jean Sirmai aff067662d
gtk_single_selection_new < it works fine ! (see line 60 in the sand_box) 2024-01-22 00:49:06 +01:00
Jean Sirmai f44c7d1f1e
F I R S T L I S T I N G T K 4 2024-01-21 21:14:02 +01:00
Jean Sirmai e9c1146b55
STEP ! STEP ! First GTK4 list 2024-01-21 20:13:07 +01:00
Jean Sirmai 682178afae
WIP: cleaning before : and_now_let_s_climb_that_tree (my_box_in_that_window); (sand_box 99) 2024-01-21 13:22:51 +01:00
Jean Sirmai 148460db0f
WIP: GtkSelectionModel *my_select_model = gtk_selection_model_select_all (my_string_list); 2024-01-21 12:49:38 +01:00
Jean Sirmai 58ed930b0e
WIP: échec ^c^v d'un exemple de sélection 2024-01-21 12:23:13 +01:00
Jean Sirmai f158aeb364
WIP: GtkWidget *my_list_view = gtk_list_view_new (my_string_list, my_factory); 2024-01-21 00:33:19 +01:00
Jean Sirmai 05230b7a64
WIP: GtkStringList *my_string_list = gtk_string_list_new ((const char * const *) array); 2024-01-21 00:04:39 +01:00
Jean Sirmai 6039ebacd9
WIP: using gtk_application_window_new() - in sand_box.c 2024-01-20 23:22:49 +01:00
Jean Sirmai c22187af45
WIP: cleaning... cleaning... cleaning... 2024-01-20 18:31:50 +01:00
Jean Sirmai 912f2e5044
WIP: cleaning... cleaning... cleaning... 2024-01-20 13:57:24 +01:00
Jean Sirmai 930eb27f8a
WIP: cleaning/namming sandbox 2024-01-20 12:54:15 +01:00
Jean Sirmai fe6c0298cb
WIP: cleaning... cleaning... cleaning... 2024-01-20 12:40:52 +01:00
Jean Sirmai 5cd112e7a5
WIP: creating a window through a g_signal_connect instruction (fun) 2024-01-20 11:31:13 +01:00
Jean Sirmai e991c80998
WIP: trying again to built a model of a tree... 2024-01-18 19:11:22 +01:00
Jean Sirmai e47bd2b0dc
WIP: a minimal sand box cleaned 2024-01-18 17:00:41 +01:00
Jean Sirmai fadd5f256f
WIP: playing in the sand box 2024-01-17 18:14:53 +01:00
Jean Sirmai ca2a4e332d
WIP: Un tas de briques n'est pas une maison... (H. Poincarré) 2024-01-13 15:55:56 +01:00
Jean Sirmai 154caf878a
wip 2024-01-13 15:43:19 +01:00
Jean Sirmai 8cbf759e0b
WIP: GtkTreeListModel *gtk_tree_list_model_new(...){} < how to ? 2024-01-13 10:13:11 +01:00
Jean Sirmai c416927cd9
WIP: et encore quelques briques... 2024-01-13 09:45:15 +01:00
Jean Sirmai 42bf1cc69d
WIP: quelques briques de plus... ça passe... 2024-01-13 09:22:13 +01:00
Jean Sirmai c25cb17e94
WIP: des briques qui passent la compilation 2024-01-13 08:47:28 +01:00
Jean Sirmai 37e2808191
WIP: https://docs.gtk.org/gtk4/ctor.TreeListModel.new.html 2024-01-13 08:01:06 +01:00
Jean Sirmai 8dfd14a490
WIP: cleaning before implementation of GListModel 2024-01-11 00:33:42 +01:00
Jean Sirmai 6b27db357e
Show properties of the selected item TODO: use non-deprecated functions 2024-01-10 19:04:49 +01:00
Jean Sirmai 8182d64b69
WIP: my_tree_view & my_list_model set as global variables in tree.c 2024-01-10 17:48:46 +01:00
Jean Sirmai 9c4f2ef3ef
WIP: preparing add & remove item in tree 2024-01-10 17:29:23 +01:00
Jean Sirmai 5743a83b0c
WIP: importing a 'remove_item() function in tree.c 2024-01-10 12:49:21 +01:00
Jean Sirmai 92e6f037de
WIP: (forget the two previous commits and focus on : how to edit tree nodes) 2024-01-10 11:59:57 +01:00
Jean Sirmai 71cc0f7364
L I B R A R Y + R U L E S + W O R L D 2024-01-10 10:56:16 +01:00
Jean Sirmai 370461e03d
L O C A L S T A T E S + T R A N S I T I O N S R U L E S + G L O B A L S T A T E 2024-01-10 10:47:21 +01:00
Jean Sirmai 20537e68e2
WIP: clean & comment 2024-01-10 09:38:58 +01:00
Jean Sirmai 8aad4e1d54
WIP: Test gtk_box_append (copier/coller) un exemple de liste simple 2024-01-10 08:59:36 +01:00
Jean Sirmai 74cbded108
WIP: clean & comment 2024-01-09 17:33:43 +01:00