Displaying 20 results from an estimated 20000 matches similar to: "test.rb"
2006 Sep 06
12
Patch to wxWindow.h
This patch fixes background color problems (at least on Windows). It
uses the dreaded ''FIXME''
My plan for next weekend is to try building wxPython from the source to
see how they manage to achieve several things with SWIG that we''re not
(yet) able to. If I''m successful it might lead to wrapping a
significant portion of wxWidgets more correctly than
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
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 Apr 27
5
Major Breakthrough?
Attached are patches to make the textctrl.rb sample work fully. Note
the new %directorargout typemap I added to fix wxWindows calling into
SWIG. I don''t know if this can fix all such problems or not. Let me
know what you think.
I also rubified the sample a little bit more. Also, note that I fix the
<< operator so the function can be called. I hope I did this right.
Roy
2006 Sep 20
3
Fix for non-centered windows
Two patches here:
First one removes virtual from a function that shouldn''t have been virtual.
Second one applies a typemap to catch GetRectFromChildWindow. For
reasons that are completely beyond me the standard ruby OUTPUT typemaps
don''t define directorargouts. I will take a stab at patching SWIG''s
default typemaps someday so we get this fixed for free on all our
2006 Aug 25
3
Patch to wxTextCtrl.rbw
This patch enables the char event and changes the set and kill focus
events to be attached to the correct items
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
2006 Sep 22
4
rubyforge
I think it''s time to get me onto the project at rubyforge so I can
subscribe to the bug tracker. As we move forwards with more maintenance
oriented tasks it will be helpful to be able to patch directly to SVN.
For now, I''ll keep submitting patches to the list.
Roy
2006 Oct 19
4
wxPen.h
wxPen.h #ifdefs out the stipple constructor for GTK but Pen.i %ignores
the stipple functions (GetStipple, SetStipple). Shouldn''t we follow the
same path so we get GetStipple and SetStipple on Mac and Windows? I
didn''t attach a patch. Too tired. Hopefully someone else can whip that
into shape. :)
Roy
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 Sep 27
3
Window.i
Does anyone know if the XRC hand-coded methods in Window.i are still
required after my recent change to return the correct types? Also,
given that wxWindow.h is included all over the place, I think we need to
move some of that stuff out into a common .i that''s included for all
wxWindow descendants.
Roy
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
2005 Sep 27
5
WxRuby + Ruby/SDL
Hi,
I am making a game with Ruby/SDL and have run into trouble finding a GUI
to cooperate. I have seen numerous examples of wxWindows in combination
with SDL (wxPython and PyGame), but have yet to be able to do it in ruby
(PyGame example: http://wiki.wxpython.org/index.cgi/IntegratingPyGame).
I am not very good with wxRuby as this is my first time using it and
thought some more knowledgable users
2006 Oct 02
14
0.0.36 tagged and released
Hi
I''m pleased to let you know that wxruby2-preview 0.0.36 is now available
on Rubyforge. Binary gems to follow...
To check out a clean copy from SVN and build from source:
svn co svn://rubyforge.org/var/svn/wxruby/tags/wxruby2/0.0.36
cd 0.0.36
rake gem WXRUBY_VERSION=0.0.36
From my reading of SVN docs it''s probably wise for developers to
checkout anonymously as a bit of
2006 Aug 24
5
TreeCtrl background?
On my windows build, I just noticed that the background of my TextCtrl''s
is grey by default, and when I try to set the default style I get the error:
TestTextCtrl.rb:15:in `set_default_style'': undefined method `'' for
#<Wxruby2::TextCtrl:0x360a0c4> (NoMethodError)
from TestTextCtrl.rb:15:in `initialize''
from TestTextCtrl.rb:24:in
2006 Oct 12
8
announcement
Hi
Now we''ve got the download problems nailed, shall we do an announcement
on comp.lang.ruby? I can do it if you''re really busy, but Kevin I think
you have first refusal as you''re owed the biggest chunk of kudos for
getting us this far.
re patch backlog: no worries - just clearing the decks before having
another go at integrating wxScintilla - but I can''t
2006 Sep 17
11
ShapedWindow.rbw
These patches implement wxRegion and the ShapedWindow sample. I stole
the ruby image from ruby-lang.org. Shamelessly. Maybe someone has a
better image we can use for the shaped window. It didn''t seem to make
sense to use the Python image. I''d like something even bigger than what
I stol^h^h^h^hmade, preferably. Image goes in icons.
I had to %ignore one function in wxRegion.
2006 Oct 16
5
0.0.37 release goals
Hi
Could we set some release goals for 0.0.37? I suggest we release sooner
rather than later to put the various little build problems behind us.
So my only high-priority item for 0.037 at the moment is to port
Scintilla to Linux and OS X. I will gladly accept other feature, bugfix
and doc patches.
Anything else we''d like to be sure to do?
alex
2006 Sep 19
7
SVN and demo files
The files checked out of SVN come out without the ability to be
executed. So, I can''t run the samples without prefixing with ''ruby ''
Before, the file associations allowed me to run samples just by putting
the name on the command line. Can we fix this?
Roy
2006 Mar 27
4
Patch for Swig 1.3.29
Attached is a patch for Swig that at least allows us to link the
library. I am experiencing a number of bugs that will need to be
tracked down and squashed. I haven''t even had time to look at the
newer Swig features yet.
Roy
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/wxruby-users