search for: xmlresourc

Displaying 20 results from an estimated 32 matches for "xmlresourc".

Did you mean: xmlresource
2008 Jan 02
0
[ wxruby-Bugs-16760 ] src/XmlResource.h:19: error: expected class-name before '', '' token
...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 Comment: The following bug applies to both wxruby-1.9.1 andwxruby-1.9.2 tarballs. g++ -c -I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -O -march...
2007 Apr 13
0
[962] branches/wxruby2/wxwidgets_282/doc/textile/xmlresource.txtl: Fixed the documentation for load_*_subclass, where * is [Dialog, Panel, Frame].
...x 0;} #patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;} #patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;} #patch .lines, .info {color:#888;background:#fff;} --></style> <title>[962] branches/wxruby2/wxwidgets_282/doc/textile/xmlresource.txtl: Fixed the documentation for load_*_subclass, where * is [Dialog,Panel,Frame].</title> </head> <body> <div id="msg"> <dl> <dt>Revision</dt> <dd>962</dd> <dt>Author</dt> <dd>seanlong</dd> <dt>Date&lt...
2007 Jul 04
0
[1098] trunk/wxruby2: Test return value from XmlResource#load and raise an exception on failure
...:10px 0;} #patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;} #patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;} #patch .lines, .info {color:#888;background:#fff;} --></style> <title>[1098] trunk/wxruby2: Test return value from XmlResource#load and raise an exception on failure</title> </head> <body> <div id="msg"> <dl> <dt>Revision</dt> <dd>1098</dd> <dt>Author</dt> <dd>brokentoy</dd> <dt>Date</dt> <dd>2007-07-04 12:11:23 -040...
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
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
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...
2007 Jul 04
0
[1099] trunk/wxruby2/swig/classes/XmlResource.i: Permit Dialogs and Frames with no parents to be created via XRC; add comments
...#ccc;margin:10px 0;} #patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;} #patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;} #patch .lines, .info {color:#888;background:#fff;} --></style> <title>[1099] trunk/wxruby2/swig/classes/XmlResource.i: Permit Dialogs and Frames with no parents to be created via XRC; add comments</title> </head> <body> <div id="msg"> <dl> <dt>Revision</dt> <dd>1099</dd> <dt>Author</dt> <dd>brokentoy</dd> <dt>Date<...
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 _______________________________...
2007 Dec 13
0
[ wxruby-Bugs-16279 ] undefined methods ''load_panel_subclass'' for Wx::XmlResource
...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 Comment: Got the error on WxRuby 1.9.2 on Windows. undefined method ''load_panel_subclass'' for #<Wx::XmlResource:0xa10cb74> (NoMethodError) ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/t...
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 to XmlResource. - Changed line 5 of wx.i from wxruby2 to wx, could not get wxruby2 to work. I also changed l...
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
2007 Apr 14
0
[965] branches/wxruby2/wxwidgets_282/doc/textile: Misc.
...es/wxruby2/wxwidgets_282/doc/textile/treectrl.txtl</a></li> <li><a href="#brancheswxruby2wxwidgets_282doctextilewindowtxtl">branches/wxruby2/wxwidgets_282/doc/textile/window.txtl</a></li> <li><a href="#brancheswxruby2wxwidgets_282doctextilexmlresourcetxtl">branches/wxruby2/wxwidgets_282/doc/textile/xmlresource.txtl</a></li> </ul> </div> <div id="patch"> <h3>Diff</h3> <a id="brancheswxruby2wxwidgets_282doctextilecontrolwithitemstxtl"></a> <div class="modfi...
2007 Apr 28
6
XRC Problem
...:Frame include XrcEnabled def initialize() super(nil,-1,"RubyIM") $xml.load_frame_subclass(self,nil,"ContactList") # Grab all the controls for what I''m creating end end class RubyIMApp < Wx::App def on_init $xml = Wx::XmlResource.get(); $xml.init_all_handlers(); xrc_file = File.join( File.dirname(__FILE__), "xrc", "ContactList.xrc") $xml.load(xrc_file) main = ContactList.new() main.show(true) end end RubyIMApp.new.main_loop() The wxGlade xrc file so...
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
2009 Nov 28
1
'Are you sure?' custom dialog not exiting cleanly
...edited directly; instead, inherit from # this class and extend its behaviour there. # # Source file: sample1.xrc # Generated at: 2009-11-27 18:13:59 -0600 class MainFrame < Wx::Frame attr_reader :m_statictext1, :m_butexit def initialize(parent = nil) super() xml = Wx::XmlResource.get xml.flags = 2 # Wx::XRC_NO_SUBCLASSING xml.init_all_handlers xml.load("sample1.xrc") xml.load_frame_subclass(self, parent, "MyFrame1") finder = lambda do | x | int_id = Wx::xrcid(x) begin Wx::W...
2006 Dec 23
0
[796] trunk/wxruby2/samples/xrc/xrc_sample.rb: Simplify some method calls, rubyify and add a little more explanation
...bsp&nbsp&nbsp&nbsp&nbsp# Load the dialog from XRC. We define $xml in on_init. </span><span class="cx"> &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp# We could use XmlResource.get() over and over again, but </span><span class="cx"> &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp# honestly, thats just too much work. </span><del>-&nbsp&amp...
2007 Dec 22
0
release plans
...e to this version after the 1.9.3 release. I''ve just checked in a bunch of code to wxSugar that translates XRC (eg from DialogBlocks) into pure (wx)Ruby code. This is going to be integrated into xrcise - this approach has a lot of advantages over our current way of just scaffolding the XmlResource loader code. So we may be able to put a WxSugar release out first with this and Jari''s syntax enhancements. Anything I''ve missed, or other work we need to do, please say... Lastly, happy christmas to everyone. It''s been a really successful year for wxRuby, going fr...
2004 Oct 06
11
find_window_by_xxx doesn''t find Gauge or BitmapButton
...he Gauge object using the Wx::Window.find_window_by_xxx methods. I''m trying this on Windows XP, using the one-click Ruby installer and the one-click WxRuby installer. In the initialize() method of my Wx::Frame subclass, I have the following code: # Load XRC data. xml = Wx::XmlResource.get() xml.init_all_handlers() xml.load("xrctest.xrc") xml.load_frame_subclass(self, nil, "test_frame") # Attempt to get the gauge from the XRC data by ID. id = Wx::xrcid("test_gauge") # Returns the ID, no problem gauge = Wx::Window.find...
2008 May 18
0
[ wxruby-Bugs-20211 ] Unresolved symbol due to linkage error
....o obj/ToolBarToolBase.o obj/ToolTip.o obj/TopLevelWindow.o obj/TreeCtrl.o obj/TreeEvent.o obj/UpdateUIEvent.o obj/Validator.o obj/Window.o obj/WindowCreateEvent.o obj/WindowDC.o obj/WindowDestroyEvent.o obj/WindowDisabler.o obj/Wizard.o obj/WizardEvent.o obj/WizardPage.o obj/WizardPageSimple.o obj/XmlResource.o obj/RubyConstants.o obj/RubyStockObjects.o obj/Functions.o obj/Mac.o obj/wx.o -pthread -Wl,-Bsymbolic-functions -lwx_gtk2u_stc-2.8 -lwx_gtk2u_gl-2.8 -lwx_gtk2u_richtext-2.8 -lwx_gtk2u_aui-2.8 -lwx_gtk2u_xrc-2.8 -lwx_gtk2u_qa-2.8 -lwx_gtk2u_html-2.8 -lwx_gtk2u_adv-2.8 -lwx_gtk2u_core-2.8 -lwx_bas...
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)