[maemo-developers] DateEditor

From: Iñigo Illán Aranburu kodeport at terra.es
Date: Mon Feb 26 14:44:34 EET 2007
Thank you! I didn't know GObject had this capability but surely is good
to hear of!

On lun, 2007-02-26 at 10:31 +0200, Vire Markku wrote:
> Hi,
> 
> HildonDateEditor has properties for the day, month and year (even though I
> still didn't see them in the documentation web page?). In order to detect
> changes you can use property notification service provided by GObject:
> 
>   g_signal_connect(editor, "notify::year", G_CALLBACK(my_callback), data);
> 
> and similarly for the day and month as well. It's worth to note that the
> signature of the notify handler contains extra GParamSpec parameter:
> 
>   void my_callback(GObject *obj, GParamSpec *param, gpointer data)
> 
> -Markku-
> 
> > I'm writting a program and I want to catch an event when a DateEditor
> > widget changes it's status (when the date changes). Is this possible? I
> > haven't seen any event on the API documentation.
> >
> > Thanks for your help!
> 


More information about the maemo-developers mailing list