[maemo-developers] HildonCalendar

From: Murray Cumming murrayc at murrayc.com
Date: Tue Jan 15 14:40:02 EET 2008
On Tue, 2008-01-15 at 10:20 +0200, Markku Vire wrote:
> Hi,
> 
> As your option two describes: Previous versions of Hildon contained a
> patch for GtkCalendar that made it fit better to the environment. Now
> this custom implementation is known as HildonCalendar. Other
> (non-hildon) environments can continue to use GtkCalendar as earlier.
> 
> Too bad that this customization was not possible to implement trough
> inheritance, but there are no virtual methods in GtkCalendar class :(

It sounds like the people who wrote HildonCalendar should work on a new
calendar widget to go in upstream GTK+.

> I didn't find either the documentation about HildonCalendar, but the
> headers show that the API is similar to GtkCalendar, just replace
> gtk_calendar_* with hildon_calendar_*. See:
> 
> https://stage.maemo.org/svn/maemo/projects/haf/trunk/hildon-1/src/hildon-calendar.h
>
> Cheers,
> 
> -Markku-
> 
> Graham Cobb wrote:
> > I am currently trying to tidy up some things reported by the hildon-audit 
> > tool.  One thing it has reported is:
> > 
> > gtk_calendar_new: GtkCalendar is deprecated, use HildonCalendar from hildon-1: 
> > see http://live.gnome.org/Maemo/Gtk210Migration#M14
> > 
> > I have looked at that URL but it doesn't help much!
> > 
> > My first problem is in deciding exactly what has been deprecated.  The 
> > reference to the GtkCalendar widget is in code which is not currently 
> > conditional for Hildon: it is the same on all platforms.  Is the message 
> > telling me:
> > 
> > 1) That GtkCalendar is being removed from Gtk.  On Hildon it is replaced with 
> > HildonCalendar.  On other platforms it is replaced with other things, not 
> > specified.
> > 
> > Or...
> > 
> > 2) Today code can use GtkCalendar on Hildon and get a calendar widget that is 
> > customised for the Hildon environment.  That behaviour is changing and, in 
> > future, GtkCalendar widgets will be the same on all platforms and not 
> > optimised for Hildon.  To get a calendar widget for use on Hildon you should 
> > use HildonCalendar, not GtkCalendar.  But GtkCalendar is still the correct 
> > widget to use on other Gtk platforms.
> > 
> > Or... something else?
> > 
> > And, lastly, where can I find some documentation on HildonCalendar?
> > 
> > Graham
> > 
> > P.S.  I am really not a GUI guy -- give me a kernel interface any day...
> > _______________________________________________
> > maemo-developers mailing list
> > maemo-developers at maemo.org
> > https://lists.maemo.org/mailman/listinfo/maemo-developers
> 
> _______________________________________________
> maemo-developers mailing list
> maemo-developers at maemo.org
> https://lists.maemo.org/mailman/listinfo/maemo-developers
-- 
murrayc at murrayc.com
www.murrayc.com
www.openismus.com


More information about the maemo-developers mailing list