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

Methods

home   invalidate!   new   set_page   show_notes  

Included Modules

NotesBrowserInterface

Attributes

html_src  [R] 

Public Class methods

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

[Source]

     # File ui/wx/widgets/notesbrowser.rb, line 142
142:         def initialize(parent=nil)
143:           super(parent, Wx::ID_ANY, Wx::DEFAULT_POSITION, Wx::Size.new(400, 300) )
144:           
145:           evt_html_link_clicked(self.get_id) { |event| on_link_clicked(event)}
146:           home
147:         end

Public Instance methods

[Source]

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

[Source]

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

[Source]

     # File ui/wx/widgets/notesbrowser.rb, line 149
149:         def set_page(html)
150:           super html
151:           @html_src = html
152:         end

[Source]

     # File ui/wx/widgets/notesbrowser.rb, line 158
158:         def show_notes(annotatable_type, annotatable_id, note_list)
159:           @type = annotatable_type
160:           @id = annotatable_id
161:           @notes = note_list
162:           
163:           filter_and_display()
164:         end

[Validate]