file
plugin_gtk.hGTK 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_open_generic_ui(Plugin* plugin, bool fire_events)
- Opens the generic UI of the plugin.
- auto plugin_gtk_update_plugin_ui(Plugin* pl) -> NONNULL int
- Called on each GUI frame to update the GTK UI.
- auto plugin_gtk_close_ui(Plugin* plugin) -> int
- Closes the plugin's UI (either LV2 wrapped with suil, generic or LV2 external).
- 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_list_box(GtkListBox* box, 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.
- void plugin_gtk_generic_set_widget_value(Plugin* pl, PluginGtkController* controller, uint32_t size, LV2_URID type, const void* body)
- Called when a property changed or when there is a UI port event to set (update) the widget's value.