There is a new Tutorial wiki page for installing wxRuby on various systems. Comments? Nick
According to docs the function definition/signature is: get_label_alignment( orientation , alignment ); #returns a Fixnum Where both the orientation and the alignment values to be used are from constants that wxRuby has in it''s library. I don''t think alignment matters. Ex: @grid.set_row_label_alignment( Wx::ALIGN_RIGHT, Wx::ALIGN_TOP ); puts @grid.get_label_alignment( Wx::VERTICAL , 0 ); #outputs 512 puts @grid.get_label_alignment( Wx::VERTICAL , 1000 ); #outputs 512 puts @grid.get_label_alignment( Wx::VERTICAL , Wx::ALIGN_TOP ); #outputs 512 What is the second argument doing? Thanks, Zach --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.716 / Virus Database: 472 - Release Date: 7/5/2004
Zach Dennis wrote:> According to docs the function definition/signature is: > > get_label_alignment( orientation , alignment ); #returns a Fixnum > > Where both the orientation and the alignment values to be used are from > constants that wxRuby has in it''s library. > > I don''t think alignment matters.You are correct. I don''t know the history of that method, but at least with the wxGTK implementation, the source code identifies alignment as an unused parameter. Kevin
devel@nicreations.com wrote:> > There is a new Tutorial wiki page for installing wxRuby on various systems. > Comments?I only have Linux, so I can''t really comment on the other sections, other than to say they look good. There was already a (brief) page for wxRuby Installation, so I updated it to point to this better page. Thanks, Kevin
Kevin Smith wrote:> Zach Dennis wrote: > >> According to docs the function definition/signature is: >> >> get_label_alignment( orientation , alignment ); #returns a Fixnum >> >> Where both the orientation and the alignment values to be used are from >> constants that wxRuby has in it''s library. >> >> I don''t think alignment matters. > > > You are correct. I don''t know the history of that method, but at least > with the wxGTK implementation, the source code identifies alignment as > an unused parameter. > > KevinThanks for replying. Zach