similar to: [1099] trunk/wxruby2/swig/classes/XmlResource.i: Permit Dialogs and Frames with no parents to be created via XRC; add comments

Displaying 20 results from an estimated 1000 matches similar to: "[1099] trunk/wxruby2/swig/classes/XmlResource.i: Permit Dialogs and Frames with no parents to be created via XRC; add comments"

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
2008 Jan 02
0
[ wxruby-Bugs-16760 ] src/XmlResource.h:19: error: expected class-name before '', '' token
Bugs item #16760, was opened at 2008-01-02 05:47 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=218&aid=16760&group_id=35 Category: None Group: current Status: Open Resolution: None Priority: 3 Submitted By: Nobody (None) Assigned to: Nobody (None) Summary: src/XmlResource.h:19: error: expected class-name before '','' token Initial
2007 Apr 13
0
[962] branches/wxruby2/wxwidgets_282/doc/textile/xmlresource.txtl: Fixed the documentation for load_*_subclass, where * is [Dialog, Panel, Frame].
<!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 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
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
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
2006 Dec 23
0
[796] trunk/wxruby2/samples/xrc/xrc_sample.rb: Simplify some method calls, rubyify and add a little more explanation
<!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 Jul 04
0
[1098] trunk/wxruby2: Test return value from XmlResource#load and raise an exception on failure
<!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 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
2010 Jun 22
1
Stuck noobie: XRC/xrcise woes
Hi, I''m teaching myself to use wxRuby and DialogBlocks to create a front end for a Ruby program I wrote. And I''m hopelessly stuck! In DialogBlocks (or indeed wxFormBuilder, which gives me the same problem) I can create a widget, give that widget a new id and class name (in the example I created below, text_box1 and CaseChangeTextCtrl1, respectively), and then add a module which
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 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
2009 Nov 28
1
'Are you sure?' custom dialog not exiting cleanly
The following program does not exit cleanly after pressing ''Yes'' when asked ''Are you sure''? How do I free up the resources after exiting? You can use wxsugar (xrcise) to try out this mini program if you wish to create sample1.rb . Thank you. -Philip =========== asample1.rb ==================================================== require ''wx''
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 Dec 13
0
[ wxruby-Bugs-16279 ] undefined methods ''load_panel_subclass'' for Wx::XmlResource
Bugs item #16279, was opened at 2007-12-12 20:05 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=218&aid=16279&group_id=35 Category: Missing API call Group: current Status: Open Resolution: None Priority: 3 Submitted By: Nobody (None) Assigned to: Nobody (None) Summary: undefined methods ''load_panel_subclass'' for Wx::XmlResource Initial
2007 Apr 29
0
[988] branches/wxruby2/wxwidgets_282/samples/xrc/xrc_sample.rb: Explanatory note on use of default constructor with XRC
<!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 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
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 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
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"