[pygtk] Mask entry

Johan Dahlin jdahlin at async.com.br
Sat Feb 18 03:35:24 WST 2006


> Very nice...

Thanks.

> I found a small bug that happens when you launch the program and then
> close it again, without typing anything.
> 
> Traceback (most recent call last):
>   File "masks.py", line 264, in cb
>     print 'fields', widget.get_field_text()
>   File "masks.py", line 215, in get_field_text
>     append_field(fields, field_type, s)
>   File "masks.py", line 196, in append_field
>     s = int(s)
> ValueError: invalid literal for int(): 
> 
> But other than that, it's quite useable :)

I already fixed this and quite a few in the version I committed to kiwi[1]
Pasting/deleting blocks of text should work now.
And the code is quite a bit nicer too.

[1]: http://www.async.com.br/projects/kiwi/

-- 
Johan Dahlin <jdahlin at async.com.br>
Async Open Source


More information about the pygtk mailing list