Re: Small fix for CellRendererSpinButton




On Aug 30, 2004, at 7:00 PM, Daniel Kasak wrote:

Just figured out a solution to my last problem ( custom CellRendererSpinButton doesn't update the value if you use mouse-only input ).

Add the following inside the START_EDITING sub:

heh, it's funny you should mention that... the focus-out handler is one of the things i did in 1.05x on jens' suggestion (only a few weeks ago ;-). the thing that drives me nuts is the way the cell renderers leak; thanks to a bug i just found in the start-editing marshaler, you can't make that code work without scalar leaks. i think i have a fix, if anyone wants to try it out.

--
"that's it! you're a genius!" "yes. that's what i think. do you think i deserve a raise?"
        - dialogue from 'Godzilla versus Mothra', 1964




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]