|
Zrythm v2.0.0-DEV
a highly automated and intuitive digital audio workstation
|
A GtkNotebook that shows or hides itself when the same page tab is clicked. More...
#include <src/gui/backend/gtk_widgets/foldable_notebook.h>
Data Fields | |
| GtkBox | parent_instance |
| GtkNotebook * | notebook |
| GtkGestureClick * | mp |
| GtkPaned * | paned |
| Paned associated with this notebook to set it to max/min when hiding. | |
| GtkPositionType | pos_in_paned |
| Notebook position in the paned. | |
| int | prev_pos |
| Previous paned position before setting it to max/min. | |
| bool | with_text |
| Whether to add text to the tab labels (otherwise just icons). | |
| GtkWidget * | tab_during_press |
| Current tab during a press action. | |
| gulong | switch_page_handler_id |
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.
Definition at line 40 of file foldable_notebook.h.
| GtkGestureClick* FoldableNotebookWidget::mp |
Definition at line 46 of file foldable_notebook.h.
| GtkNotebook* FoldableNotebookWidget::notebook |
Definition at line 44 of file foldable_notebook.h.
| GtkPaned* FoldableNotebookWidget::paned |
Paned associated with this notebook to set it to max/min when hiding.
Definition at line 50 of file foldable_notebook.h.
| GtkBox FoldableNotebookWidget::parent_instance |
Definition at line 42 of file foldable_notebook.h.
| GtkPositionType FoldableNotebookWidget::pos_in_paned |
Notebook position in the paned.
Definition at line 53 of file foldable_notebook.h.
| int FoldableNotebookWidget::prev_pos |
Previous paned position before setting it to max/min.
Revealer position before hiding.
Definition at line 60 of file foldable_notebook.h.
| gulong FoldableNotebookWidget::switch_page_handler_id |
Definition at line 74 of file foldable_notebook.h.
| GtkWidget* FoldableNotebookWidget::tab_during_press |
Current tab during a press action.
Used to check if the same tab is active on release in order to hide the tab.
Definition at line 72 of file foldable_notebook.h.
| bool FoldableNotebookWidget::with_text |
Whether to add text to the tab labels (otherwise just icons).
Definition at line 64 of file foldable_notebook.h.