similar to: Patch to move XmlResource back to classes

Displaying 20 results from an estimated 40000 matches similar to: "Patch to move XmlResource back to classes"

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
<!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 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
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
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
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
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''
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
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,
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:
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 Dec 22
0
release plans
Hi all We''ve been a bit quiet for a few weeks, being busy with other things, but now looking at getting some new releases out again. We have lots of nice stuff to get out there: For 1.9.3, we''re looking to target early January. Aside from trying to get a few more bugfixes in, most of the code is now there. As usual, any time you''re able to spend testing SVN trunk
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
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
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:
2005 Jul 19
5
More wxruby-swig changes
I just checked in several changes from Sean Long that should make wxruby-swig work with wx 2.6 as well as 2.5. I also committed his changes to extconf.rb. But could someone please explain to me why anyone would prefer to use extconf.rb instead of rake? It just seems like one more piece of code to maintain, and I don''t like extra code. Sean: The other diffs in the patch you sent were
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 29
0
[986] branches/wxruby2/wxwidgets_282/swig/classes/Frame.i: Default constructor is required for use 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:
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
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