[pygtk] ANNOUNCE: DateEdit widget for linux and win32
Fabian Sturm
f at rtfs.org
Tue Dec 6 08:22:35 WST 2005
Hi!
I finally finished my dateedit widget, it is not yet thoroughly tested
but all I tested worked fine.
It is not an exact port of the libgnomeui widget, since I think some
changes make more sense for a python widget (e.g. datetime as return
type instead of epoch).
I also hope to make this a bug free and documented widget, since I
couldn't find any simple but still feature complete custom gobject in
python. So I hope many people will comment on this so that it can be
used as reference for other developers.
Things which still bug me:
- constructor
The original gnome-dateedit has two constructors, unfortunately with
overlapping but different parameters, so they can't just be merged into
one python constructor with named parameters.
So far I only got one response on this problem.
- destruction
The original version has these additional functions:
free_resources, mnemonic_activate, destroy, finalize
I don't know what of this is needed for python, so some comments would
be great.
- show_all
if you add this widget to a window and then do a window.show_all() the
dateedit widget will show the time entry, even though it should be
hidden by the show_time = False flag.
I can't see the difference to the c widget so I need help here too!
- todos
I have several todos at various places in the source, most are just
spots which should be verified by other developers
Thanks a lot, Fabian
P.s. I will set up a webpage for the widget and announce it once more at
the list when the above stuff is resolved.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dateedit.py
Type: text/x-python
Size: 17190 bytes
Desc: not available
Url : http://www.daa.com.au/pipermail/pygtk/attachments/20051206/0da31dfc/dateedit-0001.py
More information about the pygtk
mailing list