Re: More on issues with custom cell renderers ( working example )



muppet wrote:

On Sep 28, 2006, at 9:27 PM, Daniel Kasak wrote:

Any help greatly appreciated :)

The focus-out-event handler is expected to have a boolean return value. In general, it's very important that you propagate the focus-out-event to the parent widget for a Gtk2::Editable, because otherwise, Very Bad Things can happen. Your focus-out-event handler doesn't have an explicit return, so the return value is the result of the last expression in the sub, which is a signal_emit() call on the edited signal. However, the edited signal has no return value.

So, i suspect you're returning garbage from your event handler, and therefore randomly either chaining up or not.

OK. Well that might answer a completely different question I have, but the focus-out-event handler isn't being used at the moment anyway - that stuff is commented out until I figure out what's going on. This is a different problem - it happens as soon as you start editing in any cell.

--
Daniel Kasak
IT Developer
NUS Consulting Group
Level 5, 77 Pacific Highway
North Sydney, NSW, Australia 2060
T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989
email: dkasak nusconsulting com au
website: http://www.nusconsulting.com.au



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