Op 02/02/2018 om 10:33 PM schreef Alexander Koeppe: > I'm looking for a way to switch between the pages of a GtkNotebook using > e.g. <Ctrl>Left and <Ctrl>Right.
What have you tried so far, do you have a basic example, what part did you get stuck on? > I searched the documentation from different angels but didn't found a > obvious way how to accomplish that. I don't think adding accelerators to the labels is an option. Notebook pages are indexed from 0 and you can retrieve the index with gtk_notebook_get_current_page. Then de/increment with 1 and use gtk_notebook_set_current_page. Read up on [1] for the details on getting/settings notebook pages. ~infirit [1] https://developer.gnome.org/gtk3/stable/GtkNotebook.html _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list