2 #ifndef __BST_PATTERN_VIEW_H__
3 #define __BST_PATTERN_VIEW_H__
10 #define BST_TYPE_PATTERN_VIEW (bst_pattern_view_get_type ())
11 #define BST_PATTERN_VIEW(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), BST_TYPE_PATTERN_VIEW, BstPatternView))
12 #define BST_PATTERN_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BST_TYPE_PATTERN_VIEW, BstPatternViewClass))
13 #define BST_IS_PATTERN_VIEW(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), BST_TYPE_PATTERN_VIEW))
14 #define BST_IS_PATTERN_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BST_TYPE_PATTERN_VIEW))
15 #define BST_PATTERN_VIEW_GET_CLASS(object) (G_TYPE_INSTANCE_GET_CLASS ((object), BST_TYPE_PATTERN_VIEW, BstPatternViewClass))
26 BST_PATTERN_VIEW_MARKER_NONE,
27 BST_PATTERN_VIEW_MARKER_FOCUS,
28 } BstPatternViewMarkerType;
30 GXK_SCROLL_CANVAS_DRAG_FIELDS;
42 BstPatternView *pview;
46 GxkScrollCanvas parent_instance;
59 BstPatternColumn **cols;
66 BstPatternColumn **focus_cols;
82 void (*drag) (BstPatternView *
self,
84 void (*clicked) (BstPatternView *tview,
93 GType bst_pattern_view_get_type (
void);
94 void bst_pattern_view_set_proxy (BstPatternView *
self,
96 void bst_pattern_view_vsetup (BstPatternView *
self,
101 void bst_pattern_view_set_shading (BstPatternView *
self,
106 void bst_pattern_view_set_marker (BstPatternView *
self,
109 BstPatternViewMarkerType mtype);
110 void bst_pattern_view_set_pixmarker (BstPatternView *
self,
112 BstPatternViewMarkerType mtype,
117 void bst_pattern_view_add_column (BstPatternView *
self,
118 BstPatternLType ltype,
120 BstPatternLFlags lflags);
121 void bst_pattern_view_set_focus (BstPatternView *
self,
int focus_col,
int focus_row);
122 gint bst_pattern_view_get_focus_width (BstPatternView *
self);
123 BstPatternColumn* bst_pattern_view_get_focus_cell (BstPatternView *
self,
int *tick,
int *duration);
124 gboolean bst_pattern_view_dispatch_key (BstPatternView *
self,
126 GdkModifierType modifier,
127 BstPatternFunction action,
129 BstPatternFunction *movement);
130 gint bst_pattern_view_get_last_row (BstPatternView *
self);
131 const gchar* bst_pattern_view_get_layout (BstPatternView *
self);
132 guint bst_pattern_view_set_layout (BstPatternView *
self,
133 const gchar *layout);
Definition: bstpatternview.hh:29
Definition: bstpatternview.hh:78
Definition: bstpatternview.hh:44