similar to: Stuck noobie: XRC/xrcise woes

Displaying 20 results from an estimated 110 matches similar to: "Stuck noobie: XRC/xrcise woes"

2007 Nov 02
11
xrcise tutorial, undefined method ''upper_bt''
Hi I''m trying to follow the tutorial on xrcise at http://wxruby.rubyforge.org/wiki/wiki.pl?UsingXRCise But I keep getting the following error when I try to run the example; tutorial.rb:21:in `initialize'': undefined method ''upper_bt'' for #<CaseChangeFrame:0x2d610f8> (NoMethodError) from tutorial.rb:28:in `new'' from
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 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 Nov 24
0
xrcise now works
Hi Mario, The following change to outputter.rb did work for me. It looks like adding a routine to string should also work but it didn''t for me. Thanks for your help. -Philip ===== from RubyForge ========== Date: 2009-11-18 00:25 Sender: Konstantin Shabanov After changing ''each'' method to ''each_line'' in outputter.rb on lines 39 and 46 xrcise code
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">
2008 Mar 05
21
wxruby, XRC, DialogBlock
I''ve been trying to figure out the best method for generating GUI''s with Ruby. I ended up using DialogBlock because it seems like the fastest way. But not I have to work backwards and have not done this before. How do I go from the file I generate in DialogBlock to a code in Ruby? -- Posted via http://www.ruby-forum.com/.
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)
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">
2009 Mar 27
0
xrciser problem
I built a Windows GUI using DialogBlocks v4.29, saved the resulting XRC for processing with wxRuby''s xrciser tool. Following Ruby products installed: wxRuby is v 2.0.0 wxSugar is v0.1.22 Ruby is v1.9.1 Rubygems is v1.3.1 Running xrciser on the file gives the following: C:\ruby>xrcise -o toolgui.rb tool.xrc
2007 Oct 30
3
[Weft QDA users] Using WeftQDA for Mailing-List Analysis
Hi Alex, Hi Weft-Users! I am looking for a tool for doing a qualitative analysis of mailing-list data. This means I have a *lot* of individual documents (the typical case: around 500-5000 emails), belonging to the same "super-document" (a mailing list). I have looked at several tools and I like that Weft is public domain and written in Ruby, so I want to figure out whether it
2007 Oct 23
0
wxSugar 0.1.18
Coinciding with the wxRuby 1.9.2 release, we''ve got a new version of wxSugar to go with it: http://rubyforge.org/frs/?group_id=35 or gem install wx_sugar == WHAT''S NEW == The main exciting new feature in this release is a new tool called "xrcise" to make working with visual GUI designers such as DialogBlocks *much* easier. This tool generates all the code you
2007 Nov 08
1
wxSugar 0.1.19
Hi We''ve just released an updated version of wxSugar, version 0.1.19. http://rubyforge.org/frs/?group_id=35 The only change in this version is that it contains a workaround for a ?bug introduced in REXML packaged with ruby 1.8.6, that meant that the XRCise tool[1] would not work properly. alex [1] http://wxruby.rubyforge.org/wiki/wiki.pl?UsingXRCise
2010 Aug 12
2
wxRichTextCtrl not Working through wxFormBuilder
I''ve used wxFormBuilder to put a wxRichTextCtrl on my form. After doing this, I run xrcise and try to use the control. The variable for the rich text control is a FixNum. On examination, I saw that the class name in the xrc file is "unknown". Is there no way to use this control without manually laying out the controls - or writing this routine in C++? Does anyone know a
2009 Apr 02
1
Controlling vertical position
First, I want to thank everyone here who''s been helping me learn wxRuby. The biggest problem I''m having is getting the layout of a screen right. Right now, I have a dialog with several controls on it. With one exception, it looks good. I''m using wxFormBuilder and Xrcise to do the generation. I''m using nested box sizers to try to get things into the right
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
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 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
2007 Nov 14
0
[ wxruby-Bugs-15633 ] Cannot load a subclass of Wx::Wizard from XRC
Bugs item #15633, was opened at 2007-11-14 22:32 You 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
2010 Nov 13
2
Scrolling / wxPanel / wxFlexGridSizer
I have a problem getting scroll bars to become active. Scrollbars appear but do not actually scroll. The problem I am trying to solve is to list a large number of key/value pairs. I looked to use PropertyGrid but did not find it in wxruby 2.0.1. I''m really stuck and would appreciate any help. Thanks, Dave Details: I am starting with an .xrc file containing: ...
2010 Jan 24
13
Where can I find a list of events for each widget?
I''ve searched the documentation like crazy but I can''t seem to find the events for each of the widgets. Any info on this would be greatly appreciated. -- Posted via http://www.ruby-forum.com/.