Displaying 20 results from an estimated 1100 matches similar to: "0.5.1 release?"
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,
2004 Oct 19
1
Loading wxListCtrl subclass from XRC file
I''m trying to use the wxLC_VIRTUAL style of the wxListCtrl, which seems 
to require that I subclass the control (as opposed to being able to 
provide a data model a la Swing or Cocoa), and I''m running into trouble 
when loading the control from an XRC file.  Apparently I need to 
specify the name of my subclass in the XRC as follows:
     <object class="wxListCtrl"
2004 Nov 21
7
wxRuby 0.6.0 is released!
wxRuby 0.6.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.
Changes in this release include:
* Additional widget support in XRC (thanks to Marshall Elfstrand)
* Addition of wxScrollbar (thanks to Hans Harmon of Pinnacle 
Technologies Inc)
* Addition of wxGrid event handlers (thanks
2004 Dec 17
14
WxRuby-SWIG and WxWidgets 2.5.x
A while back there was a discussion about what version of WxWidgets to 
target with WxRuby-SWIG.  I don''t remember seeing any resolution, but I 
gather that thus far WxRuby-SWIG has continued to target 2.4.2, with 
the thinking that WxRuby-SWIG would quickly mature to the point that it 
could replace WxRuby, and once that was done the focus would shift to 
working with 2.5.x.
2007 Sep 12
1
XRC Tool
Hi
Attached is a rough draft of a tool that parses XRC files and creates 
skeleton ruby class files from them.
ruby xrc-tool.rb my_frame.xrc > my_frame.rb
At the moment it only deals with Frame/Dialog/Panel subclasses, for 
which it creates a constructor that loads from the XML, and binds the 
named controls in the XML to ruby variables and accessors.
THe idea is that this would make
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''
2009 Mar 19
6
xrc file and WxGrid
Has anyone any experience with using a XRC file that setsup a Wx::Grid?
I''m using wxFormBuilder, in which I setup a grid in a boxsizer, with
column names and all. But when I render it via Ruby the grid is just a
small empty gray box, and I can''t seem to manipulate it at all. I
tried adding columns, resizing columns, populating it with data, etc.
but still nothing.
I look at the
2004 Jul 12
28
Windows compilation problems
Last week I was struggling to get xrc built into wxRuby and finally got 
it to compile. The problem I am now having is that the normal samples 
are not working at all (have not even tried any xrc stuff yet). So to 
test if it is a problem with xrc or my build process I tried compiling 
wxRuby without XRC, this caused the same error to be printed out as the 
failed XRC build.
The output (in both
2009 Nov 23
1
xrcise not working
Hi.  I''m back. Unfortunately I can''t get xrcise working.  Here is the
sample xrc file and the resulting error messages:
=============== TestWxFb.xrc =========================================
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<resource xmlns="http://www.wxwindows.org/wxxrc" version="2.3.0.1">
   
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 Nov 13
2
wxRuby and XRC via wxGlade
Hello,
I need to finish a small GUI program till friday and I am somewhat
stuck. First of all, wxRuby seems to ignore the size request of the
frame as defined via XRC (or I''m completly doing the wrong thing!)
Second, it complains about the statusbar and doesn''t display it. What am
I doing wrong?
The files are attached
Thank you
Ulrich Spoerlein
-- 
 PGP Key ID: F0DB9F44			
2007 Sep 26
7
development status, 1.9.2
Hi all
Just a quick update on recent SVN activity:
* added Sound and CollapsiblePane classes
* added the XRC tool to wxSugar
* fixed some XRC bugs in Window
* added syntax sugar for event handlers and list-like controls
* added some missing methods in Sizer
Sean - I''m away for about 10 days from this weekend, and I''m thinking of 
doing a 1.9.2 release in the next day or two.
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 01
1
wxXRC library
Hi,
I started developing with wxRuby with the 0.1.0 release, and have been very
pleased. As a ruby and wxWindows fan, I was happy to see the wxruby
project, and have been very impresed with the implementation.
I''ve been working on supporting the XML resources (wxXRC), and have an
issue I''d like some advice on. XRC plugged in very nicely, and I was able
to query resources.
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, "")
   
2005 Aug 10
5
more patches
Here are a few patches 2 small changes and one a little hefty. All are
to *.i files.
SpinCtrl.patch - Changes cWxSpinCtrl.klass to mWxSpinCtrl in rb_define_method.
Dialog.patch - Removed the %ignore wxDialog::wxDialog line, this line
prevents Dialogs working with XRC.
Window.i - Added special code for find_window_* methods so the correct
object type is returned, this is very important when
2008 Jun 13
7
Rubyscript2exe undefined ''run'' method
After I ran my program through Rubyscript2exe, the Random.exe file that
it created  is causing the following error:
D:\Ruby projects>random.exe
C:\DOCUME~1\JEDELS~1\eee\eee.Random.exe.2\app\Random.rb:59: undefined
method ''ru
n'' for Wxruby2::App (NoMethodError)
        from
C:\DOCUME~1\JEDELS~1\eee\eee.Random.exe.2\bootstrap.rb:77:in `load''
        from
2008 Aug 12
1
xrc panels using xrcise
Hi all,
I''m facing a problem generating base classes using xrcise.
i''ve this xrc layout:
<?xml version="1.0" encoding="UTF-8"?>
<resource version="2.3.0.1" xmlns="http://www.wxwidgets.org/wxxrc">
    <object class="wxFrame" name="ID_NOTIFIER" subclass="notifier">
2007 Dec 19
1
Menu Bar KeyBoard Shortcuts.
Hello,
 
I''m trying to use a wxMenuBar from XRC built with DialogBlocks on Windows.
My first example had the menu being called from the Frame because I couldn''t figure out
how to call the menu from my XRC. Shortcuts worked nicely.
Example 1:
menu.append(Wx::ID_EXIT, "E&xit\tAlt-X", "Quit this program")
tool.append(Wx::ID_PHOTO, "&MS Picture
2005 Jul 26
10
Patch for wxRuby2
Ok so I made a lot of changes and the controls sample works pretty good now.
What I changed or added:
- Got all my modifications meshed into wxRuby2.
- Added constructors to wxIcon.h
- Changed Xrc.i to XmlResource.i and changed wxXrc to wxXmlResource
within the file.
  I also had to change Xrc to XmlResource in rakewx.rb.
- For backwards compatability with wxRuby 0.6 I added the subclass methods