Displaying 6 results from an estimated 6 matches for "set_cell_valu".
Did you mean:
set_cell_value
2007 Mar 20
0
[903] branches/wxruby2/wxwidgets_282/samples: Added #!/usr/bin/env ruby to the grid sample.
...)
- @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, "wxGrid is good" )
-
- # We can specify that some cells are read-only
- @grid.set_cell_value( 0, 2, "Read-only" )
- @grid.set_read_only( 0, 2 )
-
- # Colours can be specified for grid cell contents
- @grid.set_cell_value(1, 1, "white on red")
-...
2008 Jan 06
0
[ wxruby-Bugs-16848 ] segfault on Grid#set_cell_value
...01-06 10:32
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=218&aid=16848&group_id=35
Category: Incorrect behavior
Group: current
Status: Open
Resolution: None
Priority: 3
Submitted By: Jochen Topf (joto)
Assigned to: Nobody (None)
Summary: segfault on Grid#set_cell_value
Initial Comment:
Calling Grid#set_cell_value with negative coordinates will result in a segfault. (gem version 1.9.2).
See attachment for example code that triggers this.
----------------------------------------------------------------------
You can respond by visiting:
http://rubyforge.org/t...
2007 Feb 14
0
[875] trunk/wxruby2/samples: Add expanded grid sample
...)
+ @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, "wxGrid is good" )
+
+ # We can specify that some cells are read-only
+ @grid.set_cell_value( 0, 2, "Read-only" )
+ @grid.set_read_only( 0, 2 )
+
+ # Colours can be specified for grid cell contents
+ @grid.set_cell_value(1, 1, "white on red")
+...
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
2004 Jun 02
13
wxGrid Question
When operating with a wxGrid is there a way to get a reference to the
TextCtrl field that is created when you start typing in a cell.
Also is there a way to get mouse events to work with a wxGrid, so far I
can''t get any of them to work. I had tried various combo''s of:
@grid.evt_left_down(){ |event|
puts "Left mouse is down"; }
using evt_left_down, evt_left_up,
2007 Feb 12
0
[861] trunk/wxruby2/doc/textile/grid.txtl: Added missing methods listing section
...ackground_colour":#Grid_setcellbackgroundcolour
+* "Grid#set_cell_editor":#Grid_setcelleditor
+* "Grid#set_cell_font":#Grid_setcellfont
+* "Grid#set_cell_renderer":#Grid_setcellrenderer
+* "Grid#set_cell_text_colour":#Grid_setcelltextcolour
+* "Grid#set_cell_value":#Grid_setcellvalue
+* "Grid#set_col_attr":#Grid_setcolattr
+* "Grid#set_col_format_bool":#Grid_setcolformatbool
+* "Grid#set_col_format_number":#Grid_setcolformatnumber
+* "Grid#set_col_format_float":#Grid_setcolformatfloat
+* "Grid#set_col_format...