Displaying 20 results from an estimated 500 matches similar to: "Gauge Problem with XRC?"
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,
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/.
2007 Oct 05
7
Which editor
Ok, so I''m new to Ruby and wxRuby. I come from a Basic background
(RealBasic).
Can somebody suggest a decent IDE that is used for wxRuby. Something
where I can paste in code examples and then run them immediately. (I''m a
Windows Vista user)
Any suggestions welcome.
--
Posted via http://www.ruby-forum.com/.
2007 Apr 12
3
I''m looking for a wxwidgets interface builder which can output ruby code
Hi !
well i''m looking for a wxwidgets programming gui ( such as gtk/glade
qt-designer ), which can output ruby code,
i found wxglade, and wxdesigner, but both can''t output ruby files ...
do you one ? ( which runs on linux )
thanks
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
2007 Dec 19
1
Menu Bar KeyBoard Shortcuts.
Hello,
I''m trying to use a wxMenuBar from XRC built with DialogBlocks on Windows.
My first example had the menu being called from the Frame because I couldn''t figure out
how to call the menu from my XRC. Shortcuts worked nicely.
Example 1:
menu.append(Wx::ID_EXIT, "E&xit\tAlt-X", "Quit this program")
tool.append(Wx::ID_PHOTO, "&MS Picture
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 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)
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
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
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
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
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''
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">
2007 Mar 17
2
newbie: listbook sample on fedora5
opens a basic frame (empty) with following errors
(wxruby:17165): Gtk-WARNING **: Attempting to add a widget with type
GtkPizza to a GtkWindow, but as a GtkBin subclass a GtkWindow can only
contain one widget at a time; it already contains a widget of type
GtkPizza
(wxruby:17165): Gdk-CRITICAL **: gdk_drawable_get_depth: assertion
`GDK_IS_DRAWABLE (drawable)'' failed
(wxruby:17165):
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
2007 Aug 02
1
RAD tool for OS X?
Hello everybody, I''ve been getting very impressed with the features of
wxRuby. I was wondering...
IS THERE ANY GRAPHIC ENVIRONMENT DEVELOPMENT TOOL FOR RUBY?
Something like Boa Constructor for PYTHON or Glade?
I was forgetting... I''m thinking for MACINTOSH OS X but! deploying for
Windows and Mac.
I Know I can use wxGlade and use the XML saved file to handle the
events in
2004 Jun 17
2
Re: win32 in Ruby
Hi Tim,
> --- Tim Sutherland <timsuth@ihug.co.nz> wrote:
> Date: Thu, 17 Jun 2004 14:55:06 +1200
>
> Okay. wxWidgets uses native widgets. It should have
> worked.
>
> What''s wxRuby like?
wxRuby is a cross-platform rapid development GUI
building framework. I find it very intuitive and easy to use.
Like it!
> I noticed that there are several
2007 Oct 23
6
wxRuby 1.9.2
I''m happy to announce that wxRuby 1.9.2 is now available from Rubyforge.
As usual we''ve got source and binary gems for Win32, OS X and Linux:
http://rubyforge.org/frs/?group_id=35
or
gem install wxruby
== WHAT''S NEW ==
This release has a mix of new syntax features, new classes, and lots of
minor fixes and additions
* New shorter syntax for event handlers
* New