plugins/plugin_gtk.h file

Contents

GTK window management for plugin UIs.

Classes

struct PluginGtkController
Widget for a control.

Typedefs

using PluginGtkController = struct PluginGtkController
Widget for a control.

Functions

void plugin_gtk_create_window(Plugin* plugin)
Creates a new GtkWindow that will be used to either wrap plugin UIs or create generic UIs in.
void plugin_gtk_close_window(Plugin* plugin)
Closes the window of the plugin.
auto plugin_gtk_setup_plugin_banks_combo_box(GtkComboBoxText* cb, Plugin* plugin) -> bool
Sets up the combo box with all the banks the plugin has.
auto plugin_gtk_setup_plugin_presets_combo_box(GtkComboBoxText* cb, Plugin* plugin) -> bool
Sets up the combo box with all the presets the plugin has in the given bank, or all the presets if NULL is given.
auto plugin_gtk_new_label(const char* text, bool title, bool preformatted, float xalign, float yalign) -> GtkWidget*
Creates a label for a control.