BEAST/BSE - Better Audio System and Sound Engine  0.9.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 G_BEGIN_DECLS
8 
9 /* --- list popup dialog --- */
10 typedef void (*BstListPopupHandler) (GtkWidget *dialog,
11  gchar **strings,
12  gpointer user_data);
13 GtkWidget* bst_list_popup_new (const gchar *title,
14  GtkWidget *transient_parent,
15  BstListPopupHandler handler,
16  gpointer data,
17  GDestroyNotify destroy);
18 void bst_list_popup_add (GtkWidget *widget,
19  const gchar *string);
20 typedef void (*BstColorPopupHandler) (GtkWidget *dialog,
21  GdkColor *color,
22  gpointer user_data);
23 GtkWidget* bst_color_popup_new (const gchar *title,
24  GtkWidget *transient_parent,
25  GdkColor color,
26  BstColorPopupHandler handler,
27  gpointer data,
28  GDestroyNotify destroy);
29 gboolean bst_key_combo_valid (guint keyval,
30  GdkModifierType modifiers);
31 gboolean bst_key_combo_popup (const gchar *function,
32  guint *keyval,
33  GdkModifierType *modifier);
34 
35 
36 G_END_DECLS
37 
38 #endif /* __BST_AUX_DIALOGS_H__ */
const char * color(Colors acolor)