a highly automated and intuitive digital audio workstation
No Matches
zrythm_app.h File Reference

The Zrythm GTK application. More...

#include <gtk/gtk.h>
#include <zix/sem.h>
Include dependency graph for zrythm_app.h:

Go to the source code of this file.

Data Structures

struct  ZrythmAppUiMessage
 UI message for the message queue. More...
struct  ZrythmApp
 The global struct. More...


#define ZRYTHM_APP_TYPE   (zrythm_app_get_type ())
#define ZRYTHM_APP_IS_GTK_THREAD    (zrythm_app && zrythm_app->gtk_thread == g_thread_self ())


typedef struct _SplashWindowWidget SplashWindowWidget
typedef struct _FirstRunAssistantWidget FirstRunAssistantWidget
typedef struct _ProjectAssistantWidget ProjectAssistantWidget
typedef struct _BugReportDialogWidget BugReportDialogWidget


 G_DECLARE_FINAL_TYPE (ZrythmApp, zrythm_app, ZRYTHM, APP, GtkApplication) typedef struct _MainWindowWidget MainWindowWidget
ZrythmAppUiMessagezrythm_app_ui_message_new (GtkMessageType type, const char *msg)
void zrythm_app_ui_message_free (ZrythmAppUiMessage *self)
ZrythmApp * zrythm_app_new (int argc, const char **argv)
 Creates the Zrythm GApplication.
void zrythm_app_set_progress_status (ZrythmApp *self, const char *text, const double perc)
 Sets the current status and progress percentage during loading.
void zrythm_app_set_font_scale (ZrythmApp *self, double font_scale)
void zrythm_app_check_for_updates (ZrythmApp *self)
 Handles the logic for checking for updates on startup.
int zrythm_app_prompt_for_project_func (ZrythmApp *self)
 Unlike the init thread, this will run in the main GTK thread.
ZrythmApp ** zrythm_app_get (void)
 Returns a pointer to the global zrythm_app.
bool zrythm_app_check_and_show_trial_limit_error (ZrythmApp *self)
 Shows the trial limitation error message.


ZrythmApp * zrythm_app
 Global variable, should be available to all files.

Detailed Description

The Zrythm GTK application.

Definition in file zrythm_app.h.

Macro Definition Documentation


#define ZRYTHM_APP_TYPE   (zrythm_app_get_type ())

Definition at line 17 of file zrythm_app.h.

Typedef Documentation

◆ BugReportDialogWidget

typedef struct _BugReportDialogWidget BugReportDialogWidget

Definition at line 32 of file zrythm_app.h.

◆ FirstRunAssistantWidget

typedef struct _FirstRunAssistantWidget FirstRunAssistantWidget

Definition at line 30 of file zrythm_app.h.

◆ ProjectAssistantWidget

typedef struct _ProjectAssistantWidget ProjectAssistantWidget

Definition at line 31 of file zrythm_app.h.

◆ SplashWindowWidget

typedef struct _SplashWindowWidget SplashWindowWidget

Definition at line 29 of file zrythm_app.h.