![]() |
![]() |
![]() |
Buzztard Bt-Edit Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces |
#include "bt-edit.h" struct BtPatternListModel; BtPattern * bt_pattern_list_model_get_object (BtPatternListModel *model
,GtkTreeIter *iter
); BtPatternListModel * bt_pattern_list_model_new (BtMachine *machine
,BtSequence *sequence
,gboolean skip_internal
);
A generic model representing the patterns of a machine, suitable for combo-boxes and treeview widgets.
BtPattern * bt_pattern_list_model_get_object (BtPatternListModel *model
,GtkTreeIter *iter
);
The the BtPattern for the iter.
|
the model |
|
the iter |
BtPatternListModel * bt_pattern_list_model_new (BtMachine *machine
,BtSequence *sequence
,gboolean skip_internal
);
Creates a list model of patterns for the machne
. The model is automatically
updated when patterns are added, removed or changed. The sequence
is used to
track the use of patterns.
|
the machine |
|
the sequence |
|
wheter to include internal patterns or not |
Returns : |
the pattern model. |