search for: evt_grid_cell_left_click

Displaying 7 results from an estimated 7 matches for "evt_grid_cell_left_click".

2007 Jun 25
0
[1067] trunk/wxruby2: Set up event handlers in Ruby rather than by post-processing SWIG output
...ChoicebookEvent, - Wx::EVT_COMMAND_NOTEBOOK_PAGE_CHANGED => Wx::NotebookEvent, - Wx::EVT_COMMAND_NOTEBOOK_PAGE_CHANGING => Wx::NotebookEvent, - Wx::EVT_COMMAND_LISTBOOK_PAGE_CHANGED => Wx::ListbookEvent, - Wx::EVT_COMMAND_LISTBOOK_PAGE_CHANGING => Wx::ListbookEvent, - Wx::EVT_GRID_CELL_LEFT_CLICK => Wx::GridEvent, - Wx::EVT_GRID_CELL_RIGHT_CLICK => Wx::GridEvent, - Wx::EVT_GRID_CELL_LEFT_DCLICK => Wx::GridEvent, - Wx::EVT_GRID_CELL_RIGHT_DCLICK => Wx::GridEvent, - Wx::EVT_GRID_LABEL_LEFT_CLICK => Wx::GridEvent, - Wx::EVT_GRID_LABEL_RIGHT_CLICK => Wx::GridEve...
2004 Nov 18
17
Wx::Grid Questions ...
I am trying to use a grid widget in my application, but run into a number of issues: -- Can they be placed in a panel? Or better yet, placed in sizer with other controls? I have only been able to place a grid inside a frame. -- Can you designate multiple rows (or columns) as being used for labels? -- Can you create cells that span cols (or rows)? -- What events are available to trigger on? How
2007 Mar 20
0
[903] branches/wxruby2/wxwidgets_282/samples: Added #!/usr/bin/env ruby to the grid sample.
...#39;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("#{evt.get_row} x #{evt.get_col} is right clicked") - evt.skip - end - - evt_grid_cell_left_dc...
2007 May 29
0
[1035] trunk/wxruby2/swig/classes/EvtHandler.i: Removed a heap of redundant stuff that''s been #if 0''d for a while
...rgc, VALUE *argv, VALUE self) -{ - return internal_evt_with_id(argc, argv, self, wxEVT_COMMAND_RADIOBOX_SELECTED); -} - -static VALUE evt_radiobutton(int argc, VALUE *argv, VALUE self) -{ - return internal_evt_with_id(argc, argv, self, wxEVT_COMMAND_RADIOBUTTON_SELECTED); -} - -static VALUE evt_grid_cell_left_click(int argc, VALUE *argv, VALUE self) -{ - return internal_evt_no_parameters(argc, argv, self, wxEVT_GRID_CELL_LEFT_CLICK); -} - -static VALUE evt_grid_cell_right_click(int argc, VALUE *argv, VALUE self) -{ - return internal_evt_no_parameters(argc, argv, self, wxEVT_GRID_CELL_RIGHT_CLICK); -}...
2007 Feb 14
0
[875] trunk/wxruby2/samples: Add expanded grid sample
...#39;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("#{evt.get_row} x #{evt.get_col} is right clicked") + evt.skip + end + + evt_grid_cell_left_dc...
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
2007 May 31
0
[1042] trunk/wxruby2: Overhaul of the event handling WxType->RubyClass mapping to make it
...ChoicebookEvent, + Wx::EVT_COMMAND_NOTEBOOK_PAGE_CHANGED => Wx::NotebookEvent, + Wx::EVT_COMMAND_NOTEBOOK_PAGE_CHANGING => Wx::NotebookEvent, + Wx::EVT_COMMAND_LISTBOOK_PAGE_CHANGED => Wx::ListbookEvent, + Wx::EVT_COMMAND_LISTBOOK_PAGE_CHANGING => Wx::ListbookEvent, + Wx::EVT_GRID_CELL_LEFT_CLICK => Wx::GridEvent, + Wx::EVT_GRID_CELL_RIGHT_CLICK => Wx::GridEvent, + Wx::EVT_GRID_CELL_LEFT_DCLICK => Wx::GridEvent, + Wx::EVT_GRID_CELL_RIGHT_DCLICK => Wx::GridEvent, + Wx::EVT_GRID_LABEL_LEFT_CLICK => Wx::GridEvent, + Wx::EVT_GRID_LABEL_RIGHT_CLICK => Wx::GridEve...