module timelinelib.canvas.drawing.viewproperties

class timelinelib.canvas.drawing.viewproperties.ViewProperties[source]

Bases: timelinelib.general.observer.Observable

Store properties of a view.

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

__init__()[source]

Initialize self. See help(type(self)) for accurate signature.

is_highlighted(event)[source]
has_higlights()[source]
add_highlight(event, clear)[source]
get_highlight_count(event)[source]
tick_highlights(limit)[source]
property legend_pos
property time_scale_pos
property hide_events_done
get_fuzzy_icon()[source]
set_fuzzy_icon(name)[source]
get_locked_icon()[source]
set_locked_icon(name)[source]
get_skip_s_in_decade_text()[source]
set_skip_s_in_decade_text(value)[source]
get_display_checkmark_on_events_done()[source]
set_display_checkmark_on_events_done(value)[source]
set_use_fixed_event_vertical_pos(value)[source]
use_fixed_event_vertical_pos()[source]
clear_db_specific()[source]
change_hovered_event(event)[source]
set_selection_rect(rect)[source]
change_view_cats_individually(view_cats_individually)[source]
change_labels(filter_labels_controller)[source]
get_displayed_period()[source]
filter_events(events)[source]
is_selected(event)[source]
clear_selected()[source]
select_all_events()[source]
event_is_hovered(event)[source]
event_has_sticky_balloon(event)[source]
set_event_has_sticky_balloon(event, has_sticky=True)[source]
set_selected(event, is_selected=True)[source]
set_all_selected(events)[source]
set_only_selected(event, is_selected)[source]
set_displayed_period(period, notify=True)[source]
get_selected_event_ids()[source]
toggle_category_visibility(category)[source]
is_category_visible(category)[source]
is_event_with_category_visible(category)[source]
set_categories_visible(categories, is_visible=True)[source]
set_category_visible(category, is_visible=True)[source]