From 5f2b9cad30530789f8c732ee9ec3275fda466471 Mon Sep 17 00:00:00 2001 From: Jean Sirmai Date: Sun, 28 Apr 2024 12:27:19 +0200 Subject: [PATCH] essai gtk_paned_new() --- exec.o | Bin 27896 -> 28192 bytes hot.h | 47 +++++++++++++++++++++++++---------------------- warm.h | 43 +++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 68 insertions(+), 22 deletions(-) diff --git a/exec.o b/exec.o index 9e1c748df5a6a2a8801a6449916dd5c80bf215e4..3c4ea2ec105fd0b55c49284327d198ea52c1e2c1 100755 GIT binary patch delta 9517 zcmZ{K2UHYGu=XyQCFdw0S%T~W0)pfqC=x}IM9Bh@Gb}kv8p%-!5-vy(1e7SrK+XsV zg0LVUpeTsSKeOO{_xHS4=TujJRn^tiJu}_2+jBSzFPev^FjBj5D!?E*En%=Cn^b`^ zgcKE436r8qox4c9OmK>p0V=o%F%st#Aps2#E#aOb3=jtYPL+i`MOjD%Y$dB94o4ZT z$^im4kP#r$gUkRj1;`N5f=mK3E69u>6M_s8CCKMMrUsb>WM-fahXvRrz=IQjH5%Xw z9xc#`g9qr~5nW~n?NG*~Ak%?N3^EPKWFSMt1Ts0uP_9HELj;Y29k`FjKm@hE?jk7# zhGm6Y0;vQHa3-h(4)GY_1ppPk2z(w`#$y2d2pEA*kd5$>a4oDy5k4ba7+V_wYnzZ4 zJOnD!2pHi`*hWYKbueQns61GTz&n60f=swhgE65492g;TQnJ41XJO^$X6tGLv-i4d z;b!G(Yh&SR>x)Hp9#$^4{~}*U8+%(X3r~n018glkY~8(WJ-r$(5%b{zZe)1CZ8Clo z92y-+aBzr9;E17#gy?B%26!EDVVY+;Z)Qhuo^W7>Kphzk6Lbmw(4n>hwhCQ#7GQyF znhBcFKV+$+fUQCo3IPm~C&Q@#GYSSEk%E-0=sz|Z;64QdoE<2o@P#u1=O`HfR!UN) zrT=&^{|O0744_NFz_a@wD|GSy(BXgdYz?}UO7%mIqCq44|UctgrQq&g9F3{>Tw?x4K(5o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_SWITCHER (switcher), stack); // gtk_stack_sidebar_set_stack (GTK_STACK_SIDEBAR (sidebar), stack); -// GtkWidget *page_0 = gtk_paned_new(GTK_ORIENTATION_VERTICAL); -// GtkWidget *page_1 = gtk_paned_new(GTK_ORIENTATION_VERTICAL); - GtkWidget *box_0 = gtk_box_new (0, 0); - GtkWidget *box_1 = gtk_box_new (0, 0); - GtkWidget *box_2 = gtk_box_new (0, 0); - GtkWidget *box_3 = gtk_box_new (0, 0); - gtk_box_append (GTK_BOX (box_0), gtk_button_new_with_label ("00")); - gtk_box_append (GTK_BOX (box_0), gtk_button_new_with_label ("01")); - gtk_box_append (GTK_BOX (box_1), gtk_button_new_with_label ("10")); - gtk_box_append (GTK_BOX (box_1), gtk_button_new_with_label ("11")); - gtk_box_append (GTK_BOX (box_2), gtk_button_new_with_label ("20")); - gtk_box_append (GTK_BOX (box_2), gtk_button_new_with_label ("21")); - gtk_box_append (GTK_BOX (box_3), gtk_button_new_with_label ("30")); - gtk_box_append (GTK_BOX (box_3), gtk_button_new_with_label ("31")); + GtkWidget *box_0 = gtk_box_new (0, 0); + GtkWidget *box_1 = gtk_box_new (0, 0); + GtkWidget *box_2 = gtk_box_new (0, 0); gtk_stack_add_titled (stack, box_0, "n°0", "A"); gtk_stack_add_titled (stack, box_1, "n°1", "B"); gtk_stack_add_titled (stack, box_2, "n°2", "C"); - gtk_grid_attach (GTK_GRID (grid), box_3, 0, 2, 1, 1); - - -// GtkStackPage *page_2 = gtk_stack_add_titled (stack, box_1, "any name", "C"); -// gtk_stack_page_set_name (page_2, "n°2"); - GtkSelectionModel *stack_selection_model = gtk_stack_get_pages (stack); gtk_selection_model_select_item (stack_selection_model, 1, 1); + printf("selected page name is [%s] \n", gtk_stack_get_visible_child_name (stack)); + + + GtkWidget *box_3 = gtk_box_new (0, 0); + gtk_box_append (GTK_BOX (box_3), gtk_button_new_with_label ("30")); + gtk_box_append (GTK_BOX (box_3), gtk_button_new_with_label ("31")); + gtk_grid_attach (GTK_GRID (grid), box_3, 0, 2, 1, 1); + + GtkWidget *hpaned = gtk_paned_new (GTK_ORIENTATION_HORIZONTAL); + GtkWidget *frame1 = gtk_frame_new ("hello ?"); + GtkWidget *frame2 = gtk_frame_new ("it's me !"); +// gtk_frame_set_shadow_type (GTK_FRAME (frame1), GTK_SHADOW_IN); +// gtk_frame_set_shadow_type (GTK_FRAME (frame2), GTK_SHADOW_IN); + + gtk_widget_set_size_request (hpaned, 200, -1); + +// gtk_paned_pack1 (GTK_PANED (hpaned), frame1, TRUE, FALSE); + gtk_widget_set_size_request (frame1, 50, -1); + +// gtk_paned_pack2 (GTK_PANED (hpaned), frame2, FALSE, FALSE); + gtk_widget_set_size_request (frame2, 50, -1); + gtk_grid_attach (GTK_GRID (grid), hpaned, 0, 3, 1, 1); - printf("selected page name is [%s] (how do I get its title ?)\n", - gtk_stack_get_visible_child_name (stack)); // gtk_stack_set_transition_type (GTK_STACK (stack), GTK_STACK_TRANSITION_TYPE_CROSSFADE); diff --git a/warm.h b/warm.h index 08945a4..7f1d05d 100644 --- a/warm.h +++ b/warm.h @@ -14,3 +14,46 @@ #include #include "cold.h" +/* + GtkWidget *switcher = gtk_stack_switcher_new(); +// GtkWidget *sidebar = gtk_stack_sidebar_new(); + gtk_grid_attach (GTK_GRID (grid), switcher, 0, 1, 3, 1); + gtk_orientable_set_orientation (GTK_ORIENTABLE (switcher), GTK_ORIENTATION_VERTICAL); + gtk_orientable_set_orientation (GTK_ORIENTABLE (switcher), GTK_ORIENTATION_HORIZONTAL); + GtkStack *stack = GTK_STACK (gtk_stack_new()); + gtk_stack_switcher_set_stack (GTK_STACK_SWITCHER (switcher), stack); +// gtk_stack_sidebar_set_stack (GTK_STACK_SIDEBAR (sidebar), stack); + +// GtkWidget *page_0 = gtk_paned_new(GTK_ORIENTATION_VERTICAL); +// GtkWidget *page_1 = gtk_paned_new(GTK_ORIENTATION_VERTICAL); + GtkWidget *box_0 = gtk_box_new (0, 0); + GtkWidget *box_1 = gtk_box_new (0, 0); + GtkWidget *box_2 = gtk_box_new (0, 0); + GtkWidget *box_3 = gtk_box_new (0, 0); + gtk_box_append (GTK_BOX (box_0), gtk_button_new_with_label ("00")); + gtk_box_append (GTK_BOX (box_0), gtk_button_new_with_label ("01")); + gtk_box_append (GTK_BOX (box_1), gtk_button_new_with_label ("10")); + gtk_box_append (GTK_BOX (box_1), gtk_button_new_with_label ("11")); + gtk_box_append (GTK_BOX (box_2), gtk_button_new_with_label ("20")); + gtk_box_append (GTK_BOX (box_2), gtk_button_new_with_label ("21")); + gtk_box_append (GTK_BOX (box_3), gtk_button_new_with_label ("30")); + gtk_box_append (GTK_BOX (box_3), gtk_button_new_with_label ("31")); + gtk_stack_add_titled (stack, box_0, "n°0", "A"); + gtk_stack_add_titled (stack, box_1, "n°1", "B"); + gtk_stack_add_titled (stack, box_2, "n°2", "C"); + gtk_grid_attach (GTK_GRID (grid), box_3, 0, 2, 1, 1); + GtkWidget* combo = gtk_combo_box_new_with_entry (void); + gtk_grid_attach (GTK_GRID (grid), combo, 0, 2, 2, 1); + +// GtkStackPage *page_2 = gtk_stack_add_titled (stack, box_1, "any name", "C"); +// gtk_stack_page_set_name (page_2, "n°2"); + + GtkSelectionModel *stack_selection_model = gtk_stack_get_pages (stack); + gtk_selection_model_select_item (stack_selection_model, 1, 1); + + printf("selected page name is [%s] (how do I get its title ?)\n", + gtk_stack_get_visible_child_name (stack)); + +// gtk_stack_set_transition_type (GTK_STACK (stack), GTK_STACK_TRANSITION_TYPE_CROSSFADE); +) + */