Trees | Index | Help |
---|
Module gwy :: Class MarkerBox |
|
MarkerBox.set_markers
().
Method Summary | |
---|---|
Adds a marker to a marker box. | |
Returns: True if markers are drawn upside
down. | |
Returns: True if selected marker is visually
differentiated, False if | |
Gets the position of a marker in a marker box. | |
Gets all markers in a marker box. | |
Gets the number of markers in a marker box. | |
Gets the index of the currently selected marker in a marker box. | |
Removes a marker from a marker box. | |
Sets whether a marker box is drawn upside down. | |
Sets whether a marker box highlights selected marker. | |
Moves a marker in a marker box. | |
Sets positions of all markers in a marker box. | |
Selects a marker in a marker box. | |
Gets the marker validation function currently in use. | |
Sets marker box marker validation function. |
Method Details |
---|
add_marker(i, pos)Adds a marker to a marker box.
|
get_flipped()Returns:True if markers are drawn upside
down.
|
get_highlight_selected()Returns:True if selected marker is visually
differentiated, False if
|
get_marker_position(i)Gets the position of a marker in a marker box.
|
get_markers()Gets all markers in a marker box.
|
get_nmarkers()Gets the number of markers in a marker box.
|
get_selected_marker()Gets the index of the currently selected marker in a marker box.
|
remove_marker(i)Removes a marker from a marker box.
|
set_flipped(flipped)Sets whether a marker box is drawn upside down.
|
set_highlight_selected(highlight)Sets whether a marker box highlights selected marker.
|
set_marker_position(i, pos)Moves a marker in a marker box.
|
set_markers(n, markers)Sets positions of all markers in a marker box. No validation is performed, even if validator is set. It's up to caller to set markers that do not logically conflict with the validator.
|
set_selected_marker(i)Selects a marker in a marker box.
|
UNIMPLEMENTED_get_validator()Gets the marker validation function currently in use.
|
UNIMPLEMENTED_set_validator(validate)Sets marker box marker validation function. It is used the next time an attempt to change markers is made, no revalidation is done immediately. It's up to caller to set a validator that do not logically conflict with the distribution of markers.
|
Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Tue Dec 30 04:01:42 2008 | http://epydoc.sf.net |