After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 119085 - Sheet widget
Sheet widget
Status: RESOLVED WONTFIX
Product: gtk+
Classification: Platform
Component: Widget: Other
2.2.x
Other Linux
: Normal enhancement
: Big API
Assigned To: gtk-bugs
gtk-bugs
: 118961 169180 325309 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2003-08-04 14:59 UTC by Owen Taylor
Modified: 2014-12-08 04:01 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement



Description Owen Taylor 2003-08-04 14:59:28 UTC
A 2-D spreadsheet like widget is a frequent request; while
widget that could reproduce the capabilities of Excel or
Gnumeric is a huge undertaking and would involve a giant
API, something simple might be feasible and useful.

There are threads on the topic from:

http://mail.gnome.org/archives/gtk-devel-list/2002-March/msg00284.html
http://mail.gnome.org/archives/gtk-devel-list/2003-July/msg00075.html

I think there are other older discussions as well. 
GtkSheet in the GtkExtra library would serve as a possible
prototype for what capabilities would be needed, though
an API that fit in better with GtkTreeView and possibly
reused GtkCellRenderer / GtkEntry would likely make sense.
Comment 1 Owen Taylor 2003-08-04 15:00:43 UTC
*** Bug 118961 has been marked as a duplicate of this bug. ***
Comment 2 Lorenzo Gil Sanchez 2004-04-01 08:39:02 UTC
I'm writting a GtkGrid widget because I need it for my project but also because
I think it may be a useful starting point for this bug.

I'm trying to reuse GtkTreeView architecture as much as I can and so far I'm
using GtkTreeModel and GtkCellRenderer / GtkEntry. I also has a new cell
renderer called GtkCellRendererSpin for Spin Buttons and I'm trying to have a
GtkCellRendererCombo working.

For more info and the code please see
http://www.sicem.biz/personal/lgs/projects/gtkgrid/view_project
Comment 3 Owen Taylor 2005-03-04 13:20:26 UTC
*** Bug 169180 has been marked as a duplicate of this bug. ***
Comment 4 Matthias Clasen 2005-12-31 01:42:02 UTC
*** Bug 325309 has been marked as a duplicate of this bug. ***
Comment 5 Timm 2007-04-16 20:19:27 UTC
Is there any progress to get a sheet widget for GKT+?

The only thing I heard in this direction is, that Gnumeric will outsource their widget (no official information, http://ubuntuforums.org/showthread.php?t=13617#7) but I haven't heard of that plan again.

Would be really cool to have a proper sheet widget some day before GTK 3.0.
Comment 6 Johan (not receiving bugmail) Dahlin 2008-04-22 17:03:26 UTC
I'd like to see a Sheet/Grid widget included in gtk+ as well.

I wrote my own widget (in python) which I called FieldGrid:
- Only for characters
- quite horrible implementation, uses rows of GtkLabels
- API is nicer, should be considered
The source can be found here, http://svn.async.com.br/cgi-bin/viewvc.cgi/stoqlib/trunk/stoqlib/gui/fieldgrid.py?view=markup
Screenshot here: http://async.com.br/~jdahlin/misc/invoice-layout-editor.png
Comment 7 Peter Johanson 2008-04-22 17:06:30 UTC
We (Medsphere) ended up writing our own GridView (sheet, whatever) in C# for
our use. It uses CellRenderers for drawing, allows you to switch the orientation, and have arbitrary number of column/row headers. It's backed by TreeModel, but does not support any sorting.

For reference, here's a screenshot:

http://medsphere.org/projects/widgets/wiki/GridView

And the code:

http://medsphere.org/projects/widgets/browser/trunk/src/GridView.cs

The code there is under the LGPL-2
Comment 8 Matthias Clasen 2014-12-08 04:01:45 UTC
seems pretty clear that this is not going to happen