search for: set_row_label_align

Displaying 5 results from an estimated 5 matches for "set_row_label_align".

2004 Jul 20
4
New Tutorial
There is a new Tutorial wiki page for installing wxRuby on various systems. Comments? Nick
2007 Mar 20
0
[903] branches/wxruby2/wxwidgets_282/samples: Added #!/usr/bin/env ruby to the grid sample.
...xample) - @grid.create_grid( 20, 12 ) - @grid.set_default_cell_background_colour(Wx::WHITE) - # We can set the sizes of individual rows and columns - # in pixels, and the label value string - @grid.set_row_size( 0, 60 ) - @grid.set_row_label_value( 0, "Row1" ) - @grid.set_row_label_alignment(Wx::ALIGN_CENTRE, Wx::ALIGN_CENTRE) - - @grid.set_col_size( 0, 120 ) - @grid.set_col_label_value( 0, "Col1" ) - @grid.set_col_label_alignment(Wx::ALIGN_CENTRE, Wx::ALIGN_CENTRE) - - # And set grid cell contents as strings - @grid.set_cell_value( 0, 0, "wxGr...
2007 Feb 14
0
[875] trunk/wxruby2/samples: Add expanded grid sample
...xample) + @grid.create_grid( 20, 12 ) + @grid.set_default_cell_background_colour(Wx::WHITE) + # We can set the sizes of individual rows and columns + # in pixels, and the label value string + @grid.set_row_size( 0, 60 ) + @grid.set_row_label_value( 0, "Row1" ) + @grid.set_row_label_alignment(Wx::ALIGN_CENTRE, Wx::ALIGN_CENTRE) + + @grid.set_col_size( 0, 120 ) + @grid.set_col_label_value( 0, "Col1" ) + @grid.set_col_label_alignment(Wx::ALIGN_CENTRE, Wx::ALIGN_CENTRE) + + # And set grid cell contents as strings + @grid.set_cell_value( 0, 0, "wxGr...
2007 Feb 12
0
[861] trunk/wxruby2/doc/textile/grid.txtl: Added missing methods listing section
..."Grid#set_margins":#Grid_setmargins +* "Grid#set_or_calc_column_sizes":#Grid_setorcalccolumnsizes +* "Grid#set_or_calc_row_sizes":#Grid_setorcalcrowsizes +* "Grid#set_read_only":#Grid_setreadonly +* "Grid#set_row_attr":#Grid_setrowattr +* "Grid#set_row_label_alignment":#Grid_setrowlabelalignment +* "Grid#set_row_label_size":#Grid_setrowlabelsize +* "Grid#set_row_label_value":#Grid_setrowlabelvalue +* "Grid#set_row_minimal_height":#Grid_setrowminimalheight +* "Grid#set_row_minimal_acceptable_height":#Grid_setrowmin...
2004 Dec 09
6
Scrolling to the bottom of a Grid
Hi, Thanks to the newly added event handlers for Wx::Grid in the 0.6.0 release, I can now provide a much slicker intreface to my "data widgets" which heavily rely on that control. However, I haven''t quite figured out how to programmatically scroll to the last row of a populated grid (actually, the first empty row). So say that I have a grid with 200 rows only 20 of which