Easy editing of tasks (was: Re: GtkGrid or GtkTreeView and start-editing)

Maurice van der Pot <griffon26-bCGDfOjggl9Wk0Htik3J/[email protected]>
Newsgroups gmane.comp.gnome.apps.planner.devel
Message-ID <[email protected]>
I'm sending this message here so it will be archived. 

Since I started using Planner I've thought that editing tasks should be
more like editing in a spreadsheet. You should be able to use just the
keyboard to jump around between the columns and rows, edit cells, use a
single keypress while editing to move to a neighbouring field, etc.

I found out that Lorenzo Gil Sanchez had been working on a GTK+ widget
that provided just this functionality. Unfortunately that was back in
2005 and his patches never made it into GTK+. Apparently the accepted
way for doing this nowadays is using the start-editing on the renderers.

See here for the full story: http://www.advogato.org/person/lgs/

I sent him a message to ask for further details, because I couldn't
figure out how this signal would help me. Both my message and his reply
can be found below.

To this date nothing has been changed on this front in planner, but to
make sure that this information is available for anyone who wants to
work on it, I'm posting it here.

Regards,
Maurice.


----- Forwarded message from Lorenzo Gil Sanchez <[email protected]> -----

Date: Thu, 13 Sep 2007 08:43:23 +0200
From: Lorenzo Gil Sanchez <[email protected]>
To: Maurice van der Pot <griffon26-bCGDfOjggl9Wk0Htik3J/[email protected]>
Subject: Re: GtkGrid or GtkTreeView and start-editing
X-Spam-Status: No, score=3.9 required=5.0 tests=FH_HOST_ALMOST_IP,RDNS_DYNAMIC
	autolearn=no version=3.2.2-gr0

Hi Maurice,

I'm sorry, but I don't do GTK+ development anymore and I can't remember
the exact details of how to do what you need. I just can remember what
you already know, they added the 'start-editing' signal to have a hook
about when to start editing a cell on a tree view.

If I remember correctly they did it for the FileChooser code. Try taking
a look at its code.

Sorry for not helping so much.

Lorenzo

El sáb, 08-09-2007 a las 20:40 +0200, Maurice van der Pot escribió:
> Hi Lorenzo,
> 
> For a time I have been looking for a way to make editing of tasks easier
> in Gnome planner. Gnome planner is currently using a GtkTreeView.
> I don't have much experience with GTK+ internals, so I'm hoping you
> could point me in the right direction.
> 
> You mentioned in a blog post in 2005 that 2.6 introduced a start-editing
> signal that can be used to solve the same problem your GtkGrid did.
> Do you have some more detailed information on how to go about it?
> 
> Thanks,
> Maurice.
> 


----- End forwarded message -----

-- 
Maurice van der Pot

Gentoo Linux Developer   [email protected]    http://www.gentoo.org
Gnome Planner Developer  griffon26-bCGDfOjggl9Wk0Htik3J/[email protected]  http://live.gnome.org/Planner

_______________________________________________
Planner-dev-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/planner-dev-list
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)

iD8DBQFH0ZqIMGnpIbeahxwRAs7SAKCXeVls+tlIU+N2ccoAAmSvhx1NnwCgkVUs
WjGzrYt8G8IYCIqpbQyM3O8=
=7ag6
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.