Displaying 13 results from an estimated 13 matches for "wxxrc".
2003 Oct 01
1
wxXRC library
Hi,
I started developing with wxRuby with the 0.1.0 release, and have been very
pleased. As a ruby and wxWindows fan, I was happy to see the wxruby
project, and have been very impresed with the implementation.
I''ve been working on supporting the XML resources (wxXRC), and have an
issue I''d like some advice on. XRC plugged in very nicely, and I was able
to query resources. However, XRC depends on the wxWindow::FindWindowByFoo()
methods. The problem is that since XRC creates the controls without
wxruby''s knoweledge, they don''t exist in...
2007 Jul 04
5
loading menu using XmlResource
...#39;'XML resource ''ID_MENUBAR'' (class ''wxMenuBar'') not found!'' trying to load a
menu bar.
Here is my xml:
<?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">
<style>wxCAPTION|wxSYSTEM_MENU|wxMINIMIZE_BOX|wxCLOSE_BOX</style>
<size>300,300</size>
<title>wxnc</title>
<object...
2009 Nov 23
1
xrcise not working
...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">
<object class="wxFrame" name="MyFrame2" subclass="minFrame">
<style>wxDEFAULT_FRAME_STYLE|wxTAB_TRAVERSAL</style>
<size>500,300</size>
<title>Minimal</title>...
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 to
XmlResource.
- Changed line 5 of wx.i from wxruby2 to wx, could not get wxruby2 to
work. I also
changed line 13 in fixmodule.r...
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">
<style>wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxMINIMIZE_BOX|wxCLOSE_BOX|wxFULL_REPAINT_ON_RESIZE</style>
<size>300,400</size>
<title>wxn...
2007 Nov 12
4
XRCise says "Cannot create wrapper for subclass of wxWizard"
....9.2-i386-mswin32
wx_sugar 0.1.19
Windows XP Professional 5.1.2600
My XRC file:
---------------------------------------------------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<resource version="2.3.0.1" xmlns="http://www.wxwidgets.org/wxxrc">
<object class="wxWizard" name="ID_MEWIZARD" subclass="MeWizard">
<style>wxDEFAULT_DIALOG_STYLE|wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX</style>
<exstyle>wxWIZARD_EX_HELPBUTTON</exstyle>
<...
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
2009 Mar 27
0
xrciser problem
...t;str" here so tried debugging -- got an error saying
ruby-debug not working with Ruby 1.9.1 yet.
Any clues as to what is going on? Here is the xrc:
<?xml version="1.0" encoding="UTF-8"?>
<resource version="2.3.0.1" xmlns="http://www.wxwidgets.org/wxxrc">
<object class="wxFrame" name="MyFrame1" subclass="MyFrame">
<style>wxDEFAULT_FRAME_STYLE|wxCAPTION|wxCLOSE_BOX|wxTAB_TRAVERSAL</style>
<bg>#b1bdd1</bg>
<size>590,612</size>
<title&...
2010 Jun 22
1
Stuck noobie: XRC/xrcise woes
...ten code (in
this case, an exercise taken from the web) that calls that
xrcise-generated rb file; and 4) the error message.
1)
###### the xrc file #####
<?xml version="1.0" encoding="UTF-8"?>
<resource version="2.3.0.1" xmlns="http://www.wxwidgets.org/wxxrc">;
<object class="wxFrame" name="ID_WXFRAME" subclass="TextFrameBase">
<style>wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX</style>
<size>400,300</size>
<title>From Scratch</title>...
2009 Aug 10
2
xrcise -o test.rb ui.xrc
...required)>''
from C:/ruby/bin/xrcise:19:in `load''
from C:/ruby/bin/xrcise:19:in `<main>''
File : ui.xrc
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<resource xmlns="http://www.wxwindows.org/wxxrc" version="2.3.0.1">
<object class="wxFrame" name="frmMain" subclass="XrcFrameMain">
<style>wxDEFAULT_FRAME_STYLE|wxTAB_TRAVERSAL</style>
<size>500,300</size>
<title>Test</title>
<object cl...
2009 Apr 03
2
Problem with spacing
...e doing this) the .xrc file for this
screen follows. I want to thank everyone willing to look at this and
help teach this beginner with wxRuby. Here it is:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<resource xmlns="http://www.wxwindows.org/wxxrc" version="2.3.0.1">
<object class="wxFrame" name="mainframe" subclass="ContactFrameUI">
<style>wxDEFAULT_FRAME_STYLE|wxTAB_TRAVERSAL</style>
<size>574,336</size>
<title>Contact Management</title>...
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, "")
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