An ActiveBookmark can represent a simple bookmark (i.e. a single time,
with an optional content) or a completed annotation.
If the from_serialisation parameter is present, it is used as the
source of information.
Else, if the annotation parameter is present, it is used as the source
of information.
Else the begin time is mandatory. It can be associated with an
optional content.
If the end time is None, then the widget is displayed as a simple
bookmark. DNDing a timestamp over the begin image will set the end
time.
|
|
__init__(self,
container=None,
begin=None,
end=None,
content=None,
annotation=None,
from_serialisation=None)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
set_current(self,
is_current=True)
Display the 'current' marker (highlight frame) around the widget. |
source code
|
|
|
|
|
|
|
|
|
|
| bound_drag_motion(self,
widget,
drag_context,
x,
y,
timestamp) |
source code
|
|
|
|
| begin_drag_received(self,
widget,
context,
x,
y,
selection,
targetType,
time) |
source code
|
|
|
|
| end_drag_received(self,
widget,
context,
x,
y,
selection,
targetType,
time) |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
grab_focus(self,
*p)
Set the focus on the comment edition widget. |
source code
|
|
|
|
| handle_scroll_event(self,
button,
event,
get_value,
set_value,
check_value) |
source code
|
|
|
|
|
|
|
|
|
|
| timestamp_key_press(self,
widget,
event,
source) |
source code
|
|
|
|
|
|
Inherited from object:
__delattr__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__str__
|