Displaying 3 results from an estimated 3 matches for "make_grid".
2007 Mar 20
0
[903] branches/wxruby2/wxwidgets_282/samples: Added #!/usr/bin/env ruby to the grid sample.
...{ @grid.select_col(3) }
- sel_menu.append(1005, ''Select block'', ''Select block'')
- evt_menu(1005) { @grid.select_block(1, 1, 6, 3) }
- menu_bar = Wx::MenuBar.new
- menu_bar.append(sel_menu, ''Select'')
- set_menu_bar(menu_bar)
-
- make_grid(self)
- sizer.add(@grid, 1, Wx::ALL|Wx::GROW, 4)
- set_sizer(sizer)
-
- evt_grid_cell_left_click() do |evt|
- set_status_text("#{evt.get_row} x #{evt.get_col} is clicked")
- evt.skip
- end
-
- evt_grid_cell_right_click() do |evt|
- set_status_text("#{ev...
2007 Feb 14
0
[875] trunk/wxruby2/samples: Add expanded grid sample
...{ @grid.select_col(3) }
+ sel_menu.append(1005, ''Select block'', ''Select block'')
+ evt_menu(1005) { @grid.select_block(1, 1, 6, 3) }
+ menu_bar = Wx::MenuBar.new
+ menu_bar.append(sel_menu, ''Select'')
+ set_menu_bar(menu_bar)
+
+ make_grid(self)
+ sizer.add(@grid, 1, Wx::ALL|Wx::GROW, 4)
+ set_sizer(sizer)
+
+ evt_grid_cell_left_click() do |evt|
+ set_status_text("#{evt.get_row} x #{evt.get_col} is clicked")
+ evt.skip
+ end
+
+ evt_grid_cell_right_click() do |evt|
+ set_status_text("#{ev...
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