gui/widgets/button_with_menu.h file

Contents

Button with an arrow on the right side for a menu.

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.