search for: find_window_by_label

Displaying 6 results from an estimated 6 matches for "find_window_by_label".

2006 Jul 24
1
small Window.i patch
Hi Attached a small patch to Window.i which prevents it crashing when find_window_by_name, find_window_by_id or find_window_by_label should return nil. This fixes this bug (which I think was originally posted to wxruby 0.6.0) http://rubyforge.org/tracker/index.php?func=detail&aid=634&group_id=35&atid=218 cheers alex _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge...
2007 Apr 29
0
[983] branches/wxruby2/wxwidgets_282: Make Window#paint work both inside and outside a paint event handler,
...="cx"> # released under the MIT-style wxruby2 license </span><span class="cx"> </span><span class="cx"> class Wx::Window </span><span class="lines">@@ -21,4 +21,18 @@ </span><span class="cx"> def find_window_by_label(a_label) </span><span class="cx"> Wx:Window.find_window_by_label(a_label, self) </span><span class="cx"> end </span><ins>+ + alias :__old_evt_paint :evt_paint + # This modified version of evt_paint sets a variable indicating that a +...
2006 Dec 23
0
[794] trunk/wxruby2: Fix get_ruby_object so it works with SWIG tracking, move find_window_xx
...his corresponds to the find_window method method + # in WxWidgets when called with an string. + def find_window_by_name(a_name) + Wx::Window.find_window_by_name(a_name, self) + end + + # Searches all windows below +self+ and returns the first window which + # has the label +a_label+. + def find_window_by_label(a_label) + Wx:Window.find_window_by_label(a_label, self) + end </ins><span class="cx"> end </span></span></pre></div> <a id="trunkwxruby2swigclassesWindowi"></a> <div class="modfile"><h4>Modified: trunk/wx...
2007 Apr 16
0
[969] branches/wxruby2/wxwidgets_282/doc/textile/window.txtl: Cleanup and fixing of broken links.
...t;<span class="cx"> If _parent_ is NULL, the search will start from all top-level </span><span class="lines">@@ -637,8 +636,7 @@ </span><span class="cx"> </span><span class="cx"> h3(#Window_findwindowbylabel). Window#find_window_by_label </span><span class="cx"> </span><del>- "Window":window.html *find_window_by_label*(%(arg-type)String% label, - %(arg-type)Window% parent = nil) </del><ins>+ "Window":window.html *find_window_by_label*(...
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
2007 Apr 30
0
[997] branches/wxruby2/wxwidgets_282: Window - 2.6 -> 2.8 API, new methods and deprecations; update doc
...; * "Window#find_focus":#Window_findfocus </span><span class="cx"> * "Window#find_window":#Window_findwindow </span><span class="cx"> * "Window#find_window_by_id":#Window_findwindowbyid </span><ins>+* "Window#find_window_by_label":#Window_findwindowbylabel </ins><span class="cx"> * "Window#find_window_by_name":#Window_findwindowbyname </span><del>-* "Window#find_window_by_label":#Window_findwindowbylabel </del><span class="cx"> * "Window#f...