Zrythm
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
lv2_gtk.h File Reference

LV2 plugin window. More...

#include <stdint.h>
#include <gtk/gtk.h>
#include <lilv/lilv.h>
Include dependency graph for lv2_gtk.h:

Go to the source code of this file.

Typedefs

typedef struct Lv2Control Lv2Control
 
typedef struct PluginGtkPresetMenu PluginGtkPresetMenu
 

Functions

void lv2_gtk_ui_port_event (Lv2Plugin *plugin, uint32_t port_index, uint32_t buffer_size, uint32_t protocol, const void *buffer)
 Called when there is a UI port event from the plugin.
 
void lv2_gtk_set_float_control (Lv2Plugin *lv2_plugin, Port *port, float value)
 Called by generic UI callbacks when e.g.
 
int lv2_gtk_open_ui (Lv2Plugin *plugin)
 Opens the LV2 plugin's UI (either wrapped with suil or external).
 
void lv2_gtk_on_save_preset_activate (GtkWidget *widget, Lv2Plugin *plugin, const char *path, const char *uri, bool add_prefix)
 Called by plugin_gtk_on_save_preset_activate() on accept.
 
GtkWidget * lv2_gtk_build_control_widget (Lv2Plugin *plugin, GtkWindow *window)
 
void lv2_gtk_on_delete_preset_activate (GtkWidget *widget, Lv2Plugin *plugin)
 

Detailed Description

LV2 plugin window.

Definition in file lv2_gtk.h.

Typedef Documentation

◆ Lv2Control

typedef struct Lv2Control Lv2Control

Definition at line 32 of file lv2_gtk.h.

◆ PluginGtkPresetMenu

typedef struct PluginGtkPresetMenu PluginGtkPresetMenu

Definition at line 33 of file lv2_gtk.h.