search for: null_colour

Displaying 8 results from an estimated 8 matches for "null_colour".

Did you mean: fullcolour
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
2010 Sep 09
1
Wx::Grid and motion events, bug?
...- -------------------------------------------------------------- #!/usr/bin/env ruby #Encoding: UTF-8 require "wx" class MyFrame < Wx::Frame include Wx def initialize(parent = nil) super(parent, title: "Test", size: Size.new(400, 400)) self.background_colour = NULL_COLOUR StaticText.new(self, label: "") #Dummy @grid = Grid.new(self, size: Size.new(300, 200)) @grid.create_grid(10, 10) @grid.evt_motion{|e| p "!"; $stdout.flush} end end class MyApp < Wx::App include Wx def on_init @mainwindow = MyFrame.new @mainw...
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 Jan 05
0
[827] trunk/wxruby2/swig: Moved NULL objects into constants so they can be used for default args
...llIcon; +%constant wxCursor const NULL_CURSOR = wxNullCursor; +%constant wxPen const NULL_PEN = wxNullPen; +%constant wxBrush const NULL_BRUSH = wxNullBrush; +%constant wxPalette const NULL_PALETTE = wxNullPalette; +%constant wxFont const NULL_FONT = wxNullFont; +%constant wxColour const NULL_COLOUR = wxNullColour; + </ins><span class="cx"> // Text font families </span><span class="cx"> %constant int FONTFAMILY_DEFAULT = wxDEFAULT; </span><span class="cx"> %constant int FONTFAMILY_DECORATIVE = wxDECORATIVE; </span&...
2007 Feb 12
0
[863] trunk/wxruby2/samples/controls/controls.rb: Avoid error calling no-args Colour.new (no longer allowed)
..."> def initialize(frame,x,y,w,h) </span><span class="cx"> super( frame, -1, Point.new(x, y), Size.new(w, h) ) </span><span class="cx"> </span><del>- @s_colOld = Colour.new </del><ins>+ @s_colOld = NULL_COLOUR </ins><span class="cx"> </span><span class="cx"> @m_text = TextCtrl.new(self, -1, "This is the log window.\n", </span><span class="cx"> Point.new(0, 250), Size.new(100, 50), TE_MULTI...
2007 Mar 29
0
[930] branches/wxruby2/wxwidgets_282/samples/controls/controls.rb: ok -> is_ok method rename
...lt;del>- if @s_colOld.ok() </del><ins>+ if @s_colOld.is_ok() </ins><span class="cx"> </span><span class="cx"> set_background_colour(@s_colOld) </span><span class="cx"> @s_colOld = NULL_COLOUR </span></span></pre> </div> </div> </body> </html>
2006 Dec 29
0
[808] trunk/wxruby2: Make Wx::Colour#== work correctly as documented, tidy docs for that class
...Predefined objects </span><span class="cx"> </span><del>-Objects: </del><ins>+These predefined colours are defined as constants in wxRuby. </ins><span class="cx"> </span><del>-*NullColour* </del><ins>+ Wx::NULL_COLOUR + Wx::BLACK + Wx::WHITE + Wx::RED + Wx::BLUE + Wx::GREEN + Wx::CYAN + Wx::LIGHT_GREY </ins><span class="cx"> </span><del>-Pointers: - -*BLACK - -WHITE\\ -RED\\ -BLUE\\ -GREEN\\ -CYAN\\ -LIGHT_GREY* - </del><span class="cx"> h2. See also </...
2006 Dec 12
0
[785] trunk/wxruby2/doc/textile/window.txtl: Remove set_constraints, correct docs for set_dimensions and set_size
...ass="cx"> h4. Parameters </span><span class="cx"> </span><span class="cx"> * _colour_ The colour to be used as the foreground colour, pass </span><del>- @NullColour@ to reset to the default colour. </del><ins>+ @Wx::NULL_COLOUR@ to reset to the default colour. </ins><span class="cx"> </span><span class="cx"> h4. Remarks </span><span class="cx"> </span><span class="lines">@@ -2356,22 +2374,19 @@ </span><span class="cx&qu...