Documentation wrongly states `NotebookPages` as implementing the `SelectionModel` interface
The docs state that the object returned by gtk_notebook_get_pages
implements the SelectionModel
interface, but this is not true:
Steps to reproduce
GtkWidget* notebook;
notebook = gtk_notebook_new();
printf("%b\n", GTK_IS_SELECTION_MODEL(gtk_notebook_get_pages(GTK_NOTEBOOK(notebook))));
0
Tested on GTK 4.8.3, on fedora linux.
As stated on discourse, the docs should be updated to reflect that users should use Notebook
s switch-page
signal to monitor selection, and that NotebookPages
is not a SelectionModel
.
Edited by Clem Cords