| Home | Trees | Index | Help |
|
|---|
| Package aldrin :: Module sequencer :: Class SequencerView |
|
object--+ |Object--+ |EvtHandler--+ |Window--+ |Canvas--+ | SequencerView
| Method Summary | |
|---|---|
Initialization. | |
Deletes pattern at cursor. | |
Deselects the current selection. | |
Overriding a Canvas method that paints onto an offscreen
buffer. | |
Get the last visible row. | |
| (zzub.Metaplugin, int) |
Gets the pattern and machine given a sequencer track and row. |
Inserts a space at cursor. | |
Views a pattern in the pattern view. | |
Callback that constructs and displays the popup menu | |
on_focus(self,
event)
| |
Callback that responds to key stroke in sequence view. | |
Callback that responds to left click down in sequence view. | |
Callback that responds to left click up in sequence view. | |
Callback that responds to mouse motion in sequence view. | |
Callback that responds to mousewheeling in sequencer. | |
Callback that handles track addition via the popup menu | |
Copies the current selection into the clipboard | |
on_popup_cut(self,
event)
| |
on_popup_delete(self,
event)
| |
Callback that handles track deletion via the popup menu | |
on_popup_paste(self,
event)
| |
Overriding a Canvas method that is called after painting
is completed. | |
| (int, int) |
Converts pixel coordinate to a track and row. |
selection_range(self)
| |
Updates the cursor position to a track and row. | |
show_machine_dialog(self)
| |
| (int, int) |
Converts track and row to a pixel coordinate. |
Unpacks clipboard data | |
Updates the view after a lot of data has changed. | |
Updates the position. | |
| Inherited from Canvas | |
Performs the blit of the buffer contents on-screen. | |
Returns a tuple that contains the co-ordinates of the top-left and bottom-right corners of the canvas. | |
| |
| |
Renders the off-screen buffer on-screen. | |
Perform actual redraw to off-screen buffer only when the size of the canvas has changed. | |
Explicitly tells the canvas to redraw it's contents. | |
| |
| 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 | |
|---|---|
str |
CLIPBOARD_SEQUENCER = 'SEQUENCERDATA'
|
| Inherited from Canvas | |
bool |
doublebuffered = True
|
| Instance Method Details |
|---|
__init__(self,
rootwindow,
*args,
**kwds)
Initialization.
|
delete_at_cursor(self)Deletes pattern at cursor. |
deselect(self)Deselects the current selection. |
DrawBuffer(self)Overriding aCanvas method that paints onto an
offscreen buffer. Draws the pattern view graphics.
|
get_endrow(self)Get the last visible row. |
get_pattern_at(self, track, row)Gets the pattern and machine given a sequencer track and row.
|
insert_at_cursor(self, index=-1)Inserts a space at cursor. |
jump_to_pattern(self, metaplugin, index=0)Views a pattern in the pattern view.
|
on_context_menu(self, event)Callback that constructs and displays the popup menu
|
on_key_down(self, event)Callback that responds to key stroke in sequence view.
|
on_left_down(self, event)Callback that responds to left click down in sequence view.
|
on_left_up(self, event)Callback that responds to left click up in sequence view.
|
on_motion(self, event)Callback that responds to mouse motion in sequence view.
|
on_mousewheel(self, event)Callback that responds to mousewheeling in sequencer.
|
on_popup_add_track(self, event)Callback that handles track addition via the popup menu
|
on_popup_copy(self, event=None)Copies the current selection into the clipboard |
on_popup_delete_track(self, event)Callback that handles track deletion via the popup menu
|
onPostPaint(self, dc)Overriding aCanvas method that is called after
painting is completed. Draws an XOR play cursor over the pattern
view.
|
pos_to_track_row(self, (x, y))Converts pixel coordinate to a track and row.
|
set_cursor_pos(self, track, row)Updates the cursor position to a track and row.
|
track_row_to_pos(self, (x, y))Converts track and row to a pixel coordinate.
|
unpack_clipboard_data(self, d)Unpacks clipboard data
|
update(self)Updates the view after a lot of data has changed. This will also reset selection. |
update_position(self, event)Updates the position. |
| Class Variable Details |
|---|
CLIPBOARD_SEQUENCER
|
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Fri Nov 24 13:58:32 2006 | http://epydoc.sf.net |