Zrythm v2.0.0-DEV
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
main_notebook.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: © 2021-2022 Alexandros Theodotou <alex@zrythm.org>
2// SPDX-License-Identifier: LicenseRef-ZrythmLicense
3
9
10#ifndef __GUI_WIDGETS_MAIN_NOTEBOOK_H__
11#define __GUI_WIDGETS_MAIN_NOTEBOOK_H__
12
13#include "common/utils/types.h"
15#include "gui/backend/gtk_widgets/gtk_wrapper.h"
16
17#define MAIN_NOTEBOOK_WIDGET_TYPE (main_notebook_widget_get_type ())
18G_DECLARE_FINAL_TYPE (
20 main_notebook_widget,
21 Z,
22 MAIN_NOTEBOOK_WIDGET,
23 GtkWidget)
24
25TYPEDEF_STRUCT_UNDERSCORED (TimelinePanelWidget);
26TYPEDEF_STRUCT_UNDERSCORED (EventViewerWidget);
27TYPEDEF_STRUCT_UNDERSCORED (CcBindingsWidget);
28TYPEDEF_STRUCT_UNDERSCORED (PortConnectionsWidget);
29TYPEDEF_STRUCT_UNDERSCORED (PanelFrame);
30
36
37#define MW_MAIN_NOTEBOOK MW_CENTER_DOCK->main_notebook
38
39typedef struct _MainNotebookWidget
40{
41 GtkWidget parent_instance;
42
43 PanelFrame * panel_frame;
44
47 TimelinePanelWidget * timeline_panel;
48 EventViewerWidget * event_viewer;
49
50 GtkBox * cc_bindings_box;
51 CcBindingsWidget * cc_bindings;
52
53 GtkBox * port_connections_box;
54 PortConnectionsWidget * port_connections;
55
56 GtkBox * scenes_box;
58
59void
60main_notebook_widget_setup (MainNotebookWidget * self);
61
62void
63main_notebook_widget_refresh (MainNotebookWidget * self);
64
68void
70
74
75#endif
A foldable GtkNotebook.
void main_notebook_widget_tear_down(MainNotebookWidget *self)
Prepare for finalization.
GtkPaned * timeline_plus_event_viewer_paned
Event viewr + timeline panel.