search for: gridcellchoiceeditor

Displaying 8 results from an estimated 8 matches for "gridcellchoiceeditor".

2008 Jul 28
12
Segfault with GridCellChoiceEditor
I have a problem. In my application I have a few Grid objects in a Notebook. The Grid objects are populated via GridTableBase. Certain Grid cells need to have a choice interface (I''m artificially enforcing foreign key constraints). All this works to the point where you try to edit the value for that cell. The choice box renders (i.e. the drop down arrow appears) then the application
2010 Feb 24
3
Mouse wheel events in a grid cell editor?
...and removing it again in end_edit. I''ve attempted to (a) install an event handler on the grid and forward it to an editor-specific method (b) install an event handler on the editor control Neither approach worked. Any suggestions? Thanks in advance, Tony --- class MyEditor < Wx::GridCellChoiceEditor def initialize super end def begin_edit row, col, grid get_control().evt_mousewheel {|e| on_wheel e } grid.evt_mousewheel {|e| on_wheel e } end def on_wheel event p event end def end_edit row, col, grid # TODO: unsubscribe evt handler super end end -- Pos...
2008 May 18
0
[ wxruby-Bugs-20211 ] Unresolved symbol due to linkage error
...ject.o obj/GLCanvas.o obj/Gauge.o obj/GenericDirCtrl.o obj/GraphicsBrush.o obj/GraphicsContext.o obj/GraphicsFont.o obj/GraphicsMatrix.o obj/GraphicsObject.o obj/GraphicsPath.o obj/GraphicsPen.o obj/Grid.o obj/GridBagSizer.o obj/GridCellAttr.o obj/GridCellBoolEditor.o obj/GridCellBoolRenderer.o obj/GridCellChoiceEditor.o obj/GridCellEditor.o obj/GridCellFloatEditor.o obj/GridCellFloatRenderer.o obj/GridCellNumberEditor.o obj/GridCellNumberRenderer.o obj/GridCellRenderer.o obj/GridCellStringRenderer.o obj/GridCellTextEditor.o obj/GridEditorCreatedEvent.o obj/GridEvent.o obj/GridRangeSelectEvent.o obj/GridSizeEvent...
2007 Mar 20
0
[903] branches/wxruby2/wxwidgets_282/samples: Added #!/usr/bin/env ruby to the grid sample.
...0) - @grid.set_cell_value(3, 1, ''Number editor below'') - @grid.set_cell_editor(4, 1, editor) - - editor = Wx::GridCellFloatEditor.new(4, 2) - @grid.set_cell_value(3, 2, ''Float editor below'') - @grid.set_cell_editor(4, 2, editor) - - editor = Wx::GridCellChoiceEditor.new([''foo'', ''bar'', ''baz'']) - @grid.set_cell_value(3, 3, ''Choice editor below'') - @grid.set_cell_editor(4, 3, editor) - - @grid.auto_size_row(3, true) - - # Display of cells can be customised - @grid.set_cell_rend...
2007 Feb 14
0
[875] trunk/wxruby2/samples: Add expanded grid sample
...0) + @grid.set_cell_value(3, 1, ''Number editor below'') + @grid.set_cell_editor(4, 1, editor) + + editor = Wx::GridCellFloatEditor.new(4, 2) + @grid.set_cell_value(3, 2, ''Float editor below'') + @grid.set_cell_editor(4, 2, editor) + + editor = Wx::GridCellChoiceEditor.new([''foo'', ''bar'', ''baz'']) + @grid.set_cell_value(3, 3, ''Choice editor below'') + @grid.set_cell_editor(4, 3, editor) + + @grid.auto_size_row(3, true) + + # Display of cells can be customised + @grid.set_cell_rend...
2010 Jan 28
5
Compiling problem on Ubuntu 9.10 64 bit
...ject.o obj/GLCanvas.o obj/Gauge.o obj/GenericDirCtrl.o obj/GraphicsBrush.o obj/GraphicsContext.o obj/GraphicsFont.o obj/GraphicsMatrix.o obj/GraphicsObject.o obj/GraphicsPath.o obj/GraphicsPen.o obj/Grid.o obj/GridBagSizer.o obj/GridCellAttr.o obj/GridCellBoolEditor.o obj/GridCellBoolRenderer.o obj/GridCellChoiceEditor.o obj/GridCellEditor.o obj/GridCellFloatEditor.o obj/GridCellFloatRenderer.o obj/GridCellNumberEditor.o obj/GridCellNumberRenderer.o obj/GridCellRenderer.o obj/GridCellStringRenderer.o obj/GridCellTextEditor.o obj/GridEditorCreatedEvent.o obj/GridEvent.o obj/GridRangeSelectEvent.o obj/GridSizeEvent...
2005 Jul 31
5
SWIG compilation
The result of the compilation after installing swig results in lots of errors of the sort: WindowDisabler.obj : error LNK2001: unresolved external symbol _SWIG_Ruby_ConvertPtr I can see this is defined in rubydef.swg but I''m not sure why this isn''t just included in the files that need it. Can any swig experts tell me what I need to do to progress? I''m using
2007 Feb 09
20
Hello Everyone
I have a bit of a problem with installation. I installed wxX11 in my linux box. I compiled the demos and all the demos, save dbbrowse, work. I think I have a functional wx. Now I''m trying to install wxRuby from source, since I have a 64 bit machine. I only have permission to my home directory so my installation is : /usr/people/stevenq/Applications/wxX11/