From aceb65fd00642d15bad7ccc503ce436509c8f807 Mon Sep 17 00:00:00 2001 From: Jean Sirmai Date: Fri, 26 Apr 2024 21:37:58 +0200 Subject: [PATCH] visible is page [C] whose name is : 3 --- exec.o | Bin 26680 -> 26904 bytes main.c | 27 +++++++++++++++++---------- 2 files changed, 17 insertions(+), 10 deletions(-) diff --git a/exec.o b/exec.o index b963f51093c7adb7a211ee177409d9c16f47dedd..c6c694e46ccff707b9e6b4e531c7925a7c98fdbf 100755 GIT binary patch delta 7587 zcmZu$2|QF^^q)7@u`k)Tu`k&MC1shhj;tj@i!Fvi_EH!Xl_lE~qL8hUL?na;*;;HB zvLqEo$&!7^{NEe;{eQpy|MU5rbMN`ybI!f*+~?eJUv)Q-(F-K;b45yE5io5_1R}#J zS)mA(!AS)X8Oa}2P&etfm75?Zpn|FcwzWFY6w=5v+u9s>30UDwRo&K7Rk74gYDEmv z05B4V6fuZ-Am)XbA7T!O*&ybIm=9tRhy@^KfcOuILLFL&g&`IK%aLNBHI5db2Qjp} zbhz*L!> z24$HBad8I=7W9Ii1c|u%C%;x$svW!)%%Be&A0P}yv&{lbU@-eVfD07i-~-U$9*%xM z2xR5dW;wKN4rf!W0>>H1mWM{-DAMc72!tn`>M4#b3dI&5Gmf)0jakAhm;_`xX&aeyCWmK5S1QGy18x#6{t zFHk6yR=U@qmZTnF4~9x=5_8E+zbTX#Y|z5+F-95W%}ojgA2SN|lgLR>-!$eWxt)p` zT_@{7rlv7%u za6mJf#t>V{&mjQQ3q#tF4Y>{u5EpzM0?2-luX)T2++Cu=;iT=H)$l>ywUIK=6N^JV za{9ItluJ0$EUpG#9IhIcWHTrTJ}$g^$5Z}4o<#DAZP#kZ4b$;&$6Bg4+qQT6j<@=M zyvgY8RkfSPj6pkztAStsTCDh=WdYl<+o{XJ^!|wsTS3#2pKMZy@U!Nc$E=V;wrw-u z{%NScZEPO14Ea^>cu?bSr#LRS4BDm|9e6!@a0+-gsCkQoQ5=jKz$juHy$_>CFlqv$ z-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vpzx90IXQ8TNd}ZsNlWSD zvJ*3Q%Z%Ag+45lUp#K)cXz~`dDH`C-0Vxv8y{0m-gaS(KWbik zPw=jA_nuX^J?xeh*YccJNuxuv{d-xm+ZbAVSlRf74+)cH@&V?;_oFn`c^!ZRw;x$wuG!(PsWDLZ?D{ap-1j_YMJnM(4P5rJiHjArv2av zQE1TNapoIiPp2cHwf^Y{TabvQ>`IYb9Ym_r_YjQg?YHN zl0H?PnM;n$)HRGDp+8%>L|8uWJqzN-1nwvGm0^g6akF$dpIwRkA%%fd>24MxQ$` zs%-kn3Y5$$p0|FnY_o@qI-l?G@xa$Lopz_1EO^_gqxs=3!)GSe7L}*Nm>$3ny1CG>ehePs*tPdDqB*lIssx}cY4Q>%sHQ2%p7Z8L{o zb*Wmt@5gA5MgS+qNMC$~@pyxW#*nqdrT4j*D&3)T~6rcDrR|7qJn${k>@V1Am#(}f7kWq1`A_`U4H%OF*Y&sLn= z6aw=J7;BF{a|MjG0?)h`#(LrcOQo8{4J*!&eyh66q&@TAaP8wNujKhUEHiU$u#S_- zXmO{H4+@WeY-s~H2-&xmfejB86igBislZFUok9rE@>D_oy`~cZPJ0@| z^8t4P8tCy9LH_Sw8L;T7i5%a(CLFKEc^Sh2CK4Bro80<*kYQd-uf!EPCsK z_m4OqJ!F~5PB3j+$7w#&NXo9p2dMYaL|WSH*u8)a5Y^f4pfiA$uO<>}zk@=7NMB7v znG^8H_aKtXWk-nyHheYVQUK0R54oSPqvHZ1{WOt8qaEZ5)ca|&7`pDD5IFGLP3->w DalBIe diff --git a/main.c b/main.c index 416289f..771ecd0 100755 --- a/main.c +++ b/main.c @@ -8,18 +8,18 @@ static void activate (GtkApplication *app, gpointer user_data) { 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"); GtkWidget *window = gtk_application_window_new (app); GtkWidget *titlebar = gtk_header_bar_new(); -// GtkWidget *overlay = gtk_overlay_new(); -// gtk_overlay_set_buildable_id (GTK_BUILDABLE(overlay), "overlay id"); -// printf("overlay %s\n", gtk_buildable_get_buildable_id (GTK_BUILDABLE(overlay))); + GtkWidget *switcher = gtk_stack_switcher_new(); // GtkWidget *sidebar = gtk_stack_sidebar_new(); GtkStack *stack = GTK_STACK (gtk_stack_new()); GtkWidget *page_1 = gtk_paned_new(GTK_ORIENTATION_VERTICAL); GtkWidget *page_2 = gtk_paned_new(GTK_ORIENTATION_VERTICAL); GtkWidget *grid = gtk_grid_new(); + GtkWidget *grid_3 = gtk_grid_new(); GtkWidget *box = gtk_box_new (0, 6); // 6 = spacing gtk_window_set_title (GTK_WINDOW (window), "Window"); @@ -44,22 +44,24 @@ static void activate (GtkApplication *app, gpointer user_data) { // https://docs.gtk.org/gtk4/enum.AccessibleRole.html // GtkToggleButton *tb1 = GTK_TOGGLE_BUTTON (gtk_button_new_with_label ("tb1")); - gtk_stack_add_titled (stack, page_1, "name 1", "page A"); - gtk_stack_add_titled (stack, page_2, "name 2", "page B"); + gtk_stack_add_titled (stack, page_1, "1", "A"); + gtk_stack_add_titled (stack, page_2, "2", "B"); + GtkStackPage *page_3 = gtk_stack_add_titled (stack, grid_3, "3", "C"); + gtk_grid_attach (GTK_GRID (grid_3), button_5, 0, 0, 1, 1); + - gtk_orientable_set_orientation (GTK_ORIENTABLE (switcher), GTK_ORIENTATION_HORIZONTAL); gtk_orientable_set_orientation (GTK_ORIENTABLE (switcher), GTK_ORIENTATION_VERTICAL); + gtk_orientable_set_orientation (GTK_ORIENTABLE (switcher), GTK_ORIENTATION_HORIZONTAL); gtk_stack_switcher_set_stack (GTK_STACK_SWITCHER (switcher), stack); // gtk_stack_sidebar_set_stack (GTK_STACK_SIDEBAR (sidebar), stack); gtk_stack_page_get_child (GTK_STACK_PAGE(page_1)); // gtk_stack_page_set_name (GTK_STACK_PAGE(page_1), "new name"); - gtk_stack_set_visible_child_name (stack, "name 1"); - printf("visible is page [%s] with name (%s)\n", - "?", // gtk_stack_page_get_title (GTK_STACK_PAGE(page_1)), + gtk_stack_set_visible_child_name (stack, "3"); + printf("visible is page [%s] whose name is : %s\n", + gtk_stack_page_get_title (page_3), gtk_stack_get_visible_child_name (stack)); - // gtk_stack_page_get_title (GTK_STACK_PAGE(page_1))); gtk_stack_set_transition_type (GTK_STACK (stack), GTK_STACK_TRANSITION_TYPE_CROSSFADE); @@ -111,4 +113,9 @@ main (int argc, * */ +// GtkWidget *overlay = gtk_overlay_new(); +// gtk_overlay_set_buildable_id (GTK_BUILDABLE(overlay), "overlay id"); +// printf("overlay %s\n", gtk_buildable_get_buildable_id (GTK_BUILDABLE(overlay))); + +// how do I attach a widget to a page ?