Displaying 20 results from an estimated 100000 matches similar to: "Wiki Update"
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.
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
2007 Apr 29
0
[988] branches/wxruby2/wxwidgets_282/samples/xrc/xrc_sample.rb: Explanatory note on use of default constructor with XRC
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding:
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''
2006 Dec 23
0
[796] trunk/wxruby2/samples/xrc/xrc_sample.rb: Simplify some method calls, rubyify and add a little more explanation
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding:
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
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">
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 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
2005 Aug 10
5
more patches
Here are a few patches 2 small changes and one a little hefty. All are
to *.i files.
SpinCtrl.patch - Changes cWxSpinCtrl.klass to mWxSpinCtrl in rb_define_method.
Dialog.patch - Removed the %ignore wxDialog::wxDialog line, this line
prevents Dialogs working with XRC.
Window.i - Added special code for find_window_* methods so the correct
object type is returned, this is very important when
2007 Jul 28
4
Modeless Dialog causes Application to hang on exit
Hello,
my name is Gregor and I''m new to this list and to wxRuby/wxDialogs.
That''s why I wanted to introduce myself shortly.
I''m a Ruby fan for 2 years now and I''m doing a lot of web development
with Rails and a little Camping and I''m currently writing my Master''s
Thesis around Ruby. You may follow my thoughts on my blog
www.nach-vorne.de if
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"
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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding:
2004 Jul 13
0
Adding to the wiki
I just put up a "Extending wxruby for dummies" which describes how to
wrap your favorite wxWidgets class with a .t file. This does not cover
wxruby-swig, as that is still a work in progress.
Nick
> Zach Dennis wrote:
> >
> > Thanks Curt for the info on the how-to. Would do you recommend as far as
> > living documents? Should I put up something small, simple and
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
2007 May 07
0
[1017] trunk/wxruby2/Changelog: Update changelog with 0.0.40 changes
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding:
2004 Jul 20
4
New Tutorial
There is a new Tutorial wiki page for installing wxRuby on various systems.
Comments?
Nick
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
2004 Jul 20
6
The great MSVC wxruby-swig bug hunt!
Hi everyone,
As Kevin has just announced, wxruby-swig has been moved into CVS as a
toplevel project. It still is not in a "releasable" form yet, but it now
builds on more systems than it doesn''t, and is moving towards stability.
Because of the complexity of the build environment, we''re using rake
(http://rake.rubyforge.org) as a build system instead of the standard
2004 Aug 27
4
SWIG Bug
In trying to add wxTextCtrl to wxruby-swig, I''ve been running into a
problem with the argument conversion that appears to be a SWIG director
bug. It is tied to multiple inheritance, and is related to SWIG
specifically making director''s ''initialize'' take a first argument, but
because ''initialize'' is static there isn''t a self value