Study

April 22, 2004 on 1:14 am | In General | No Comments

boring class on computer programming. I’ve already done this when I was taking the computer engineering course (I switched to a pure CS course when I fluked three times in a row the electronics and the theory of automation classes; it’s not that I don’t like engineering: it’s engineering that does not like me).

libgtodo

April 20, 2004 on 11:49 pm | In General | No Comments

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 also began working on a sub-class for 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.

Powered by WordPress with Pool theme design by Borja Fernandez.
Entries and comments feeds. Valid XHTML and CSS. ^Top^