pspp-dev
[Top][All Lists]
Advanced

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

Re: gtk3: Replaced PsppSheetView with GtkTreeView for the variables wind


From: John Darrington
Subject: Re: gtk3: Replaced PsppSheetView with GtkTreeView for the variables window
Date: Sun, 13 Dec 2015 20:41:30 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

On Sun, Dec 13, 2015 at 03:05:57AM -0800, Ben Pfaff wrote:
     
     Another path I considered was to use a GTK+ library for viewing a
     database.  I think that the options didn't seem very good at the time.
     Looking at http://www.gnome-db.org/, it might be worth a shot.  I guess
     the first step would be to write a libgda provider for PSPP, then one
     could use the GdauiGrid (GdauiRawGrid?) widget to edit the data.

I had a chat with the Gtk+ devs on irc today.

In the latest GLib there is a GListModel interface:
 https://developer.gnome.org/gio/stable/GListModel.html

That in itself doesn't bring much.  But it looks like something might be
in the works.

Somebody pointed me to https://github.com/baedert/listbox-c

This seems to rather evectively impement a widget which displays a list of
rows in O(1) time and space.    And it is nicely uncomplicated at the moment.
It lazily creates the rows, and displays them only as needed.

It doesn't do multiple columns, but perhaps could be extended to do so.

J'


-- 
Avoid eavesdropping.  Send strong encryted email.
PGP Public key ID: 1024D/2DE827B3 
fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
See http://sks-keyservers.net or any PGP keyserver for public key.

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]