Method Summary |
|
__init__ (self,
rootwindow,
*args,
**kwds)
Initialization. |
|
adjust_scrollbars(self)
|
|
adjust_selection (self)
Adjusts the selection variables according to the selection mode. |
(int, int, int, int, int)
|
charpos_to_pattern (self,
position)
Converts a (x,y) character coordinate into a pattern position. |
|
copy (self)
Copies the current selection into the clipboard |
|
cut (self)
Cuts the current selection into the clipboard |
|
DrawBuffer (self,
row,
rows,
fulldraw)
Overriding a Canvas method that paints onto an offscreen
buffer. |
|
get_charbounds (self)
Returns the outermost coordinates in characters. |
(zzub.Plugin, zzub.Pattern)
|
get_datasource (self)
Returns the plugin and the current pattern in the pattern view |
|
get_new_pattern_name (self)
Finds an unused pattern name. |
zzub.Plugin
|
get_plugin (self)
Returns the plugin of the pattern in the pattern view. |
|
get_virtual_size (self)
Returns the size in characters of the virtual view area. |
|
init_values (self)
Initializes pattern storage and information. |
|
interpolate_selection (self)
Fills the current selection with values interpolated from selection
start to selection end. |
|
move_down (self,
step)
Moves the cursor down. |
|
move_index_left (self)
Moves the cursor one index position left. |
|
move_index_right (self)
Moves the cursor one index position right. |
|
move_left (self)
Moves the cursor left. |
|
move_right (self)
Moves the cursor right. |
|
move_subindex_left (self)
Moves the cursor one subindex position left. |
|
move_subindex_right (self)
Moves the cursor one subindex position right. |
|
move_track_left (self)
Moves the cursor one track position left. |
|
move_track_right (self)
Moves the cursor one track position right. |
|
move_up (self,
step)
Moves the cursor up. |
|
on_char (self,
event)
Callback that responds to key stroke in pattern view. |
|
on_context_menu (self,
event)
Callback that constructs and displays the popup menu |
|
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_key_down (self,
event)
Callback that responds to key stroke in pattern view. |
|
on_left_down (self,
event)
Callback that responds to left click in pattern view. |
|
on_mousewheel (self,
event)
Callback that responds to mousewheeling in pattern view. |
|
on_paste (self,
event)
Sent when the paste function is selected from the menu. |
|
on_popup_add_track (self,
event)
Callback that adds a track. |
|
on_popup_create_copy (self,
event)
Callback that creates a copy of the current pattern. |
|
on_popup_create_pattern (self,
event)
Callback that creates a pattern. |
|
on_popup_delete_track (self,
event)
Callback that deletes last track. |
|
on_popup_properties (self,
event)
Callback that shows the properties of the current pattern. |
|
on_popup_remove_pattern (self,
event)
Callback that removes the current pattern. |
|
on_popup_solo (self,
event)
Callback that solos current plugin. |
|
on_scroll_window (self,
event)
Handles window scrolling. |
|
onPostPaint (self,
dc)
Overriding a Canvas method that is called after painting
is completed. |
|
paste (self)
Pastes the clipboard data into the pattern view. |
|
pattern_changed (self)
Loads and redraws the pattern view after the pattern has been
changed. |
(int, int, int, int)
|
pattern_range (self)
Iterator that moves through the entire pattern. |
(int, int)
|
pattern_to_charpos (self,
row,
group,
track,
index,
subindex)
Converts a pattern position into a (x,y) character coordinate. |
(int, int)
|
pattern_to_pos (self,
row,
group,
track,
index,
subindex)
Converts a pattern position into a (x,y) pixel coordinate. |
(int, int, int, int, int)
|
pos_to_pattern (self,
position)
Converts a (x,y) pixel coordinate into a pattern position. |
|
prepare_textbuffer (self)
Initializes a buffer to handle the current pattern data. |
|
randomize_selection (self)
Fills the current selection with random values. |
|
refresh_view(self)
|
(int, int, int, int)
|
selection_range (self)
Iterator that moves through the current selection. |
|
set_group (self,
g)
Sets the current group position. |
|
set_index (self,
i)
Sets the current index position. |
|
set_octave (self,
o)
Sets the octave. |
|
set_row (self,
r)
Sets the current row position. |
|
set_subindex (self,
si)
Sets the current subindex position. |
|
set_track (self,
t)
Sets the current track position. |
|
show_cursor_left (self)
Puts the cursor into visible frame after a jump to the left. |
|
show_cursor_right (self)
Puts the cursor into visible frame after a jump to the right. |
|
transpose_selection (self,
offset)
Transposes the current selection by an offset. |
|
unpack_clipboard_data (self,
d)
Unpacks clipboard data |
|
update_line (self,
row)
Updates a line of the pattern. |
|
update_position (self,
event)
Updates the position. |
Inherited from object |
|
__delattr__ (...)
x.__delattr__('name') <==> del x.name |
|
__getattribute__ (...)
x.__getattribute__('name') <==> x.name |
|
__hash__ (x)
x.__hash__() <==> hash(x) |
|
__new__ (T,
S,
...)
T.__new__(S, ...) -> a new object with type S, a subtype of T |
|
__reduce__ (...)
helper for pickle |
|
__reduce_ex__ (...)
helper for pickle |
|
__setattr__ (...)
x.__setattr__('name', value) <==> x.name = value |
|
__str__ (x)
x.__str__() <==> str(x) |