Displaying 20 results from an estimated 700 matches similar to: "xrc file and WxGrid"
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 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)
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
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.
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">
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 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"
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
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">
2009 Apr 03
2
Problem with spacing
I''m having the devil''s time trying to get things laid out correctly.
I''ve attached a screenshot so that you can get an idea of what I''m
seeing. I''ve got a very unattractive space under the two combo boxes,
and another one under the buttons. I don''t understand how to reduce
this.
I know it''s impossible to guess what idiocy I might have
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
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 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 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/.
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 be printed out as the
failed XRC build.
The output (in both
2017 Apr 29
1
[PATCH] drm/nouveau/fb/gf100-: Fix 32 bit wraparound in new ram detection
A missing u64 cast causes a 32-Bit wraparound from
4096 MiB to 0 MiB and therefore total 0 MiB VRAM detected
if card has 4096 Mib per FBP.
Signed-off-by: Mario Kleiner <mario.kleiner.de at gmail.com>
---
drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgf100.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgf100.c
2004 Nov 21
7
wxRuby 0.6.0 is released!
wxRuby 0.6.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.
Changes in this release include:
* Additional widget support in XRC (thanks to Marshall Elfstrand)
* Addition of wxScrollbar (thanks to Hans Harmon of Pinnacle
Technologies Inc)
* Addition of wxGrid event handlers (thanks
2004 May 16
1
RE: wxGrid example
Kevin, should we check this in to CVS as one of the our distributed samples?
Curt
-----Original Message-----
From: Shashank Date [mailto:sdate@everestkc.net]
Sent: Sunday, May 16, 2004 4:30 PM
To: wxruby-users@rubyforge.org
Cc: curt@hibbs.com
Subject: wxGrid example
I am using the binary install of wxRuby 0.3.0 on WinXP(Home)
I could not find an example of using wxGrid, so I
2004 Jul 07
2
wxGrid Event handling work around?
Hi wxRuby gurus,
I remember a while back, Zach Dennis was working on a mini Spreadsheet app using wxGrid when the issue of lack of wxGrid event handling was discussed. I think Kevin (or Assaph?) had suggested some workarounds until the Swig based version is out. Could not figure out from the archives exactly what the final resolution was, but I am stuck at the same spot and am desperately in need