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

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

#include <stdbool.h>
#include <gtk/gtk.h>
Include dependency graph for button_with_menu.h:

Go to the source code of this file.

Macros

#define BUTTON_WITH_MENU_WIDGET_TYPE   (button_with_menu_widget_get_type ())
 

Functions

void button_with_menu_widget_set_menu_model (ButtonWithMenuWidget *self, GMenuModel *gmenu_model)
 
void button_with_menu_widget_set_popover (ButtonWithMenuWidget *self, GtkPopover *popover)
 Set a custom popover instead of a menu model.
 
void button_with_menu_widget_setup (ButtonWithMenuWidget *self, GtkButton *btn, 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.
 
ButtonWithMenuWidget * button_with_menu_widget_new (void)
 

Variables

 ButtonWithMenuWidget
 

Detailed Description

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

Definition in file button_with_menu.h.

Macro Definition Documentation

◆ BUTTON_WITH_MENU_WIDGET_TYPE

#define BUTTON_WITH_MENU_WIDGET_TYPE   (button_with_menu_widget_get_type ())

Definition at line 20 of file button_with_menu.h.