Displaying 5 results from an estimated 5 matches for "evt_menu_range".
2005 Sep 12
2
EvtMenuRange
Please see patched fixevents.rb and events.rb. I only fixed
EVT_MENU_RANGE. There may be other events that are also incorrect.
Roy
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/wxruby-users
2006 Oct 17
0
[678] trunk/wxruby2/doc/textile/commandevent.txtl: Fixed a few event macros that did not get fixed by the parser.
...ich is generated by a ListBox control.|
</span><span class="cx"> |*evt_menu(id) { | event | ... }*|Process a EVT_COMMAND_MENU_SELECTED command,which is generated by a menu item.|
</span><del>-|*EVT_MENU_RANGE(id1, id2, func)*|Process a EVT_COMMAND_MENU_RANGE command,which is generated by a range of menu items.|
</del><ins>+|*evt_menu_range(id1, id2) { | event | ... }*|Process a EVT_COMMAND_MENU_RANGE command,which is gen...
2007 May 29
0
[1035] trunk/wxruby2/swig/classes/EvtHandler.i: Removed a heap of redundant stuff that''s been #if 0''d for a while
...lastId = NUM2INT(argv[1]);
- int type = NUM2INT(argv[2]);
-
- internal_connect(self, id, lastId, type);
- return Qnil;
-}
-
-static VALUE evt_menu(int argc, VALUE *argv, VALUE self)
-{
- return internal_evt_with_id(argc, argv, self, wxEVT_COMMAND_MENU_SELECTED);
-}
-
-static VALUE evt_menu_range(int argc, VALUE *argv, VALUE self)
-{
- return internal_evt_with_id_range(argc, argv, self, wxEVT_COMMAND_MENU_SELECTED);
-}
-
-static VALUE evt_combobox(int argc, VALUE *argv, VALUE self)
-{
- return internal_evt_with_id(argc, argv, self, wxEVT_COMMAND_COMBOBOX_SELECTED);
-}
-
-
-static VA...
2007 Jun 25
0
[1067] trunk/wxruby2: Set up event handlers in Ruby rather than by post-processing SWIG output
...Wx::MenuEvent],
+ EventType[''evt_menu_highlight_all'', 0,
+ Wx::EVT_MENU_HIGHLIGHT,
+ Wx::MenuEvent],
+ EventType[''evt_menu_open'', 0,
+ Wx::EVT_MENU_OPEN,
+ Wx::MenuEvent],
+ EventType[''evt_menu_range'', 2,
+ Wx::EVT_COMMAND_MENU_SELECTED,
+ Wx::CommandEvent],
+ EventType[''evt_middle_dclick'', 0,
+ Wx::EVT_MIDDLE_DCLICK,
+ Wx::MouseEvent],
+ EventType[''evt_middle_down'', 0,
+ Wx::EV...
2007 Mar 22
0
[916] branches/wxruby2/wxwidgets_282: More Wx::AUI classes, event hooks and sample
...ade) { | e | on_update_ui(e) }
+ evt_update_ui(ID_TransparentDrag) { | e | on_update_ui(e) }
+ evt_update_ui(ID_NoGradient) { | e | on_update_ui(e) }
+ evt_update_ui(ID_VerticalGradient) { | e | on_update_ui(e) }
+ evt_update_ui(ID_HorizontalGradient) { | e | on_update_ui(e) }
+ evt_menu_range( ID_FirstPerspective,
+ ID_FirstPerspective + @perspectives.length) { | e | }
+ evt_aui_pane_close { | e | on_pane_close(e) }
+ evt_auinotebook_page_close(Wx::ID_ANY) { | e | on_notebook_page_close(e) }
+ end
+
+ # create some toolbars
+ def setup_toolbars
+ tb1 = Wx...