Displaying 8 results from an estimated 8 matches for "set_default_style".
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 `on_init''
from TestTextCtrl.rb:30
Using the following (probably overly verbose) program:...
2006 Aug 24
0
Re: TextCtrl background? (was TreeCtrl background?)
...or 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.rb:24:in `on_init''
from test.rb:30
Sean
On 8/23/06, Mark Ping <wxruby@roadq.com> wrote:
> On my windows buil...
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 h...
2007 Apr 12
9
taille de caractère
en fait je vous renvoi ce message car maintenant la taille de la police change au bout de 500 lignes environ, alors que j''avais reussi à garder la taille jusqu''à environ 5000 lignes.
Je ne comprend pas. Est-ce que c''est instable?
le bout de code que vous m''avez envoyer ne marche pas.
merci
Sebastien
_______________________________________________
wxruby-users
2008 Jul 19
0
[ wxruby-Bugs-21273 ] Segmantation fault in textctr.append_text
...ds with
...lib/base/my_logger.rb:6: [BUG] Segmentation fault
ruby 1.8.6 (2007-09-24) [i386-mswin32]
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application''s support team for more information.
my_logger content is
5: $bp_test.set_default_style( Wx::TextAttr.new(Wx::BLACK) )
6: $bp_test.append_text(text+"\n")
I''m using latest ruby and wxRuby, tested on XP and Vista, XRC file included
----------------------------------------------------------------------
You can respond by visiting:
http://rubyforge.org/tracker/?f...
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
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 Jul 04
0
[1104] trunk/wxruby2: Added 2.8 methods to TextCtrl & document them; tidy up header file
...ormat
</span><span class="cx">
</span><span class="cx"> The multiline text controls always store the text as a sequence of lines
</span><span class="lines">@@ -92,6 +100,27 @@
</span><span class="cx"> text.set_default_style( Wx::TextAttr.new(Wx::BLUE) )
</span><span class="cx"> text.append_text("Blue on grey text\n")
</span><span class="cx">
</span><ins>+h2. Constants
+
+The values below are the possible return codes of the
+"hit_test":#...