search for: xrc

Displaying 20 results from an estimated 115 matches for "xrc".

Did you mean: rc
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...
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 access...
2007 Apr 29
0
[988] branches/wxruby2/wxwidgets_282/samples/xrc/xrc_sample.rb: Explanatory note on use of default constructor with XRC
...: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>[988] branches/wxruby2/wxwidgets_282/samples/xrc/xrc_sample.rb: Explanatory note on use of default constructor with XRC</title> </head> <body> <div id="msg"> <dl> <dt>Revision</dt> <dd>988</dd> <dt>Author</dt> <dd>brokentoy</dd> <dt>Date</dt> <...
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. Let me know...
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, "") $xml.load_frame_subclass...
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, popul...
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 http://rubyforge.org/mailman/listinfo/wxruby-users
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/li...
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 Encrypted mail welcome! Fingerprint: F1CE D062 0CA9 ADE3 349B 2FE8 9...
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" subclass="MyVeryOwnListCtrl" name="custom_list"> ... </object> When I do this, however, I get a message from WxWidgets saying...
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, using the one-click Ruby installer and the one-click WxRuby installer. In the initialize() method...
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">...
2006 Dec 23
0
[796] trunk/wxruby2/samples/xrc/xrc_sample.rb: Simplify some method calls, rubyify and add a little more explanation
...solid #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>[796] trunk/wxruby2/samples/xrc/xrc_sample.rb: Simplify some method calls, rubyify and add a little more explanation</title> </head> <body> <div id="msg"> <dl> <dt>Revision</dt> <dd>796</dd> <dt>Author</dt> <dd>brokentoy</dd> <dt>Date&l...
2010 Jun 22
1
Stuck noobie: XRC/xrcise woes
...et an "uninitialized constant" error for that widget when I run my program. I don''t understand it at all. The two widgets are the same, except they have different class names and different id names. Is there some limit (a limit of 1) to the number of classes you can create in an XRC file or xrcise-generated rb file? Do you have to get DialogBlocks to create separate files for each new class apart from the first class, or something? I am sure I am missing something simple. But I have spent hours on this, and can''t figure it out. Please! Help! Me! warm regards John...
2007 Aug 13
4
Anvil: an application framework
Hi everyone! I have been working on idea for an application framework in ruby the wraps around the wx ruby gem. The goal is to make a framework that is as easy as rails create applications using concise and dry ruby code. We are in need of some experienced help! If you are interested checkout the project on ruby forge. Anvil.rubyforge.com and the irc channel is #rubyanvil on irc . My buck on irc
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 not working. The simplest of my program is: begin...
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
...ay: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</dt> <dd>2007-07-04 13:43:19 -0400 (Wed, 04 Jul 2007)</d...
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
2008 Jun 13
7
Rubyscript2exe undefined ''run'' method
...e Ruby installed on their Computer. I am attaching my Ruby code: begin require ''rubygems'' rescue LoadError end require ''rubyscript2exe'' require ''Wx'' include Wx require ''random_frame.rb'' RUBYSCRIPT2EXE.bin = ["random.xrc"] RUBYSCRIPT2EXE.bin = ["random_frame.rb"] def random_process file = @file_path.split("\\") @file_path = file.join("\\\\") @file_path << "\\Random.txt" random_file = File.new(@file_path , "w") i = 0 max = @max_number.to_i b = 10...
2007 Nov 14
0
[ wxruby-Bugs-15633 ] Cannot load a subclass of Wx::Wizard from XRC
...ou can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=218&aid=15633&group_id=35 Category: None Group: None Status: Open Resolution: None Priority: 3 Submitted By: Alex Fenton (brokentoy) Assigned to: Nobody (None) Summary: Cannot load a subclass of Wx::Wizard from XRC Initial Comment: XRC allows a top-level window to be derived from Wx::Wizard. However, it is not possible to load this into wxRuby. Using load_dialog_subclass does not work - WxWidgets complains. This is a problem for XRCise, among others ---------------------------------------------------------...