Do we have a date control widget in gtk??
Hi ALL, I am relatively new and learning GTK, i am looking for a date control widget which can do the following functionality, The date control will provide an indication of current date and launches a popup which allows the user to pick up the date . Any information on this will be really help ful Thanks in advance, Regards Sarath ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: Do we have a date control widget in gtk??
On Mon, 2007-01-08 at 15:33 +0530, Sarath Potharaju wrote: I am relatively new and learning GTK, i am looking for a date control widget which can do the following functionality, The date control will provide an indication of current date and launches a popup which allows the user to pick up the date . Any information on this will be really help ful There isn't a date popup widget as such; you need to create a button and on popup display a GtkCalendar: http://developer.gnome.org/doc/API/2.0/gtk/GtkCalendar.html For an example of usage, look in the clock applet in gnome-panel. Ed ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: Do we have a date control widget in gtk??
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, Jan 08, 2007 at 03:33:09PM +0530, Sarath Potharaju wrote: Hi ALL, I am relatively new and learning GTK, i am looking for a date control widget which can do the following functionality, The date control will provide an indication of current date and launches a popup which allows the user to pick up the date . Seems the best fit would be a GtkCalendar. If yu want to go with Gnome widgets, maybe GnomeDateEdit is for you: http://developer.gnome.org/doc/API/2.4/libgnomeui/GnomeDateEdit.html HTH - -- tomás -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFFokXbBcgs9XrR2kYRAkKrAJ0Vo94tHoKsYwgeKuGo59XZ0XQIKACdEHwD q97XSZ6RFbshw2WzQzcxY2o= =Mc65 -END PGP SIGNATURE- ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: Do we have a date control widget in gtk??
Il giorno lun, 08/01/2007 alle 15.33 +0530, Sarath Potharaju ha scritto: I am relatively new and learning GTK, i am looking for a date control widget which can do the following functionality, The date control will provide an indication of current date and launches a popup which allows the user to pick up the date . that's what you search http://gtkdateentry.sourceforge.net ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list