Re: 'Better' editing / focus policy in a TreeView
- From: muppet <scott asofyet org>
- To: Daniel Kasak <dkasak nusconsulting com au>
- Cc: gtk-perl-list gnome org
- Subject: Re: 'Better' editing / focus policy in a TreeView
- Date: Tue, 7 Jun 2005 20:46:35 -0400
On Jun 7, 2005, at 7:58 PM, Daniel Kasak wrote:
I'd like to set up TreeViews with a different behaviour when
editing stuff in cells.
...
Is there any way of avoiding this with the current method I'm
using ... connecting to the 'edited' signal of the renderer ... can
I detect at this point that editing has finished for a reason
*other* than a keyboard event?
IIRC, the only sure-fire way to customize that behavior is to use
custom renderers. The cell renderer is the only place where you can
get access to the editable in order to hook into its focus-out signal
and such.
If performance is a big problem, and you don't mind an XS dependency,
you can implement that custom renderer in C and bind it rather easily.
I'd be quite happy if somebody proved me wrong. ;-)
--
How come hair colors for women take an hour, but "wash out the gray"
stuff for men only five minutes? This is so unfair!
-- Elysse, complaining about commercials
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]