Beast - Music Synthesizer and Composer  0.11.1+10.g2da35
bstparamview.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_PARAM_VIEW_H__
3 #define __BST_PARAM_VIEW_H__
4 
5 #include "bstutils.hh"
6 
7 /* --- type macros --- */
8 #define BST_TYPE_PARAM_VIEW (bst_param_view_get_type ())
9 #define BST_PARAM_VIEW(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), BST_TYPE_PARAM_VIEW, BstParamView))
10 #define BST_PARAM_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BST_TYPE_PARAM_VIEW, BstParamViewClass))
11 #define BST_IS_PARAM_VIEW(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), BST_TYPE_PARAM_VIEW))
12 #define BST_IS_PARAM_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BST_TYPE_PARAM_VIEW))
13 #define BST_PARAM_VIEW_GET_CLASS(object) (G_TYPE_INSTANCE_GET_CLASS ((object), BST_TYPE_PARAM_VIEW, BstParamViewClass))
14 
15 
16 /* --- structures & typedefs --- */
17 typedef struct _BstParamView BstParamView;
18 typedef struct _BstParamViewClass BstParamViewClass;
20 {
21  GtkVBox parent_object;
22 
23  SfiProxy item;
24 
25  GSList *params; /* GxkParam* */
26 
27  gchar *first_base_type;
28  gchar *last_base_type;
29  GPatternSpec *reject_pattern;
30  GPatternSpec *match_pattern;
31 };
33 {
34  GtkVBoxClass parent_class;
35 };
36 
37 
38 /* --- prototypes --- */
39 GType bst_param_view_get_type (void);
40 GtkWidget* bst_param_view_new (SfiProxy item);
41 void bst_param_view_rebuild (BstParamView *param_view);
42 void bst_param_view_apply_defaults (BstParamView *param_view);
43 void bst_param_view_set_item (BstParamView *param_view,
44  SfiProxy item);
45 void bst_param_view_set_mask (BstParamView *param_view,
46  const gchar *first_base_type,
47  const gchar *last_base_type,
48  const gchar *reject_pattern,
49  const gchar *match_pattern);
50 
51 
52 
53 #endif /* __BST_PARAM_VIEW_H__ */
Definition: bstparamview.hh:32
Definition: bstparamview.hh:19