[gnome-db] Creating a new widget with database support



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hi,


I wrote my own 'chart' implementation for date's so it can be used as
planboard.

http://uva.hobby-site.com/~skinkie/chart.jpg


Now this is all very great (Cairo), but it uses libxml2 to store the
data, and reads it in as a GList, so as you might understand *this is
not very flexible*.

I would like to extend the widget to use a database with a specific
representation. For example an id,julian,julian thing. Now I wonder what
is the best way to implement this. When I look at some basic widgets
like combo's they are in essence gtk+gda, so it should be relatively simple.

The same data should be made available in a 'grid' so people can look at
the data in two different representations. So I would just perform read
operations to render the widget and write operations on 'drops' and new
'instances'.



...but I wonder, is anything in the gnome-db widgets 'cached' and is
there any way to receive a signal from the database to 'update' a view?
(Maybe this is sample_changed?)

I want my final application to be used across different computers and I
I currently tested with the demo application if something change if I
added stuff between instances there was no update in the other. Is this
a feature that is available in the bigger databases such as PostgreSQL
or isn't any widget implemented so it can receive live updates? (Or poll
for updates?)



Yours Sincerely,

Stefan de Konink
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGiFJwYH1+F2Rqwn0RCqaXAJ9rW3naNJFIINc67F6A0ktHbm0gFQCfWcGB
5QVNy/k9bfF5xPmVIVQdrNM=
=z0WQ
-----END PGP SIGNATURE-----



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