Package Gnumed :: Package timelinelib :: Package wxgui :: Package components :: Module mainpanel :: Class MainPanel |
[frames] | no frames]

# Class MainPanel

source code

    wx.Panel --+
               |
              MainPanel

    Panel that covers the whole client area of MainFrame.

    Displays one of the following panels:

      * The welcome panel (show_welcome_panel)
      * The timeline panel (show_timeline_panel)

    Also displays the search bar.

Instance Methods
__init__(self, parent, config, main_frame) | source code
get_export_periods(self, first_time, last_time) | source code
timeline_panel_visible(self) | source code
show_welcome_panel(self) | source code
show_timeline_panel(self) | source code
show_searchbar(self, show=True) | source code
display_timeline(self, timeline) | source code
get_timeline_canvas(self) | source code
save_view_properties(self, timeline) | source code
get_displayed_period_delta(self) | source code
get_time_period(self) | source code
get_ids_of_two_first_selected_events(self) | source code
get_selected_event_ids(self) | source code
get_id_of_first_selected_event(self) | source code
get_nbr_of_selected_events(self) | source code
open_event_editor(self, event) | source code
redraw_timeline(self) | source code
Navigate(self, navigation_fn) | source code
get_visible_events(self, all_events) | source code
set_searchbar_timeline_canvas(self, timeline_canvas) | source code
get_view_properties(self) | source code