Displaying 20 results from an estimated 600 matches similar to: "Patch and files to add Listbook"
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
2008 Jan 11
9
[ wxruby-Bugs-17013 ] Notebook#get_current_page
Bugs item #17013, was opened at 2008-01-11 06:00
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=218&aid=17013&group_id=35
Category: Missing API call
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Daniel Brumbaugh Keeney (db-keen)
Assigned to: Nobody (None)
Summary: Notebook#get_current_page
Initial Comment:
Notebook#get_current_page
2004 Aug 26
18
wxRuby 0.5.0 has been released!
wxRuby 0.5.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.
Please report any bugs or feature requests here:
http://rubyforge.org/tracker/?group_id=35
Changes in this release include:
* Added XRC (Xml Resource File) support.
* Added totally awesome HTML widget from Tobi
2005 Aug 29
3
added Choicebook
Here are the new files in a zip and the patches to existing.
Also added Listbook values to parents.rb that I forgot when adding that.
Sean
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/wxruby-users
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 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
2005 Aug 19
6
Listbook patch
Small patch to correct spelling of lemonade. Should ask Sean if he
really wanted it to be lemonaid. If not, here''s the patch.
On another note... This sample works! Kudos. It is odd that the
textbox doesn''t scroll. I suppose I may patch that, too.
Roy
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
2007 Jul 04
5
loading menu using XmlResource
Hi,
i''m evaluating XmlResource: loading frame, dialogs and access widgets is ok
but i''m not able to load menu bar and menu using the corresponding methods
XmlResource#load_menu_barXmlResource#load_menui get the error saying ''XML
resource ''Opzioni'' (class ''wxMenu'') not found!'' trying to load a menu and
''XML resource
2006 Aug 10
3
update on samples
Hi all
Have been taking a look at the samples to see what''s broken. Not looking
TOO bad overall, but a few problems we should try and tackle before alpha:
Firstly, I have a few commits (minimal, dialogs, unicode) - anyone else
been working on these or can I go ahead?
One general issue is that many of the samples rely on being run from
their own directory, but don''t enforce
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
2005 Aug 19
9
Patch for listbook.rb
Attached is a patch file for listbook.rb
1) Message box scrolls properly now
2) Blank lines are skipped when adding pizzas and ice cream
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/wxruby-users
2005 Aug 25
2
listbook.rb patch
Hopefully a good listbook.rb patch
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/wxruby-users
2008 May 13
2
NotebookSizer? / Resizing a listbook
There seems to be a NotebookSizer in C++ wxWidgets, is it in wxRuby or
is it going to be? Not a lot of info to be found about that one.
I''ve been trying to apply sizers to a Listbook but nothing goes at it
should be. Nothing is visible until I resize the top frame a little and
in best case I can get either horizontal grow but not simultaneous
vertical grow.
Would anyone mind showing me
2007 Apr 29
0
[987] branches/wxruby2/wxwidgets_282/samples/listbook/listbook.rb: Use default constructor before load_frame_subclass to avoid GTK crash
<!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 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 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 Mar 06
0
[ wxruby-Bugs-9091 ] Listbook sample is broken on Linux
Bugs item #9091, was opened at 2007-03-06 14:24
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=218&aid=9091&group_id=35
Category: Incorrect behavior
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Nobody (None)
Assigned to: Kevin Smith (qualitycode)
Summary: Listbook sample is broken on Linux
Initial Comment:
For some reason the
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 Sep 24
7
wxRuby build problems
I''ve just tried to build wxRuby on a debian/unstable (i386) platform.
I went to rubyforge.org and downloaded wxruby-0.5-src.tar.gz.
<http://rubyforge.org/frs/download.php/1254/wxruby-0.5-src.tar.gz>
I have ruby 1.8.2 installed on my system. I needed to install the
debian package ruby1.8-dev in order to get mkmf.rb. That solved my
first problem. So then i ran "ruby
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,