Displaying 2 results from an estimated 2 matches for "begin_edit".
2010 Feb 24
3
Mouse wheel events in a grid cell editor?
...39;'ve created my own
editors and updating view and model both works fine so far. Thanks to
whoever made this possible. I like wxRuby more each day!
Now I''d like to catch mousewheel events in order to increment/decrement
a grid cell editor.
I''ve tried installing a handler in begin_edit of my 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 MyEd...
2007 Jul 23
11
Memory problem with GridCell*Editor
Alex,
I was getting the following crashes when editing cells in a grid:
./init.rb:1072:in `main_loop'': undefined method `begin_edit'' for
"_p_wxEvent":String (NoMethodError)
from ./init.rb:1072
but only after the first App GC mark phase.
So I changed all the GridCell*Editor.i files from GC_MANAGE to
GC_MANAGE_AS_EVENT. Which stopped the crashing. My question Alex is do
you think this is the correct G...