Class | Ui::WxWidgets::Widgets::NotesBrowserEvent |
In: |
ui/wx/widgets/notesbrowser.rb
|
Parent: | Wx::CommandEvent |
EVT_ADD_NOTE | = | Wx::EvtHandler.register_class(self, nil, 'evt_add_note', 1) | Create a new unique constant identifier, associate this class with events of that identifier, and create a shortcut ‘evt_new_command’ method for setting up this handler. | |
EVT_EDIT_NOTE | = | Wx::EvtHandler.register_class(self, nil, 'evt_edit_note', 1) |
# File ui/wx/widgets/notesbrowser.rb, line 27 def initialize(notes_browser, event_id, node_id, note_id = nil) # The constant id is the arg to super super(event_id) # client_data should be used to store any information associated # with the event. self.client_data = { :node_id => node_id, :note_id => note_id } self.id = notes_browser.get_id end