Class Ui::WxWidgets::Widgets::NotesBrowser
In: ui/wx/widgets/notesbrowser.rb
Parent: Wx::HtmlWindow

Methods

Included Modules

NotesBrowserInterface

Attributes

html_src  [R] 

Public Class methods

=============================================== public methods

[Source]

# File ui/wx/widgets/notesbrowser.rb, line 126
        def initialize(parent=nil)
          super(parent, Wx::ID_ANY, Wx::DEFAULT_POSITION, Wx::Size.new(400, 300) )
          
          @model = []
          
          evt_html_link_clicked(self.get_id) { |event| on_link_clicked(event)}
          home
        end

Public Instance methods

[Source]

# File ui/wx/widgets/notesbrowser.rb, line 140
        def home()
          self.set_page(HTML[:home])
        end

[Source]

# File ui/wx/widgets/notesbrowser.rb, line 151
        def invalidate!() self.set_page(HTML[:invalid]); end

[Source]

# File ui/wx/widgets/notesbrowser.rb, line 135
        def set_page(html)
          super html
          @html_src = html
        end

[Source]

# File ui/wx/widgets/notesbrowser.rb, line 144
        def show_notes(node_id, note_list)
          @node_id = node_id
          @notes = note_list
          
          filter_and_display()
        end

[Source]

# File ui/wx/widgets/notesbrowser.rb, line 153
        def update_view(model)
          @model = model
          home
        end

[Validate]