search for: normal_font

Displaying 6 results from an estimated 6 matches for "normal_font".

Did you mean: format_font
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
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
2007 Mar 30
0
[933] branches/wxruby2/wxwidgets_282: Font API 2.6 -> 2.8, corrections to Event doc
...n><span class="cx"> FONTENCODING_MAX </span><span class="cx"> </span><del>-h2. Predefined constants objects </del><ins>+h2. Predefined font constants </ins><span class="cx"> </span><del>-* @Wx::NORMAL_FONT@ *NullFont* </del><ins>+Note that with the exception of @WX::NULL_FONT@, these are not defined +until the App''s main loop has begun. + +* @Wx::NULL_FONT@ +* @Wx::NORMAL_FONT@ </ins><span class="cx"> * @Wx::SMALL_FONT@ </span><span class="cx&q...
2007 Jul 23
11
Memory problem with GridCell*Editor
Alex, I was getting the following crashes when editing cells in a grid: ./init.rb:1072:in `main_loop'': undefined method `begin_edit'' for "_p_wxEvent":String (NoMethodError) from ./init.rb:1072 but only after the first App GC mark phase. So I changed all the GridCell*Editor.i files from GC_MANAGE to GC_MANAGE_AS_EVENT. Which stopped the crashing. My question
2006 Nov 26
0
[758] trunk/wxruby2: i18n support: added Locale class, methods for get/set languages & encodings
...MAX </span><del>- }; - </del><span class="cx"> </span><del>-h2. Predefined objects </del><ins>+h2. Predefined constants objects </ins><span class="cx"> </span><del>-Objects: </del><ins>+* @Wx::NORMAL_FONT@ *NullFont* +* @Wx::SMALL_FONT@ +* @Wx::ITALIC_FONT@ +* @Wx::SWISS_FONT@ </ins><span class="cx"> </span><del>-*NullFont* </del><span class="cx"> </span><del>-Pointers: </del><span class="cx"> </span>&...
2007 Mar 22
0
[916] branches/wxruby2/wxwidgets_282: More Wx::AUI classes, event hooks and sample
...+class SizeReportCtrl < Wx::Control + def initialize(parent, id, pos, size, mgr = nil) + super(parent, id, pos, size) + @mgr = mgr + evt_paint { on_paint } + evt_size { on_size } + end + + def on_paint + paint do | dc | + size = get_client_size + + dc.set_font Wx::NORMAL_FONT + dc.set_brush Wx::WHITE_BRUSH + dc.set_pen Wx::WHITE_PEN + dc.draw_rectangle(0, 0, size.x, size.y) + dc.set_pen Wx::LIGHT_GREY_PEN + dc.set_pen Wx::LIGHT_GREY_PEN + dc.draw_line(0, 0, size.x, size.y) + dc.draw_line(0, size.y, size.x, 0) + + msg = "Size:...