[wxruby-users] xrc file and WxGrid

Trans transfire at gmail.com
Thu Mar 19 15:51:27 EDT 2009


2009/3/19 Mario Steele <mario at ruby-im.net>:
> No, wxWidgets and further more wxRuby can use just about any control defined
> through XRC.  There's not much we can tell from that snippet you gave us.
> Could you attach both the XRC and the Ruby files your using to attempt to
> load the Window, with the Grid, that shows the problem of it not working,
> and also please mention what Platform, and Version of Ruby/wxRuby you are
> attempting to use.
>
> Thanks,
>
> ~ Mario

Sure thing. I'm running:

Ubuntu 8.04 64-bit (everything is installed via apt-get or rubygems)
WxFormBuilder 3.0.57 (unicode)
ruby 1.8.6 (2007-09-24 patchlevel 111) [x86_64-linux]
wxruby-2.0.0-x86_64-linux

Attached are the files. There are some support files missing so it
won't run straight away, but remarking out the epony and @client stuff
in on_init should do the trick.

Also, the fbp file might need the search.gif file in an images/
directory to load.

HTH,
T.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: epony.xrc
Type: application/octet-stream
Size: 11129 bytes
Desc: not available
URL: <http://rubyforge.org/pipermail/wxruby-users/attachments/20090319/8db88487/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: epony.fbp
Type: application/x-wxformbuilder
Size: 140140 bytes
Desc: not available
URL: <http://rubyforge.org/pipermail/wxruby-users/attachments/20090319/8db88487/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: epony.rb
Type: application/octet-stream
Size: 2463 bytes
Desc: not available
URL: <http://rubyforge.org/pipermail/wxruby-users/attachments/20090319/8db88487/attachment-0003.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: search.gif
Type: image/gif
Size: 145 bytes
Desc: not available
URL: <http://rubyforge.org/pipermail/wxruby-users/attachments/20090319/8db88487/attachment-0001.gif>


More information about the wxruby-users mailing list