search for: evt_right_up

Displaying 7 results from an estimated 7 matches for "evt_right_up".

2006 Nov 23
0
[752] trunk/wxruby2: Fix for Bug #6810: ListBox#get_selections should return an array of selections
...span class="cx"> @lb2 = Wx::ListBox.new(self, 70, Wx::Point.new(280,50), Wx::Size.new(80,120), sampleList, Wx::LB_EXTENDED) </span><span class="cx"> evt_listbox(@lb2.get_id()) {|event| on_evt_multi_listbox(event)} </span><del>- # evt_right_up(@lb2.get_id()) {|event| on_evt_right_button(event)} </del><ins>+ @lb2.evt_right_up {|event| on_evt_right_button(event)} </ins><span class="cx"> @lb2.set_selection(0) </span><span class="cx"> </span><span class=...
2007 Jun 25
0
[1067] trunk/wxruby2: Set up event handlers in Ruby rather than by post-processing SWIG output
...::MouseEvent, - Wx::EVT_LEFT_UP => Wx::MouseEvent, - Wx::EVT_LEFT_DCLICK => Wx::MouseEvent, - Wx::EVT_MIDDLE_DOWN => Wx::MouseEvent, - Wx::EVT_MIDDLE_UP => Wx::MouseEvent, - Wx::EVT_MIDDLE_DCLICK => Wx::MouseEvent, - Wx::EVT_RIGHT_DOWN => Wx::MouseEvent, - Wx::EVT_RIGHT_UP => Wx::MouseEvent, - Wx::EVT_RIGHT_DCLICK => Wx::MouseEvent, - Wx::EVT_MOTION => Wx::MouseEvent, - Wx::EVT_ENTER_WINDOW => Wx::MouseEvent, - Wx::EVT_LEAVE_WINDOW => Wx::MouseEvent, - Wx::EVT_MOUSEWHEEL => Wx::MouseEvent, - Wx::EVT_SCROLL_THUMBTRACK => Wx::Scro...
2007 Jun 26
0
[1086] trunk/wxruby2/lib/wx/classes/evthandler.rb: Restore evt_mouse_events convenience handler, fixing bug in printing sample
..."cx"> </span><ins>+ # convenience evt_handler to listen to all mouse events + def evt_mouse_events(&block) + evt_left_down(&block) + evt_left_up(&block) + evt_middle_down(&block) + evt_middle_up(&block) + evt_right_down(&block) + evt_right_up(&block) + evt_motion(&block) + evt_left_dclick(&block) + evt_middle_dclick(&block) + evt_right_dclick(&block) + evt_leave_window(&block) + evt_enter_window(&block) + evt_mousewheel(&block) + end </ins><span class="cx"> &lt...
2007 Mar 17
0
[886] branches/wxruby2/wxwidgets_282/swig/fixevents.rb: Mouse events fix for Win32 (Artur Kuptel)
...p&nbsp&nbspout.puts <<FUNC_DEF +static VALUE evt_mouse_events(int argc, VALUE *argv, VALUE self) +{ + evt_left_down(argc,argv,self); + evt_left_up(argc,argv,self); + evt_middle_down(argc,argv,self); + evt_middle_up(argc,argv,self); + evt_right_down(argc,argv,self); + evt_right_up(argc,argv,self); + evt_motion(argc,argv,self); + evt_left_dclick(argc,argv,self); + evt_middle_dclick(argc,argv,self); + evt_right_dclick(argc,argv,self); + evt_leave_window(argc,argv,self); + evt_enter_window(argc,argv,self); + return evt_mousewheel(argc,argv,self); +} +FUNC_D...
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
...evt_left_dclick(int argc, VALUE *argv, VALUE self) -{ - return internal_evt_no_parameters(argc, argv, self, wxEVT_LEFT_DCLICK); -} - -static VALUE evt_right_down(int argc, VALUE *argv, VALUE self) -{ - return internal_evt_no_parameters(argc, argv, self, wxEVT_RIGHT_DOWN); -} - -static VALUE evt_right_up(int argc, VALUE *argv, VALUE self) -{ - return internal_evt_no_parameters(argc, argv, self, wxEVT_RIGHT_UP); -} - -static VALUE evt_right_dclick(int argc, VALUE *argv, VALUE self) -{ - return internal_evt_no_parameters(argc, argv, self, wxEVT_RIGHT_DCLICK); -} - -static VALUE evt_middle_dow...
2006 Nov 23
0
[754] trunk/wxruby2/samples/bigdemo: Rubified samples and added in missing client data sample code
...:Size.new(80,120), sampleList, Wx::LB_EXTENDED) </span><del>- evt_listbox(@lb2.get_id()) {|event| on_evt_multi_listbox(event)} </del><ins>+ evt_listbox(@lb2.get_id) {|event| on_evt_multi_listbox(event)} </ins><span class="cx"> @lb2.evt_right_up {|event| on_evt_right_button(event)} </span><span class="cx"> @lb2.set_selection(0) </span><span class="cx"> </span><span class="cx"> sampleList += ["test a", "test aa", "test aab&quo...
2007 May 31
0
[1042] trunk/wxruby2: Overhaul of the event handling WxType->RubyClass mapping to make it
...::MouseEvent, + Wx::EVT_LEFT_UP => Wx::MouseEvent, + Wx::EVT_LEFT_DCLICK => Wx::MouseEvent, + Wx::EVT_MIDDLE_DOWN => Wx::MouseEvent, + Wx::EVT_MIDDLE_UP => Wx::MouseEvent, + Wx::EVT_MIDDLE_DCLICK => Wx::MouseEvent, + Wx::EVT_RIGHT_DOWN => Wx::MouseEvent, + Wx::EVT_RIGHT_UP => Wx::MouseEvent, + Wx::EVT_RIGHT_DCLICK => Wx::MouseEvent, + Wx::EVT_MOTION => Wx::MouseEvent, + Wx::EVT_ENTER_WINDOW => Wx::MouseEvent, + Wx::EVT_LEAVE_WINDOW => Wx::MouseEvent, + Wx::EVT_MOUSEWHEEL => Wx::MouseEvent, + Wx::EVT_SCROLL_THUMBTRACK => Wx::Scro...