Displaying 2 results from an estimated 2 matches for "evt_handler".
2007 Jun 26
0
[1086] trunk/wxruby2/lib/wx/classes/evthandler.rb: Restore evt_mouse_events convenience handler, fixing bug in printing sample
...07-06-26 21:11:17 UTC (rev 1086)
</span><span class="lines">@@ -736,6 +736,22 @@
</span><span class="cx">     end
</span><span class="cx">   end
</span><span class="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_dclic...
2006 Dec 18
13
unit testing wxruby GUIs
paul.allton at uk.bnpparibas.com wrote:
 > I''m a big fan of automated UI testing (i.e. driving the UI from some 
robot API). I appreciate this
 > is potentially a whole new project, but does wxwidgets provide a 
method of clicking buttons,
 > typing into components ... if so, would it be technically possible to 
expose this in wxruby.
I like automated UI testing too, but