Re: gtk-3.16: GtkStackSideBar & GtkStack - Change page from code (No user interaction)

2015-08-10 Thread Alfredo Pons
Hi Ben, Thank you. This works for me. I attach two examples (gtk & gtkmm) with a button that do this. 2015-07-30 16:13 GMT+02:00 Ben : > > You can use gtk_stack_set_visible_child() > > https://developer.gnome.org/gtk3/stable/GtkStack.html#gtk-stack-set-vis > ible-child > > On Wed, 2015-07-29

Re: gtk-3.16: GtkStackSideBar & GtkStack - Change page from code (No user interaction)

2015-08-10 Thread Ben
You can use gtk_stack_set_visible_child() https://developer.gnome.org/gtk3/stable/GtkStack.html#gtk-stack-set-vis ible-child On Wed, 2015-07-29 at 19:43 +0200, Alfredo Pons wrote: > The transtions between GtkStacks are very beautifuls. > Can I change pages from the source code without user intera

Re: gtk-3.16: GtkStackSideBar & GtkStack - Change page from code (No user interaction)

2015-07-30 Thread Ben
You can use gtk_stack_set_visible_child() https://developer.gnome.org/gtk3/stable/GtkStack.html#gtk-stack-set-vis ible-child On Wed, 2015-07-29 at 19:43 +0200, Alfredo Pons wrote: > The transtions between GtkStacks are very beautifuls. > Can I change pages from the source code without user intera

gtk-3.16: GtkStackSideBar & GtkStack - Change page from code (No user interaction)

2015-07-30 Thread Alfredo Pons
The transtions between GtkStacks are very beautifuls. Can I change pages from the source code without user interaction? The idea is set hide the GtkStackSideBar and change pages from source code when some conditions are met. Than you. ___ gtk-list maili