Package Gnumed :: Package timelinelib :: Package canvas :: Package drawing :: Module viewproperties :: Class ViewProperties |
[frames] | no frames]

# Class ViewProperties

source code

                     object --+
                              |
    general.observer.Observable --+
                                  |
                                 ViewProperties

Store properties of a view.

Some timeline databases support storing some of these view properties together with the data.

Instance Methods
__init__(self) x.__init__(...) initializes x; see help(type(x)) for signature | source code
is_highlighted(self, event) | source code
has_higlights(self) | source code
add_highlight(self, event, clear) | source code
get_highlight_count(self, event) | source code
tick_highlights(self, limit) | source code
legend_pos(self, pos) | source code
hide_events_done(self, value) | source code
get_fuzzy_icon(self) | source code
set_fuzzy_icon(self, name) | source code
get_locked_icon(self) | source code
set_locked_icon(self, name) | source code
get_hyperlink_icon(self) | source code
set_hyperlink_icon(self, name) | source code
get_skip_s_in_decade_text(self) | source code
set_skip_s_in_decade_text(self, value) | source code
get_display_checkmark_on_events_done(self) | source code
set_display_checkmark_on_events_done(self, value) | source code
set_use_fixed_event_vertical_pos(self, value) | source code
use_fixed_event_vertical_pos(self) | source code
clear_db_specific(self) | source code
change_hovered_event(self, event) | source code
set_selection_rect(self, rect) | source code
change_view_cats_individually(self, view_cats_individually) | source code
get_displayed_period(self) | source code
filter_events(self, events) | source code
is_selected(self, event) | source code
clear_selected(self) | source code
select_all_events(self) | source code
event_is_hovered(self, event) | source code
event_has_sticky_balloon(self, event) | source code
set_event_has_sticky_balloon(self, event, has_sticky=True) | source code
set_selected(self, event, is_selected=True) | source code
set_all_selected(self, events) | source code
set_only_selected(self, event, is_selected) | source code
set_displayed_period(self, period, notify=True) | source code
get_selected_event_ids(self) | source code
toggle_category_visibility(self, category) | source code
is_category_visible(self, category) | source code
is_event_with_category_visible(self, category) | source code
set_categories_visible(self, categories, is_visible=True) | source code
set_category_visible(self, category, is_visible=True) | source code
Inherited from `general.observer.Observable`: `listen_for`, `listen_for_any`, `register`, `unlisten`, `unregister` Inherited from `object`: `__delattr__`, `__format__`, `__getattribute__`, `__hash__`, `__new__`, `__reduce__`, `__reduce_ex__`, `__repr__`, `__setattr__`, `__sizeof__`, `__str__`, `__subclasshook__`

Properties
Inherited from `object`: `__class__`

Method Details

### __init__(self) (Constructor) | source code
x.__init__(...) initializes x; see help(type(x)) for signature Overrides: object.__init__ (inherited documentation)

### legend_pos(self, pos) | source code
Decorators: `@legend_pos.setter`

### hide_events_done(self, value) | source code
Decorators: `@hide_events_done.setter`