ActiveBookmarks are another way to create annotations.
First, a time bookmark is set and associated with some text. This
represents an incomplete annotation (the end bound is missing). Once the
end bound is set, the triplet (t1, t2, content) is used to create an
annotation. If no destination type was specified, then a new annotation
type is created.
|
|
__init__(self,
controller=None,
parameters=None,
type=None)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
remove(self,
w)
Remove the given widget from mainbox. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
select_bookmark(self,
index)
Set the 'index' bookmark as current. |
source code
|
|
|
|
|
|
|
|
|
|
| append(self,
t,
index=None,
after_current=False) |
source code
|
|
|
|
check_contents(self,
*p)
Check that annotation contents are in sync. |
source code
|
|
|
|
| update_model(self,
package=None,
partial_update=False) |
source code
|
|
|
|
| update_annotationtype(self,
annotationtype=None,
event=None) |
source code
|
|
|
|
| update_annotation(self,
annotation=None,
event=None) |
source code
|
|
|
|
|
|
|
scroll_to_end(self)
Scroll to the bottom of the view. |
source code
|
|
|
|
scroll_to_bookmark(self,
b=None)
Ensure that the given bookmark (default: current) is visible. |
source code
|
|
|
|
delete_origin_timestamp(self,
wid)
Delete the timestamp from the widget wid. |
source code
|
|
|
|
|
|
|
|
|
|
| clipboard_get(self,
clipboard,
selection,
info,
data) |
source code
|
|
|
|
|
|
|
copy_current_bookmark(self)
Copy the current bookmark into the clipboard. |
source code
|
|
|
|
|
|
Inherited from object:
__delattr__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__str__
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
message(self,
m)
Display a message in the statusbar, if present. |
source code
|
|
|
|
parameters_to_element(self,
options=None,
arguments=None)
Generate an ET.Element representing the view and its parameters. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
save_default_options(self,
*p)
Save the default options. |
source code
|
|
|
|
save_parameters(self,
content,
options=None,
arguments=None)
Save the view parameters to a Content object. |
source code
|
|
|
|
|
|
|
|
|
|
|