in Gtk4 I need to get the child widget of a GtkNotebook page and cannot figure out how to do it.
I can get the page number with gtk_notebook_get_current_page(), and this returns the index of the page, int value.
There is a function I found in help: GtkWidget* gtk_notebook_page_get_child (GtkNotebookPage* page); but it takes as parameter a pointer to GtkNotebookPage, while I only have the index of the page.
I could not find more in the help pages.
By child widget i mean the page content.
Isn’t it Gtk.Notebook.get_nth_page ?
Great! Thank you! Long live GTK! (for the min. 20 chars reply )
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.