![]() |
![]() |
![]() |
Buzztard Bt-Edit Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces | Properties |
#include "bt-edit.h" BtMainPagePatterns; BtMainPagePatterns * bt_main_page_patterns_new (const BtEditApplication *app, const BtMainPages *pages); BtMachine * bt_main_page_patterns_get_current_machine (const BtMainPagePatterns *self); BtPattern * bt_main_page_patterns_get_current_pattern (const BtMainPagePatterns *self); void bt_main_page_patterns_show_pattern (const BtMainPagePatterns *self, BtPattern *pattern); void bt_main_page_patterns_show_machine (const BtMainPagePatterns *self, BtMachine *machine);
GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBox +----GtkVBox +----BtMainPagePatterns
BtMainPagePatterns implements AtkImplementorIface, GtkBuildable and GtkOrientable.
typedef struct _BtMainPagePatterns BtMainPagePatterns;
the pattern page for the editor application
BtMainPagePatterns * bt_main_page_patterns_new (const BtEditApplication *app, const BtMainPages *pages);
Create a new instance
|
the application the window belongs to |
|
the page collection |
Returns : |
the new instance or NULL in case of an error
|
BtMachine * bt_main_page_patterns_get_current_machine (const BtMainPagePatterns *self);
Get the currently active BtMachine as determined by the machine option menu in the toolbar. Unref the machine, when done with it.
|
the pattern subpage |
Returns : |
the BtMachine instance or NULL in case of an error
|
BtPattern * bt_main_page_patterns_get_current_pattern (const BtMainPagePatterns *self);
Get the currently active BtPattern as determined by the pattern option menu in the toolbar. Unref the pattern, when done with it.
|
the pattern subpage |
Returns : |
the BtPattern instance or NULL in case of an error
|
void bt_main_page_patterns_show_pattern (const BtMainPagePatterns *self, BtPattern *pattern);
Show the given pattern
. Will update machine and pattern menu.
|
the pattern subpage |
|
the pattern to show |
void bt_main_page_patterns_show_machine (const BtMainPagePatterns *self, BtMachine *machine);
Show the given machine
. Will update machine menu.
|
the pattern subpage |
|
the machine to show |
"app"
property"app" BtEditApplication* : Read / Write / Construct Only
Set application object, the window belongs to.