similar to: run.rb

Displaying 20 results from an estimated 100000 matches similar to: "run.rb"

2006 Sep 17
1
run.rb
This is a first stab at a run.rb file that will let you run a sample in the bigdemo directory by itself. You have to add the following to the bottom of every sample file: if __FILE__ == $0 load "run.rb" run(File.basename($0)) end Roy _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org
2006 Oct 14
3
test.rb
Should the test.rb file in samples/ exist or was it added accidentally at some point? Roy
2006 Oct 19
0
[688] trunk/wxruby2/swig/fixplatform.rb: Remove a spurious warning on Windows (Roy Sutton)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!-- #msg dl { border: 1px #006 solid; background: #369; padding:
2006 Oct 21
2
common.i patch
The latest cvs version of SWIG breaks a few things. I have patched common.i to fix most of it. There will be some other things later that should be compatible with all versions. Can someone test to see if this compiles with the old version? Roy -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: common.i.patch Url:
2006 Oct 14
3
Samples
Updated all the sample files to add the shebang line and the require code we discussed. I also added the wxRuby copyright notice to all the samples I know I added (I may have missed some). Next, how about we rename all the .rbw files to .rb and update bigdemo? Roy
2006 Oct 05
8
samples
What do you think about adding a shebang line to the samples so they can be launched on linux/mac like you can on windows? Roy
2007 Feb 12
0
[871] trunk/wxruby2/samples/printing/printing.rb: Enable sample to be run from other directories
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!-- #msg dl { border: 1px #006 solid; background: #369; padding:
2005 Aug 17
1
Patch for calendar.rb
This patch fixes the last bug I found in the calendar sample. This makes two (mostly) working samples I''ve checked out. I did discover a new bug in caret.rb today which I should probably fix. Question: Since sizer.remove is deprecated should we just add an alias to the detach method or should we make people update to the new functions? Roy
2008 Jan 05
0
[ wxruby-Bugs-16826 ] samples/aui/aui.rb segfault induced by adding require ''pathname''
Bugs item #16826, was opened at 2008-01-05 00:53 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=218&aid=16826&group_id=35 Category: Incorrect behavior Group: current Status: Open Resolution: None Priority: 3 Submitted By: Nobody (None) Assigned to: Nobody (None) Summary: samples/aui/aui.rb segfault induced by adding require ''pathname''
2005 Aug 17
7
Volunteer requested: Implement SplitterWindow
About a year ago (ouch!), Robert Carlin submitted a ported version of the wxPython demo/sample. I hoped to include it in wxruby2, but it relies on SplitterWindow, which isn''t in wxruby2 yet. I tried to implement SplitterWindow myself, but got such strange results that I''m thinking I did something wrong. Even though the generated C++ code specified a variable number of
2005 Aug 25
2
listbook.rb patch
Hopefully a good listbook.rb patch _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org http://rubyforge.org/mailman/listinfo/wxruby-users
2005 Aug 19
9
Patch for listbook.rb
Attached is a patch file for listbook.rb 1) Message box scrolls properly now 2) Blank lines are skipped when adding pizzas and ice cream _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org http://rubyforge.org/mailman/listinfo/wxruby-users
2006 Oct 15
4
TaskBarIcon
Attached are some patches to implement the TaskBarIcon. Let me know how this works on Linux and OS X. You may want to ''svn update'' first and get the new version of ruby.png since I fixed the transparent background. Roy -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: bigdemo.rb.patch Url:
2006 Nov 13
0
[731] trunk/wxruby2/samples/etc/sash.rb: Changed menu events so they call the correct method.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!-- #msg dl { border: 1px #006 solid; background: #369; padding:
2005 Sep 18
3
Free
In the dialogs.rb sample, when you click the delete button you get: C:/RubyDev/wxruby2/samples/dialogs/dialogs.rb:61:in `onButton'': undefined method `free'' for #<Wxruby2::Button:0x36474b8> (NoMethodError) Should all/some wxObjects have a free function? how do we intend to handle this?
2007 May 31
0
[1041] trunk/wxruby2/samples/calendar/calendar.rb: Remove deprecated call to set_best_fitting_size
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!-- #msg dl { border: 1px #006 solid; background: #369; padding:
2005 Aug 30
1
Patch to controls.rb
This patch fixes the controls.rb sample so the images load properly on windows. On windows, wxIcon does -not- descend from wxImage. This means it does not have access to the image handling routines wxImage does. Furthermore, despite the documentation, it does -not- support XPM icons on Windows. The solution is to just not use icons where images are needed. The second solution was to
2007 Jun 05
0
[1051] trunk/wxruby2/samples/aui/aui.rb: Changed assign_image_list to set_image_list.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!-- #msg dl { border: 1px #006 solid; background: #369; padding:
2007 May 04
0
[1008] trunk/wxruby2/samples/controls/get_item_sample.rb: ok method name changed to is_ok
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!-- #msg dl { border: 1px #006 solid; background: #369; padding:
2007 Jun 26
0
[1076] trunk/wxruby2/samples/etc/activation.rb: Added sample of IconizeEvent to activation sample
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!-- #msg dl { border: 1px #006 solid; background: #369; padding: