Zrythm
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
scripting_dialog.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: © 2020 Alexandros Theodotou <alex@zrythm.org>
2// SPDX-License-Identifier: LicenseRef-ZrythmLicense
3
10#ifndef __GUI_WIDGETS_SCRIPTING_DIALOG_H__
11#define __GUI_WIDGETS_SCRIPTING_DIALOG_H__
12
13#include <adwaita.h>
14#include <gtk/gtk.h>
15
16#pragma GCC diagnostic push
17#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
18#include <gtksourceview/gtksource.h>
19#pragma GCC diagnostic pop
20
21#define SCRIPTING_DIALOG_WIDGET_TYPE (scripting_dialog_widget_get_type ())
22G_DECLARE_FINAL_TYPE (
23 ScriptingDialogWidget,
24 scripting_dialog_widget,
25 Z,
26 SCRIPTING_DIALOG_WIDGET,
27 GtkDialog)
28
29
38typedef struct _ScriptingDialogWidget
39{
40 GtkDialog parent_instance;
41
42 AdwComboRow * lang_select_combo_row;
43
44 GtkButton * execute_btn;
45 GtkLabel * output;
46 GtkViewport * source_viewport;
47 GtkSourceView * editor;
48 GtkSourceBuffer * buffer;
49} ScriptingDialogWidget;
50
54ScriptingDialogWidget *
56
61#endif
ScriptingDialogWidget * scripting_dialog_widget_new(void)
Creates a bounce dialog.