[pygtk] gtk.Calendar: IN A DIALOG?
Luis Javier Peris
javierperis at gmail.com
Sun Apr 6 21:49:57 WST 2008
Dare,
you can use time module and use the localtime function, take the localtime
and set it in the gtk.Calendar, it's would be something like this:
import time
year, month, day, hour, min, sec, wday, yday, isdst =3D time.localtime()
calendar.select_month(year, month - 1) # Remember moth takes values from 0
to 11
calendar.select_day(day)
------------ pr=F3xima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: http://www.daa.com.au/pipermail/pygtk/attachments/20080406/72106d5c/at=
tachment.htm
More information about the pygtk
mailing list