20 Apr 2004 ebassi   » (Master)

* libgtodo: Yet another week begins, and yet another week of work on libgtodo. I've completed the basics of the GTodoClient object: it can append/remove items (and categories), and each modification is dumped onto the XML tree in memory. I began working on a sub-class of GtkListStore, called GTodoListStore, which will interface a GTodoClient object with a liststore, and later I'll design a GTodoListView widget, subclassing GtkTreeView.

Thus, a simple viewer, would consist of these calls:

client = gtodo_client_new (some_uri);

store = gtodo_list_store_new (client);

g_object_unref (client); /* store holds a reference */

view = gtodo_list_view_new_with_model (store);

gtk_widget_show (view);

In parallel, this week I'll begin writing a Perl binding to libgtodo. Subclassing a widget in Perl is quite fast, so I could design a prototype and then port it to C. Discussions about a platform language always revolve around Java/C# (with brief appearances of Python, from time to time), but they always forget that gtk2-perl and gnome2-perl bindings are one of the most advanced bindings available on GNOME D&DP. With the upcoming of Perl6 and Parrot, I'd say to give Perl a chance.

Latest blog entries     Older blog entries

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!