actions/midi_functions.h file

Contents

MIDI functions.

Functions

void button_with_menu_widget_setup(ButtonWithMenuWidget* self, GtkButton* btn, GtkMenu* menu, GMenuModel* gmenu_model, bool downward_arrow, int height, const char* btn_tooltip_text, const char* menu_tooltip_text)
This must only be called once to set up the widget.

Function documentation

void button_with_menu_widget_setup(ButtonWithMenuWidget* self, GtkButton* btn, GtkMenu* menu, GMenuModel* gmenu_model, bool downward_arrow, int height, const char* btn_tooltip_text, const char* menu_tooltip_text)

This must only be called once to set up the widget.

Parameters
self
btn The main button.
menu Optional GMenuModel to set for the arrow button.
gmenu_model
downward_arrow
height
btn_tooltip_text
menu_tooltip_text