Displaying 20 results from an estimated 500 matches similar to: "NotebookSizer? / Resizing a listbook"
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
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
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
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:
2005 Jul 30
1
Latest checked in files
The latest tarball appears to require SWIG to build. I''m guessing one
of the swig output files is missing in the CVS. It stops here:
NotebookEvent.cpp
swig -noruntime -noextern -w401 -w801 -w515 -c++ -ruby -o
src/NotebookSizer.cpp swig/classes/NotebookSizer.i
Exception `RuntimeError'' at
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.5.4/lib/rake.rb:485 - Command
failed with
2005 Sep 11
6
Patch to wxNotebook.rbw
Patch to the notebook example to remove the call to the deprecated
NotebookSizer. It appears to work just fine without the sizer.
Roy
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/wxruby-users
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
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
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 May 21
13
First drop of new memory management
Hi
Just a quick update on memory leaks etc. I''ve just dropped a bunch of
patches with a new approach to linking ruby''s GC to Wx''s memory
handling. Still some work to do - eg bigdemo.rb falls over quite quickly
- but working well for me on other samples.
Briefly, it disposes of fixdeleting. For almost all objects that aren''t
Windows, they should now be
2006 Sep 06
12
Patch to wxWindow.h
This patch fixes background color problems (at least on Windows). It
uses the dreaded ''FIXME''
My plan for next weekend is to try building wxPython from the source to
see how they manage to achieve several things with SWIG that we''re not
(yet) able to. If I''m successful it might lead to wrapping a
significant portion of wxWidgets more correctly than
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
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 Aug 21
1
Patch for listbook sample
I made it use ID_EXIT so it follows my previous suggestion to use this
predefined constant.
Sean
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/wxruby-users
2005 Aug 21
2
Latest tarball doesn''t compile
1) SetScrollRange and SetScroll page in wxWindow.h is apparently only
defined for ''microwindows''. No idea what that is but it''s not Windows.
I replaced the #if !__WXGTK__ with #if __WXMICROWIN__
See patched wxWindow.h file.
2) wxIcon does not (on windows at least) descend from wxBitmap. I don''t
have the gtk or mac headers to compare against.
2005 Aug 25
0
Update
Not much new to report. I have been away for a few days. I will spend
part of the weekend going over the samples that are broken so we can get
back beyond the level of functionality we had before the big reworking.
As it sits right now, on Windows the Caret, images, Listbook, Minimal,
Nothing, MDI and XRC samples work just fine. I will have to redo my
patch for listbook with the forward
2007 Sep 23
1
Javascript object to Ruby
Hi,
How do I transfer a big amount of data stored in a javascript client side
object to my Rails application? I want to store this object in my DB and
after get it back some time after.
Thanks
Rene
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send
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
2005 Jul 30
1
classes to be ignored etc
Hi
just a quick update on
http://wxruby.rubyforge.org/wiki/wiki.pl?What_Classes_Are_Implemented_In_Wxruby
I''ve added a clearer comparison of the two versions, plus info on
classes that are being dropped or shouldn''t be implemented b/c standard
library is preferred. obviously these are up for discussion, just my
view based on what''s in ruby by default or easy to