_FoldableNotebookWidget struct

A GtkNotebook that shows or hides itself when the same page tab is clicked.


It assumes that each page is wrapped in a GtkBox. The reason is that Gtk automatically hides the tab widget too if you hide the main child of a page, so we hide the box's child instead.

Public variables

GtkPaned* paned
Paned associated with this notebook to set it to max/min when hiding.
GtkPositionType pos_in_paned
Notebook position in the paned.