BEAST/BSE - Better Audio System and Sound Engine  0.8.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
bstauxdialogs.hh
Go to the documentation of this file.
00001  // Licensed GNU LGPL v2.1 or later: http://www.gnu.org/licenses/lgpl.html
00002 #ifndef __BST_AUX_DIALOGS_H__
00003 #define __BST_AUX_DIALOGS_H__
00004 
00005 #include "bstutils.hh"
00006 
00007 G_BEGIN_DECLS
00008 
00009 /* --- list popup dialog --- */
00010 typedef void (*BstListPopupHandler)  (GtkWidget              *dialog,
00011                                       gchar                 **strings,
00012                                       gpointer                user_data);
00013 GtkWidget*     bst_list_popup_new    (const gchar            *title,
00014                                       GtkWidget              *transient_parent,
00015                                       BstListPopupHandler     handler,
00016                                       gpointer                data,
00017                                       GDestroyNotify          destroy);
00018 void           bst_list_popup_add    (GtkWidget              *widget,
00019                                       const gchar            *string);
00020 typedef void (*BstColorPopupHandler) (GtkWidget              *dialog,
00021                                       GdkColor               *color,
00022                                       gpointer                user_data);
00023 GtkWidget*     bst_color_popup_new   (const gchar            *title,
00024                                       GtkWidget              *transient_parent,
00025                                       GdkColor                color,
00026                                       BstColorPopupHandler    handler,
00027                                       gpointer                data,
00028                                       GDestroyNotify          destroy);
00029 gboolean       bst_key_combo_valid   (guint                   keyval,
00030                                       GdkModifierType         modifiers);
00031 gboolean       bst_key_combo_popup   (const gchar            *function,
00032                                       guint                  *keyval,
00033                                       GdkModifierType        *modifier);
00034 
00035 
00036 G_END_DECLS
00037 
00038 #endif /* __BST_AUX_DIALOGS_H__ */
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines