Beast - Music Synthesizer and Composer  0.11.1+10.g2da35
bstauxdialogs.hh
Go to the documentation of this file.
1  // Licensed GNU LGPL v2.1 or later: http://www.gnu.org/licenses/lgpl.html
2 #ifndef __BST_AUX_DIALOGS_H__
3 #define __BST_AUX_DIALOGS_H__
4 
5 #include "bstutils.hh"
6 
7 /* --- list popup dialog --- */
8 typedef void (*BstListPopupHandler) (GtkWidget *dialog,
9  gchar **strings,
10  gpointer user_data);
11 GtkWidget* bst_list_popup_new (const gchar *title,
12  GtkWidget *transient_parent,
13  BstListPopupHandler handler,
14  gpointer data,
15  GDestroyNotify destroy);
16 void bst_list_popup_add (GtkWidget *widget,
17  const gchar *string);
18 typedef void (*BstColorPopupHandler) (GtkWidget *dialog,
19  GdkColor *color,
20  gpointer user_data);
21 GtkWidget* bst_color_popup_new (const gchar *title,
22  GtkWidget *transient_parent,
23  GdkColor color,
24  BstColorPopupHandler handler,
25  gpointer data,
26  GDestroyNotify destroy);
27 gboolean bst_key_combo_valid (guint keyval,
28  GdkModifierType modifiers);
29 gboolean bst_key_combo_popup (const gchar *function,
30  guint *keyval,
31  GdkModifierType *modifier);
32 
33 
34 #endif /* __BST_AUX_DIALOGS_H__ */
const char * color(Colors acolor)