Displaying 20 results from an estimated 500 matches similar to: "Documents, Views and DocManagers"
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
2003 Nov 06
4
wxWindows 2.4.2
My system just upgraded itself to wxGtk 2.4.2. I re-built everything,
and had no compile errors. The minimal sample worked fine. I haven''t had
a chance to do more testing.
But, it appears that wxruby is compatible with wxWindows 2.4.2.
Kevin
2007 Apr 18
5
Turning off spell checker in TextCtrl
Hi,
I''m running WxRuby2 on Mac OS X. Something is spell checking the text
that I put into it; words it doesn''t recognize get an annoying red
line under them. How can I turn the spell checker off?
Thanks,
Paul
2006 Aug 24
5
TreeCtrl background?
On my windows build, I just noticed that the background of my TextCtrl''s
is grey by default, and when I try to set the default style I get the error:
TestTextCtrl.rb:15:in `set_default_style'': undefined method `'' for
#<Wxruby2::TextCtrl:0x360a0c4> (NoMethodError)
from TestTextCtrl.rb:15:in `initialize''
from TestTextCtrl.rb:24:in
2011 Feb 12
3
[PATCH] fix uncheck memory allocations
To make Btrfs code more robust, several return value checks where memory
allocation can fail are introduced. I use BUG_ON where I don''t know how
to handle the error properly, which increases the number of using the
notorious BUG_ON, though.
Signed-off-by: Yoshinori Sano <yoshinori.sano@gmail.com>
---
fs/btrfs/compression.c | 6 ++++++
fs/btrfs/extent-tree.c | 2 ++
2006 Sep 21
9
problem with TextCtrl#get_insertion_point
I''m trying to un-ignore TextCtrl#get_selection. The typemaps work fine,
but in the process it breaks get_insertion_point.
This is because (on Mac, tho not GTK), get_insertion_point calls
get_selection internally and simply returns the first value. I think the
return value is being converted from a long to a ruby int twice, because
when get_selection is wrapped, it works fine but the
2006 Apr 23
2
wxTextCtr.h.patch
I think I had to do this to get the tarball to compile on Windows
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/wxruby-users
2007 Nov 19
3
wxRuby textArea??
I want to know wxruby can make textArea like java??
I can only use textbox with it but it has problem when I must use text
that has many line, it can''t new line
please help me
--
Posted via http://www.ruby-forum.com/.
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
2010 May 18
8
gem for snow leopard?
Does anybody plan to post binary rem for SL? Id''love to rely on its availability in the installation script... As wx included in installation package makes it huge...
Sergey Chernov
real.sergeych@gmail.com
2006 Apr 27
5
Major Breakthrough?
Attached are patches to make the textctrl.rb sample work fully. Note
the new %directorargout typemap I added to fix wxWindows calling into
SWIG. I don''t know if this can fix all such problems or not. Let me
know what you think.
I also rubified the sample a little bit more. Also, note that I fix the
<< operator so the function can be called. I hope I did this right.
Roy
2005 Aug 15
16
swig_up
Tracing down some things to add in validators and I''ve run across
something that kinda bothers me...
In order to implement validators you have to override the clone method.
The directors seems to be set up to specifically handle this situation.
However, whenever C++ calls back to the object''s methods the swig_get_up
function is returning false. It seems like swig_up
2006 Sep 02
1
OK, I was wrong...
You -do- have to still declare something virtual in the derived class
for SWIG to wrap it properly. Let''s not apply any of my patches yet
until I rework them.
Roy
2006 Aug 24
1
New wxTextAttr.h
When I was trying to find the problem Mark Ping was having with
set_default_style in TextCtrl I thought the problem might have been
with wxTextAttr, it was not but I updated the .h file in the process.
Because the file has changed so much from the last version I am
uploading the whole file.
Note that the change is not just the removal of comments some of the
method signatures have changed with wx
2006 Sep 03
9
Patch files to implement AcceptFocus
These files add the virtual function AcceptFocus that was missing from
wxWindow.h. In order to make things right I had to make sure it was
also declared in all the places where wxWindows also changes it. Also,
in wxTextCtrl on Windows GetDefaultAttributes needs to be redeclared. I
haven''t downloaded the Unix and Mac headers for 2.6.3 so I couldn''t see
if it also applies
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 Jun 04
7
I''m ready to build 0.4.0 for Windows
Let me know when you''ve got the cvs repo labeled -- I''m already to go to
build the 0.4.0 installer for Windows.
Curt
2006 Aug 25
3
Patch to wxTextCtrl.rbw
This patch enables the char event and changes the set and kill focus
events to be attached to the correct items
2010 Nov 13
2
Scrolling / wxPanel / wxFlexGridSizer
I have a problem getting scroll bars to become active. Scrollbars
appear but do not actually scroll. The problem I am trying to
solve is to list a large number of key/value pairs. I looked
to use PropertyGrid but did not find it in wxruby 2.0.1. I''m
really stuck and would appreciate any help.
Thanks,
Dave
Details:
I am starting with an .xrc file containing:
...
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