Introducing: JanaGtkMonthView

It's not quite there yet (and the code isn't committed), but I've almost finished (sort of) one of libjana-gtk's major widgets - the GtkCalendar style event view. It uses the previously demonstrated JanaGtkTreeLayout to deal with drawing/updating/activating events and draws the background/handles positioning itself. It doesn't handle selections or anything like that yet (although of course, JanaGtkTreeLayout still works, so you can select events). It's also fully themeable, so a theme can choose to special-case it and give it more appropriate colours/look, for example.


Click to show video

[Update]: Committed

Hrw says:

Looks great!

Steven Garrity says:

Perhaps a lame question, but not one to which I seem to be able to find a quick answer: What is jana?

(looks cool, btw)

Chris Lord says:

@Hrw: Thanks :)

@Steven: libjana is a set of interface definitions for interacting with calendar-type data stores, libjana-ecal is an implementation for evolution-data-server and libjana-gtk is a set of gtk widgets that use the libjana interfaces to visualise calendar data. It's what the new version of Dates (as will be seen first in OpenMoko) uses.

mike says:

cool, looking forward to use that :)

Any comments?