Displaying 20 results from an estimated 900 matches similar to: "Patch for wxRuby2"
2005 Jul 16
28
wxruby (was: Some questions)
Roy Sutton wrote (on the FreeRIDE list):
> Really? That''s interesting. I haven''t checked out WxRuby but I would
> be much happier using something that interfaces to the underlying
> operating system''s widgets.
As a member (and former leader) of the wxruby team, I thought I would
share the state of the wxruby world.
The current release is 0.6, and it has
2007 Jul 04
5
loading menu using XmlResource
Hi,
i''m evaluating XmlResource: loading frame, dialogs and access widgets is ok
but i''m not able to load menu bar and menu using the corresponding methods
XmlResource#load_menu_barXmlResource#load_menui get the error saying ''XML
resource ''Opzioni'' (class ''wxMenu'') not found!'' trying to load a menu and
''XML resource
2007 Apr 28
6
XRC Problem
Hello All,
I''ve looked back through the wxruby-users archive, and found someone
else was having the same problem when it comes to Accessing XRC and
getting a GTK Error about GtkPizza. I don''t know what the problem is,
as what I''m using, is wxGlade to develop my user interface, and it
creates all the controls in what looks like it should be fine, but it''s
2003 Oct 27
5
Windows Build - Down to Run Time Errors
I finally got a clean compile and link for wxRuby. Now I''m down to
deciphering runtime errors. Once again, I''m going to pick up on this
tomorrow, but I thought I''d post my console output tonight to see if anyone
has any thoughts before I tackle this tomorrow.
I''m running the same app "minimal.rb"
E:\Dev\RubyDev\wxruby\samples\minimal>ruby
2006 Sep 12
6
Patch for Unicode on windows
This patch makes Unicode the default build for windows. You can
override the default by setting a WXRUBY_NO_UNICODE environment variable.
Roy
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/wxruby-users
2005 Jul 24
11
Official name change to wxruby2
The CVS module has been renamed from wxruby-swig to wxruby2, and I have
checked in the related changes to reflect the name change. Anyone with a
CVS tree will need to re-checkout from CVS because of the module name
change.
There is now a wx.rb in the lib/ directory, which loads the wxruby2
shared library that gets built.
I have tagged this as 0.0.22.
Next steps:
- Apply Choice.i patch from
2004 Jul 06
13
XRC Resources
I currently use DialogBlocks to generate my dialogs for wxWidgets apps I
write in C++. DialogBlocks has the ability to generate XRC resources
which I would like to use with wxRuby, is this possible?
I am very new to Ruby and it looks like a great language and with wxRuby
it looks like a great solution for quick in house applications.
Thanks
Sean Long
2005 Aug 16
9
Patch and files to add Listbook
I added the Listbook class (basically the same as the Notebook class
with some name changes). I also took the time to write a sample that
uses it. The sample interface uses XRC and is slightly more advanced
than the current XRC sample.
Sean
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
2004 Aug 26
18
wxRuby 0.5.0 has been released!
wxRuby 0.5.0 has been released and is now available for
download from RubyForge at http://wxruby.rubyforge.org/
This release includes binary builds for Max OS X and
MS Windows.
Please report any bugs or feature requests here:
http://rubyforge.org/tracker/?group_id=35
Changes in this release include:
* Added XRC (Xml Resource File) support.
* Added totally awesome HTML widget from Tobi
2006 Dec 02
7
Gauge Problem with XRC?
Hi
I''ve just started using wxruby2-preview-0.0.36-i386-mswin32
outsourcing layout part to the external XRC file. Almost everything
seems to be fine. Only that I can never retrieve Gauge objects in the
main script. What I''ve been trying is something like this:
class MainFrame < Wx::Frame
include Wx
def initialize(parent)
super(nil,-1, "")
2004 Sep 24
7
wxRuby build problems
I''ve just tried to build wxRuby on a debian/unstable (i386) platform.
I went to rubyforge.org and downloaded wxruby-0.5-src.tar.gz.
<http://rubyforge.org/frs/download.php/1254/wxruby-0.5-src.tar.gz>
I have ruby 1.8.2 installed on my system. I needed to install the
debian package ruby1.8-dev in order to get mkmf.rb. That solved my
first problem. So then i ran "ruby
2005 Aug 02
1
Patch to move XmlResource back to classes
This patch is to move XmlResource.i back under classes.
You need to remove the XmlResource.i file under the swig directory and
you need to remove the Xrc.i file as it is no longer needed.
I made this patch against HEAD so it includes the previous patch since
HEAD has not been updated yet.
Sean
_______________________________________________
wxruby-users mailing list
2004 Apr 25
2
wxruby-swig 0.0.9
More progress on wxruby-swig. Nothing too exciting.
It now support 36 classes, compared to the (apparently) 139 supported by
wxRuby 0.3. A working version of the calendar sample is included. I made
several changes to the sample.
I have tentatively decided *not* to wrap the wxDateTime class, and
instead to automatically convert to/from Ruby''s own DateTime class.
My logic is that in
2008 Sep 12
7
embedding wxruby?
Hello,
is it possible to code a wxWidgets GUI in C++ and pass the whole wxApp or just single windows to embedded Ruby code? This would be very nice to provide a scriptable plugin system.
Greetings,
Niklas
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/wxruby-users
2004 Oct 06
11
find_window_by_xxx doesn''t find Gauge or BitmapButton
I''m fairly new to the Ruby world, particularly WxRuby, so please
forgive me if this is ground that''s been covered in the past. I''m
trying to load a frame from an XRC file (created using DialogBlocks),
and I''m having trouble getting an instance of the Gauge object using
the Wx::Window.find_window_by_xxx methods. I''m trying this on Windows
XP,
2009 Aug 10
2
xrcise -o test.rb ui.xrc
I built a small form in wxFormBuilder. In cmd i wrote
xrcise -o test.rb ui.xrc
output was
C:/ruby/lib/ruby/gems/1.9.1/gems/wx_sugar-0.1.22/lib/wx_sugar/xrc/outputter.rb:4
6:in `clean_id_attr_readers'': undefined method `each'' for
#<String:0xba5850> (No
MethodError)
from (erb):16:in `output''
from C:/ruby/lib/ruby/1.9.1/erb.rb:753:in `eval''
2007 Nov 12
4
XRCise says "Cannot create wrapper for subclass of wxWizard"
I have created a very simple DialogBlocks project that
consists of a very simple wxWizard. I have exported the
project to XRC and am trying to get XRCise to process it.
XRCise produces the message "Cannot create wrapper for
subclass of wxWizard".
Is this a symptom of the XPath parsing in Ruby 1.8.6 bug?
Or am I doing something wrong?
My env:
ruby 1.8.6 (2007-03-13 patchlevel 0)
2005 Jul 31
5
SWIG compilation
The result of the compilation after installing swig results in lots of
errors of the sort:
WindowDisabler.obj : error LNK2001: unresolved external symbol
_SWIG_Ruby_ConvertPtr
I can see this is defined in rubydef.swg but I''m not sure why this isn''t
just included in the files that need it. Can any swig experts tell me
what I need to do to progress? I''m using
2003 Dec 31
3
Whoo Hoo! I got a working Windows Build of wxRuby
I finally got a working native windows build of wxRuby (using a static build
of wxWindows so everything is in a single dll -- wxruby.so)!
Two things contributed to my success: 1) building wxWindows with the vc++
makefiles (instead of the vc++ projects), and 2) very careful attention to
compiler/linker flags specified in extconf.rb.
Kevin, I had to modify app.cpp, depend, extconf.rb, and wx.h. I
2013 Feb 18
4
Some fixes for building the Debian package for 1.20.2
I needed to add a few patches to be able to build libguestfs 1.20.2
out of tree. Mostly srcdir/builddir issues -- I think that I had
posted something for building the daemon before.
As mentioned on IRC, I found that compiling (Ruby bindings) caused
config.h file shipped with the Ruby headers to be included rather than
${builddir}/config.h. This can be fixed because the relevant checks
can be