[pygtk] Calendar popup under an entry

Miguel Ángel García magmaxlistas at gmail.com
Sat Mar 21 20:53:15 WST 2009


Hello.

I already did this component: a combobox that displays a window with a
calendar. Maybe it can be useful to you.

It is part of a bigger project named "bitacora"[1]. You can see the
"calendarwindow.py" and "comboboxcalendar.py" for what you are looking
for.

Almost all files in that project are self-executables. So, you can use
python to execute the calendarboxcalendar.py to see if it is what you
want to do.

It works perfectly on GNU/Linux, but it may have a bug on Windows. It
seems that the focus-out event has a bug in the windows PYGTK. I need
to make more test to this.

Feel free to probe all components on this project or tell me about all
of it.

Thank you!

[1] http://svn.gna.org/viewcvs/bitacora/trunk/


El Sat, 21 Mar 2009 11:38:28 +0100
Timo <timomlists en gmail.com> escribió:

> Hello, I would like to have a gtk.Calendar to popup under a gtk.Entry
> as soon as the user clicks on the entry.
> So I use the focus-in-event to capture when the user clicks in the 
> entry. But I can't seem to find a way to popup a calendar.
> 
> Timo
> _______________________________________________
> pygtk mailing list   pygtk en daa.com.au
> http://www.daa.com.au/mailman/listinfo/pygtk
> Read the PyGTK FAQ: http://faq.pygtk.org/


-- 
In a world without walls and fences, who needs Windows and Gates?
"Microsoft ha lanzado una nueva versión, Windows XP, que según todo el
mundo 'es la versión más fiable de Windows hasta la fecha'. Para mí,
esto es como decir que el espárrago es el vegetal más articulado que
ha existido nunca"
     -- Dave Barry


More information about the pygtk mailing list