Displaying 20 results from an estimated 150 matches for "textctrl".
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 th...
2007 Jul 04
0
[1104] trunk/wxruby2: Added 2.8 methods to TextCtrl & document them; tidy up header file
...in:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<title>[1104] trunk/wxruby2: Added 2.8 methods to TextCtrl & document them; tidy up header file</title>
</head>
<body>
<div id="msg">
<dl>
<dt>Revision</dt> <dd>1104</dd>
<dt>Author</dt> <dd>brokentoy</dd>
<dt>Date</dt> <dd>2007-07-04 15:08:07 -04...
2008 Jan 14
4
Focus on TextCtrl
Hello.
I have a problem with set focus on a TextCtrl in wxRuby.
I must do something like
Login TextCtrl and set focus on a next TextCtrl by clicking Tab key.
--
Posted via http://www.ruby-forum.com/.
2007 Jul 21
0
[1139] trunk/wxruby2/samples/text/textctrl.rb: Place TextCtrl sample in a panel so gets correct bg color on MSW
...#ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<title>[1139] trunk/wxruby2/samples/text/textctrl.rb: Place TextCtrl sample in a panel so gets correct bg color on MSW</title>
</head>
<body>
<div id="msg">
<dl>
<dt>Revision</dt> <dd>1139</dd>
<dt>Author</dt> <dd>brokentoy</dd>
<dt>Date</dt> <d...
2007 Mar 21
4
Bug in TextCtrl constructor
Howdy,
I''ve uncovered a bug in the constructor for TextCtrl (originally
uncovered while using WxSugar but it appears to apply to WxRuby itself
as well). Here''s the output from irb:
# ------
irb(main):001:0> require ''wx'';
irb(main):002:0* ctl =
Wx::TextCtrl.new(nil,-1,"",Wx::DEFAULT_POSITION,Wx::DEFAULT_SIZE,0,Wx::DE...
2007 Jun 17
2
Wx::TextCtrl and wxMSW
Hey Alex,
Found a solution to the problem that was occuring with wxMSW and the
Wx::TextCtrl, have yet to verify that this will work in linux, but my little
trick to the matter, was simple, thanks to the things that are provided with
both Wx::TextCtrl, and Wx::Window classes.
I''m providing this bit of information for thoes who may have trouble with
dealing with Wx::TextCtrl, _AND...
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...
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
2007 Aug 11
2
TextCtrl.new
Salut alex,
j''utilise ce bout de code pour faire apparaître mon texte dans ma fenêtre:
@dou = TextCtrl.new(@s, -1, "", Point.new(10, 70), Size.new(410, 210), TE_RICH | TE_MULTILINE)
@dou << "je vais à l''école"
le problème c''est que l''encodage ne marche pas.Je ne peut pas mettre l''accentuation.J''ai essayer pas mal de solution dif...
2006 Aug 24
0
Re: TextCtrl background? (was TreeCtrl background?)
You had me looking in TreeCtrl at first with the previous subject line :)
I too got an error and do not see an obvious reason, Kevin or Roy may
have a better idea as they are better with SWIG than I am.
You may want to put some printf''s in the generated TextCtrl.cpp file
within the SetDefaultStyle method and find where it is crashing.
The error in Mac OS X is:
test.rb:15:in `set_default_style'': undefined method `'' for
#<Wxruby2::TextCtrl:0x55832c> (NoMethodError)
from test.rb:15:in `initialize''
from test.r...
2006 Feb 19
1
TextCtrl width
What''s the best way to specify the width of a TextCtrl in characters
instead of pixels?
--
R. Mark Volkmann
Partner, Object Computing, Inc.
2007 Sep 03
1
API survey results & update
...minister, after all - but it
was decisively a yes. 90% (9/10) supported adding keyword constructors,
and 77% (7/9) ruby-style accessors. The changes are summarised at the
bottom of the email.
We hope to have a 1.9.1 release incorporating these in the next week or
two. 1.9.1 will also add StyledTextCtrl (Scintilla) support, as well as
BitmapComboBox and RendererNative. Lastly it has some useful bugfixes to
methods - eg TreeCtrl#on_compare_items; Choice#append;
ListCtrl#get_item_rect
cheers
alex
1) All widgets and frames can be created using keyword args. This is
really handy, for example, if...
2008 Jun 02
1
Add TextCtrl to toolbar
Hi,
How can I add a textctrl to a toolbar?
I tried toolbar.add_control(TextCtrl.new(self, ID_ANY)), but that
returns false and the control gets placed wherever.
Thanks
2009 Aug 14
1
TextCtrl performance for large files
I''ve been trying to speed up my program, which uses a TextCtrl, for
large files by getting rid of code using line numbers. However, it
seems that just using the get_range method is slowing down my program
for large files. I don''t know whether I''m doing something wrong or
there''s a way to access the text without significant slowing...
2007 Jun 08
0
[ wxruby-Bugs-11446 ] Wx::TextCtrl behaves wrong when scrolling
...08 10:48
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=218&aid=11446&group_id=35
Category: Incorrect behavior
Group: current
Status: Open
Resolution: None
Priority: 3
Submitted By: Mario Steele (eumario)
Assigned to: Kevin Smith (qualitycode)
Summary: Wx::TextCtrl behaves wrong when scrolling
Initial Comment:
On wxGTK, the behavior of Wx::TextCtrl works as expected, it scrolls smoothly on the text through the buffer. Recently, just checking code on Windows, and found that the Wx::TextCtrl does not scroll smoothly as expected. Instead of scrolling through...
2007 Jan 22
0
[ wxruby-Bugs-8068 ] TextCtrl#append_text doesn''t work when text is in UTF8
...07-01-22 20:27
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=218&aid=8068&group_id=35
Category: Incorrect behavior
Group: current
Status: Open
Resolution: None
Priority: 4
Submitted By: Alex Fenton (brokentoy)
Assigned to: Alex Fenton (brokentoy)
Summary: TextCtrl#append_text doesn''t work when text is in UTF8
Initial Comment:
TextCtrl.append_text should append the passed text to the textctrl''s content. However, if the passed text contains multibyte UTF-8 characters, it will show as blank.
On OS X 10.3, wxruby 0.0.38
---------------------...
2008 May 11
4
Choosing a Sizer
Following alex advices, i''ve used both "text/textctrl.rb" and
"etc/threaded.rb" to build my first wxApp.
I''ve changed the Sizer type mainly (from "Wx::BoxSizer" to
"Wx::FlexGridSizer").
I didn''t find the way to let @log (Wx::TextCtrl) span 2 columns. At the time
of writing it''s growing only...
2007 Oct 02
0
[ wxruby-Bugs-14374 ] TextCtrl TE_RICH and SUNKEN_BORDER (WxRuby1.9.1)
...at 2007-10-02 12:13
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=218&aid=14374&group_id=35
Category: Incorrect behavior
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Christopher Bludau (count_cb)
Assigned to: Nobody (None)
Summary: TextCtrl TE_RICH and SUNKEN_BORDER (WxRuby1.9.1)
Initial Comment:
When using a Wx::TextCtrl with Default Style it has a sunken border.
When using the style TE_RICH in WxRuby 1.9.0 the sunken border was still visible.
But when using the style TE_RICH in WxRuby 1.9.1 the sunken border is gone.
You have to m...
2005 Nov 26
1
new textctrl sample
Hi
An updated textctrl sample, with rich text and a bit more commenting and
current ruby style. I haven''t done as patch b/c it''s from scratch.
I''m working on something similar to show off Wxruby''s new unicode
features. It all works pretty smoothly, with a few patches to typemap.i
t...
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