Package Gnumed :: Package timelinelib :: Package wxgui :: Package components :: Package searchbar :: Module view
[frames] | no frames]

Module view

source code


The search bar is a gui component displayed in the status bar whenever 
the user presses Ctrl+F. It consists of the following visual components.
    * A close button
    * A search button
    * A text field
    * A backward navigation button
    * A forward navigation button
    * A 'display list' button
    * Report labels for 'no event found' and 'one event found'

The parent of the component is the TimelinePanel.
   
As with all gui components all business logic is handles by a controller.
Actions on the components are directly delegated to the controller.

The component (or actually the controller) needs a Canvas object in order 
to find events containing the given text. The Canvas object is injected 
with the SetTimelineCanvas() function.
        

Classes
  SearchBar

Imports: wx, SearchBarController, GuiCreator