Home | Trees | Index | Help |
|
---|
Package aldrin :: Module main :: Class AldrinFrame |
|
object
--+ |Interface
--+ |IMainFrame
--+ |object
--+ | | |Object
--+ | | |EvtHandler
--+ | | |Window
--+ | | |TopLevelWindow
--+ | | |Frame
--+ | AldrinFrame
Method Summary | |
---|---|
Initializer. | |
Adds a handler for when a tool is being clicked by the user. | |
int |
Adds a new menuitem to the tools menu and returns the identifier. |
int |
Adds a new submenu to the tools menu and returns the identifier. |
Adds a new tool to the toolbar. | |
Clears the current document. | |
Event handler triggered when the document has changed. | |
Returns the active panel view. | |
wx.Window |
Returns the window object associated with the mainframe. |
Initializes the lunar dsp scripting system | |
Called to load view settings from config | |
Event handler triggered by the "New" menu option. | |
Event handler triggered by the "About" menu option. | |
Event handler triggered when the window is being closed. | |
Called when the cpu monitor is closed manually. | |
Called when the hd recorder is closed manually. | |
Sent when the copy function is selected from the menu. | |
Sent when the cut function is selected from the menu. | |
Event handler triggered when the window is being destroyed. | |
Event handler triggered by the "Exit" menu option. | |
Event handler that resizes the client panels, when the main window is being resized. | |
Handler triggered by the default timer. | |
Event handler triggered by the help menu option. | |
Event handler for key events. | |
Event handler triggered by the "Open File" menu option. | |
Sent when the paste function is selected from the menu. | |
Event handler triggered by the "Preferences" menu option. | |
Event handler triggered by the "Save" menu option. | |
Event handler triggered by the "Save As" menu option. | |
Event handler for theme radio menu items. | |
handler triggered by the record toolbar button. | |
Handler triggered by the f7 accellerator. | |
Handler triggered by the "Toggle CPU Monitor" menu option. | |
Handler triggered by the "Toggle Hard Disk Recorder" menu option. | |
Handler triggered by the loop toolbar button. | |
Handler triggered by the "Toggle Master Toolbar" menu option. | |
Handler triggered by the mute toolbar button. | |
Handler triggered by the f12 accellerator. | |
Handler triggered by the "Toggle Status Bar" menu option. | |
Handler triggered by the "Toggle Time Toolbar" menu option. | |
Handler triggered by the "Toggle Default" menu option. | |
Shows the open file dialog and if successful, loads the selected song from disk. | |
Loads a song from disk. | |
Event handler triggered by recent file menu options. | |
Event handler triggered by the "Play" toolbar button. | |
Event handler triggered by the F6 key. | |
Default callback for ui events sent by zzub. | |
Shows a save file dialog if filename is unknown and saves the file. | |
Shows a save file dialog and saves the file. | |
Asks whether to save changes or not. | |
Saves a song to disk. | |
Called to store view settings to config | |
Selects a client panel. | |
Event handler triggered by the "Info" toolbar button. | |
Event handler triggered by the "Machines" toolbar button. | |
Shows or hides the mastertoolbar. | |
Event handler triggered by the "Patterns" toolbar button. | |
Event handler triggered by the "Sequencer" toolbar button. | |
Shows or hides the status bar. | |
Shows or hides the timetoolbar. | |
Shows or hides the toolbar. | |
Event handler triggered by the "Wavetable" toolbar button. | |
Event handler triggered by the "Stop" toolbar button. | |
Updates the most recent files in the file menu. | |
Updates the title to display the filename of the currently loaded document. | |
Called to update all viewstates. | |
Inherited from Interface | |
Returns a protected proxy object that only exports methods defined in interfaces. | |
Returns all supported interfaces. | |
Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
helper for pickle | |
helper for pickle | |
x.__setattr__('name', value) <==> x.name = value | |
x.__str__() <==> str(x) |
Class Variable Summary | |
---|---|
int |
ABOUT = 8838 |
int |
CONTENTS = 5009 |
int |
COPY = 5031 |
int |
CUT = 5030 |
str |
DEFAULT_EXTENSION = '.ccm'
|
dict |
event_to_name = {0: 'zzub_event_type_double_click', 1: '...
|
int |
EXIT = 5006 |
str |
filename = ''
|
int |
i = 31 |
int |
INFO = 8849 |
int |
LOOP = 8847 |
int |
MACHINES = 8840 |
int |
MENUITEMBASE = 8980 |
int |
NEW = 5002 |
int |
nextmenuitemid = 8980 |
int |
nexttoolid = 9012 |
int |
OPEN = 5000 |
int |
PAGE_INFO = 4 |
int |
PAGE_PATTERN = 0 |
int |
PAGE_ROUTE = 1 |
int |
PAGE_SEQUENCER = 2 |
int |
PAGE_WAVETABLE = 3 |
int |
PANIC = 8850 |
int |
PANIC_ACCEL = 8851 |
int |
PASTE = 5032 |
int |
PATTERNS = 8839 |
int |
PLAY = 8842 |
int |
PLAY_FROM_CURSOR = 8843 |
int |
PREFERENCES = 8836 |
int |
RECENTFILE = 5050 |
int |
RECORD = 8844 |
int |
RECORD_ACCEL = 8845 |
int |
SAVE = 5003 |
int |
SAVE_AS = 5004 |
str |
SAVE_SONG_WILDCARD = 'CCM Songs (*.ccm)|*.ccm'
|
int |
SEQUENCER = 8841 |
str |
SONG_WILDCARD = 'All songs (*.ccm,*.bmw,*.bmx)|*.ccm;*.b...
|
int |
STOP = 8846 |
int |
THEMEBASE = 8852 |
int |
THEMES = 8835 |
str |
title = 'Aldrin'
|
int |
TOGGLE_CPU_MONITOR = 8828 |
int |
TOGGLE_HARD_DISK_RECORDER = 8829 |
int |
TOGGLE_MASTER = 8830 |
int |
TOGGLE_SKINS = 8833 |
int |
TOGGLE_STANDARD = 8834 |
int |
TOGGLE_STATUS_BAR = 8831 |
int |
TOGGLE_TIME = 8832 |
int |
TOOLBASE = 9012 |
int |
TOTD = 8837 |
int |
WAVETABLE = 8848 |
str |
x = 'zzub_wavetable_index_value_none'
|
Instance Method Details |
---|
__init__(self,
*args,
**kwds)
Initializer.
|
add_click_handler(self, toolid, func)Adds a handler for when a tool is being clicked by the user.
|
add_menuitem(self, label, description='', kind=0)Adds a new menuitem to the tools menu and returns the identifier.
|
add_submenu(self, label, submenu, description='')Adds a new submenu to the tools menu and returns the identifier.
|
add_tool_button(self, label, bitmap1, bitmap2=wxPython wrapper for UNBORN object! (The C++ object is no..., kind=0, tooltip='', description='')Adds a new tool to the toolbar.
|
clear(self)Clears the current document. |
document_changed(self)Event handler triggered when the document has changed. You should call this on occasions where the entire document has changed, else there are specialized handlers in the panel classes. |
get_active_view(self)Returns the active panel view. |
get_window(self)Returns the window object associated with the mainframe.
|
init_lunar(self)Initializes the lunar dsp scripting system |
load_view(self)Called to load view settings from config |
new(self, event)Event handler triggered by the "New" menu option.
|
on_about(self, event)Event handler triggered by the "About" menu option.
|
on_close(self, event)Event handler triggered when the window is being closed.
|
on_close_cpumonitor(self, event)Called when the cpu monitor is closed manually.
|
on_close_hdrecorder(self, event)Called when the hd recorder is closed manually.
|
on_copy(self, event)Sent when the copy function is selected from the menu.
|
on_cut(self, event)Sent when the cut function is selected from the menu.
|
on_destroy(self, event)Event handler triggered when the window is being destroyed.
|
on_exit(self, event)Event handler triggered by the "Exit" menu option.
|
on_framepanel_size(self, event)Event handler that resizes the client panels, when the main window is being resized.
|
on_handle_events(self, event)Handler triggered by the default timer. Calls player.handle_events() to work off the players message queue.
|
on_help_contents(self, event)Event handler triggered by the help menu option.
|
on_key_down(self, event)Event handler for key events.
|
on_open(self, event)Event handler triggered by the "Open File" menu option.
|
on_paste(self, event)Sent when the paste function is selected from the menu.
|
on_preferences(self, event)Event handler triggered by the "Preferences" menu option.
|
on_save(self, event)Event handler triggered by the "Save" menu option.
|
on_save_as(self, event)Event handler triggered by the "Save As" menu option.
|
on_select_theme(self, event)Event handler for theme radio menu items.
|
on_toggle_automation(self, event)handler triggered by the record toolbar button. Decides whether changes to parameters are recorded or not.
|
on_toggle_automation_accel(self, event)Handler triggered by the f7 accellerator. Enables/disables automation. @param event command event.
|
on_toggle_cpu_monitor(self, event)Handler triggered by the "Toggle CPU Monitor" menu option. Shows and hides the CPU Monitor panel.
|
on_toggle_hard_disk_recorder(self, event)Handler triggered by the "Toggle Hard Disk Recorder" menu option. Shows and hides the Hard Disk Recorder panel.
|
on_toggle_loop(self, event)Handler triggered by the loop toolbar button. Decides whether the song loops or not. @param event command event.
|
on_toggle_mastertoolbar(self, event)Handler triggered by the "Toggle Master Toolbar" menu option. Shows and hides the master toolbar.
|
on_toggle_panic(self, event)Handler triggered by the mute toolbar button. Deinits/reinits sound device. @param event command event.
|
on_toggle_panic_accel(self, event)Handler triggered by the f12 accellerator. Deinits/reinits sound device. @param event command event.
|
on_toggle_statusbar(self, event)Handler triggered by the "Toggle Status Bar" menu option. Shows and hides the status bar.
|
on_toggle_timetoolbar(self, event)Handler triggered by the "Toggle Time Toolbar" menu option. Shows and hides the time toolbar.
|
on_toggle_toolbar(self, event)Handler triggered by the "Toggle Default" menu option. Shows and hides the toolbar.
|
open(self)Shows the open file dialog and if successful, loads the selected song from disk. |
open_file(self, filename)Loads a song from disk. The old document will be wiped, and the song will be added to the recent file list.
|
open_recent_file(self, event)Event handler triggered by recent file menu options.
|
play(self, event)Event handler triggered by the "Play" toolbar button.
|
play_from_cursor(self, event)Event handler triggered by the F6 key.
|
player_callback(self, player, plugin, data)Default callback for ui events sent by zzub.
|
save(self)Shows a save file dialog if filename is unknown and saves the file. |
save_as(self)Shows a save file dialog and saves the file. |
save_changes(self)Asks whether to save changes or not. Throws a {CancelException} if cancelled. |
save_file(self, filename)Saves a song to disk. The document will also be added to the recent file list.
|
save_view(self)Called to store view settings to config |
select_page(self, index)Selects a client panel. If the client panel has a view attribute, that view attribute is being interpreted as a window and will be focused, else the panel itself will be focused.
|
show_info(self, event)Event handler triggered by the "Info" toolbar button.
|
show_machines(self, event)Event handler triggered by the "Machines" toolbar button.
|
show_mastertoolbar(self, enable)Shows or hides the mastertoolbar.
|
show_patterns(self, event)Event handler triggered by the "Patterns" toolbar button.
|
show_sequencer(self, event)Event handler triggered by the "Sequencer" toolbar button.
|
show_statusbar(self, enable)Shows or hides the status bar.
|
show_timetoolbar(self, enable)Shows or hides the timetoolbar.
|
show_toolbar(self, enable)Shows or hides the toolbar.
|
show_wavetable(self, event)Event handler triggered by the "Wavetable" toolbar button.
|
stop(self, event)Event handler triggered by the "Stop" toolbar button.
|
update_filemenu(self, event=None)Updates the most recent files in the file menu.
|
update_title(self)Updates the title to display the filename of the currently loaded document. |
update_view(self)Called to update all viewstates. |
Class Variable Details |
---|
ABOUT
|
CONTENTS
|
COPY
|
CUT
|
DEFAULT_EXTENSION
|
EXIT
|
filename
|
i
|
INFO
|
LOOP
|
MACHINES
|
MENUITEMBASE
|
NEW
|
nextmenuitemid
|
nexttoolid
|
OPEN
|
PAGE_INFO
|
PAGE_PATTERN
|
PAGE_ROUTE
|
PAGE_SEQUENCER
|
PAGE_WAVETABLE
|
PANIC
|
PANIC_ACCEL
|
PASTE
|
PATTERNS
|
PLAY
|
PLAY_FROM_CURSOR
|
PREFERENCES
|
RECENTFILE
|
RECORD
|
RECORD_ACCEL
|
SAVE
|
SAVE_AS
|
SAVE_SONG_WILDCARD
|
SEQUENCER
|
SONG_WILDCARD
|
STOP
|
THEMEBASE
|
THEMES
|
title
|
TOGGLE_CPU_MONITOR
|
TOGGLE_HARD_DISK_RECORDER
|
TOGGLE_MASTER
|
TOGGLE_SKINS
|
TOGGLE_STANDARD
|
TOGGLE_STATUS_BAR
|
TOGGLE_TIME
|
TOOLBASE
|
TOTD
|
WAVETABLE
|
x
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Sun Feb 4 18:01:15 2007 | http://epydoc.sf.net |