Displaying 20 results from an estimated 1000 matches similar to: "Wx::TextCtrl and wxMSW"
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
2007 Jun 08
0
[ wxruby-Bugs-11446 ] Wx::TextCtrl behaves wrong when scrolling
Bugs item #11446, was opened at 2007-06-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
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
[ wxruby-Bugs-15025 ] TextCtrl method get_insertion_point() return is constrained to a 16 bit number
2007 Oct 24
0
[ wxruby-Bugs-15025 ] TextCtrl method get_insertion_point() return is constrained to a 16 bit number
Bugs item #15025, was opened at 2007-10-24 15:47
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=218&aid=15025&group_id=35
Category: Incorrect behavior
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Nobody (None)
Assigned to: Nobody (None)
Summary: TextCtrl method get_insertion_point() return is constrained to a 16 bit number
Initial
2006 Dec 14
5
wxruby2-preview Gauge and wx-sugar with SplitterWindow
First of all, just wanted to say big thanks for all the great work on
wxruby2 .. I''ve been a user of 0.6 for a long time and its proved very
useful over the years. It''s great to finally have a multi-platform, gem
installable ui toolkit that doesn''t suck!
Secondly, thanks also for wx-sugar. I was drowning in sizers and started
to write my own layout library ... but
2007 Apr 12
1
(no subject)
Bonjour. Je n''ai pas encore eu l''occasion d''utiliser TE_RICH2 en plus de TE_RICH | TE_MULTILINE, je compte l''essayé.
Pour rentrer le texte dans TextCtrl j''utilise : @dou << texte
Sebastien
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/wxruby-users
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 04
0
[1104] trunk/wxruby2: Added 2.8 methods to TextCtrl & document them; tidy up header file
<!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:
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 =
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
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
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 Mar 21
0
[906] branches/wxruby2/wxwidgets_282: Wx::ComboBox API 2.6 -> 2.8, plus some doc corrections
<!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 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 in large
files. If anyone
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
to make string return values work with multibyte characters (I''ll
2007 Jul 21
0
[1139] trunk/wxruby2/samples/text/textctrl.rb: Place TextCtrl sample in a panel so gets correct bg color on MSW
<!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:
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
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
2007 Jan 22
0
[ wxruby-Bugs-8068 ] TextCtrl#append_text doesn''t work when text is in UTF8
Bugs item #8068, was opened at 2007-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
2007 Sep 03
1
API survey results & update
Thanks to everyone who voted in the API style survey. We had 10 votes
altogether - we''re not electing the prime 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.