_ZrythmApp struct

The global struct.

Contents

Contains data that is only relevant to the GUI and not to Zrythm.

Public variables

GtkSettings* default_settings
Default settings (got from gtk_settings_get_default()).
MainWindowWidget* main_window
Main window.
GThread* gtk_thread
The GTK thread where the main GUI loop runs.
GThread* init_thread
Initialization thread.
ZixSem progress_status_lock
Semaphore for setting the progress in the splash screen from a non-gtk thread.
bool init_finished
Flag to set when initialization has finished.
char status
Status text to be used in the splash screen.
SplashWindowWidget* splash
Splash screen.
FirstRunAssistantWidget* first_run_assistant
First run wizard.
ProjectAssistantWidget* assistant
Project selector.
char* audio_backend
Audio backend passed with –audio-backend=, if any.
char* midi_backend
MIDI backend passed with –audio-backend=, if any.
char* buf_size
Buffer size passed with –buf-size=, if any.

Variable documentation

GThread* _ZrythmApp::gtk_thread

The GTK thread where the main GUI loop runs.

This is stored for identification purposes in other threads.