From 6c2fbc3eaf8c3f95bd8190551fb7a9973462348a Mon Sep 17 00:00:00 2001 From: Jean Sirmai Date: Sun, 28 Apr 2024 11:53:35 +0200 Subject: [PATCH] pourquoi les contenus de la stack ne sont-ils pas visibles ? --- cold.c | 14 ++++++++++++++ exec.o | Bin 27776 -> 27896 bytes hot.c | 1 - hot.h | 41 +++++++++++++++++++++++++++-------------- warm.c | 11 ----------- 5 files changed, 41 insertions(+), 26 deletions(-) diff --git a/cold.c b/cold.c index d3d05ca..f3b765d 100644 --- a/cold.c +++ b/cold.c @@ -38,6 +38,20 @@ void window_bar(GtkWindow *window, char *title){ button = gtk_button_new_with_label (" I "); n fois gtk_grid_attach (GTK_GRID (grid), button, 0, 0, 1, 1); n fois */ +/* + * gtk_paned_new (GTK_ORIENTATION_VERTICAL or GTK_ORIENTATION_VERTICAL) + * GtkPaned has two panes, arranged either horizontally or vertically. + * The division between the two panes is adjustable by the user by dragging a handle. + * Child widgets are added to the panes of the widget + * with gtk_paned_pack1() and gtk_paned_pack2(). + */ + +/* + * GtkWidget* gtk_box_new (GtkOrientation orientation, gint spacing) + */ + + + /* TODO or NOT TODO diff --git a/exec.o b/exec.o index b1ef0dadb82bb64bcc691feac5870dcb480cf16c..9e1c748df5a6a2a8801a6449916dd5c80bf215e4 100755 GIT binary patch delta 9099 zcmZvC2{@Er`~Qr6FpQn-`%+>E*~c0pgvh?{*^2B#lqPE)YoSP4O7s;WL?ZhV*|IMg zkwmtN`9065_kFML|9@ZCea`uO?)yH^ea?C29Og{S1blx2p2p6A5x~G8IWA$a(7WO# z2rCqkgIV33kfLs)I0j7=03-Y~!i3})ngIH6DMTmfF&YG7;d=~q(#NPy8bfTLcXdSHtcXeF0|?+`6i6zuS1fS*DN9tN0FIKcZM7ETFu0?dIn3t*li z8_ri9MrjLYb@mT+@N>Hk^SI{Y0JWV00^Iyuff=e3fGXk)z=hzi4n#1L0r5x_kb@M_ zIvzh9%$gb;z@K%1y}X+RrcMfD{=)^I@B$}|1j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3MFMARdOU*vm z5tAv-%taZE(hiW0rhfbL>r&@ZYv)}3)axyeTK~Mw<{wXjV3#I`RkKf?7?y_flnoBv z(4=T8^Zzuu8pxWzTWU6LJ@V1GAfx?t9QqaEIm;&{PxLQ2IKDu8Zx4IrtVG^ma>_?K z>AzY=(dlc1-Q_>L^tAu$>+jTcg$49us^UzTdU|=M_>YQNlV-;+wIceIgEyMD1c~ou zY4;Usp%|QvA1@KtJx-;+A8pS~OC}^(f5~6IXo@zXt9CNCO(XZE@oKo(1kEI)#Zg;o zp=CH-M7Ph?k8c}Y(DFPF>JN5uB4^_S3>+e#k|exz89A)oxU4=dZ24{EdCl~V$W-13 zUAL-(JF{YXDzxHBSeCrmThj)08wTe(HN{?eJ{O;Km;s1w1sEoif|=QxI$r37J=qA_ zxri#XrgowhdBU@qb)P5rH-3>Yc6~S{|4W2;)EeUTl>z~|CL4aqt;ex;&1+1%>o=vK z_X-GbnSL-?4dsm?DnJm;RUJAs!oge@AyDTu2X6o;D z=&b{g;sFa+G?-%=cNL@gn+2NVKDE&REZ4+n{$_Tz_)oPY01BTD@Va&m%s`<~bU^7f zc9Q?SRRIiLlcU)MGo29aLYYF4)T>zBRN(M69Nf#Do#byyY7Izrm;1jdEYvBS7?>xd z1D4$RNML_7d^pWH4?dDPol^|>+5RSa`~j$lIPu(Lfd`wc4FZPl0hyIk*cz #include - diff --git a/hot.h b/hot.h index a36a9c4..6ad2592 100644 --- a/hot.h +++ b/hot.h @@ -4,40 +4,53 @@ #include "cold.h" void activate (GtkApplication *app, gpointer user_data) { - GtkWindow *window = GTK_WINDOW (gtk_application_window_new (app)); + GtkWindow *window = GTK_WINDOW (gtk_application_window_new (app)); window_bar (window, "window"); - GtkWidget *grid = gtk_grid_new(); + GtkWidget *grid = gtk_grid_new(); gtk_window_set_child (window, grid); click_print_do (NULL, grid, "(I)", "n°1\n", 0,0,1,1); click_print_do (NULL, grid, "(II)", "n°2\n", 1,0,1,1); - click_print_do (window, grid, "Quit", "bye !\n", 2,0,1,2); + click_print_do (window, grid, "Quit", "bye !\n", 2,0,1,1); GtkWidget *switcher = gtk_stack_switcher_new(); // GtkWidget *sidebar = gtk_stack_sidebar_new(); - gtk_grid_attach (GTK_GRID (grid), switcher, 0, 2, 2, 1); + 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); - gtk_stack_add_titled (stack, page_0, "n°0", "A"); - gtk_stack_add_titled (stack, page_1, "n°1", "B"); +// 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 *box_1 = gtk_box_new (0, 6); // 6 = spacing - GtkStackPage *page_2 = gtk_stack_add_titled (stack, box_1, "any name", "C"); - gtk_stack_page_set_name (page_2, "n°2"); +// 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)); - GtkSelectionModel *stack_selection_model = gtk_stack_get_pages (stack); - gtk_selection_model_select_item (stack_selection_model, 2, 1); - // gtk_stack_set_transition_type (GTK_STACK (stack), GTK_STACK_TRANSITION_TYPE_CROSSFADE); gtk_window_present (GTK_WINDOW (window)); diff --git a/warm.c b/warm.c index 5e653bb..ee69459 100644 --- a/warm.c +++ b/warm.c @@ -1,14 +1,3 @@ -#include #include #include -/* button_0 = gtk_button_new_with_label ("Quit"); - GtkWidget *button_1 = gtk_button_new_with_label ("I"); - GtkWidget *button_2 = gtk_button_new_with_label ("II"); - GtkWidget *button_3 = gtk_button_new_with_label ("III"); - GtkWidget *button_4 = gtk_button_new_with_label ("IV"); - GtkWidget *button_5 = gtk_button_new_with_label ("V");*/ - -// GtkToggleButton *tb1 = GTK_TOGGLE_BUTTON (gtk_button_new_with_label ("tb1")); - -