[pygtk] A New Widget For PyGTK!
John Stowers
john.stowers.lists at gmail.com
Sat Aug 29 14:16:25 WST 2009
On Fri, 2009-08-28 at 20:07 +0430, Aidin Gharibnavaz wrote:
> Hi!
> I have something that I want to share with you!
>
> As far as I know, there's no masked-entry in GTK. But I wanted one for
> one of my projects. I found that `Kiwi project' have a masked-entry,
> but that wasn't fit in my work. Finally I decided to create a new one
> for myself.
>
> Now I'm sending it for you. Maybe someone finds it useful.
>
> The widget supports Completion and Copy & Paste.
>
> If you run the file directly, you'll see an example.
>
> If you test the widget, please tell me what you think. If there's any
> feature you think should be there, feel free to tell me. Consider that
> I create it for a specific project, and it's may not very generalized.
Not bad. A few quick comments
* Backspace should move to the preceding field when current field is
deleted
* It handles tab but not shift+tab
* I would expect the arrow keys to move the cursor to the prev/next
field when at the edges of the current field
* The text is not properly centred in the field
John
>
> You may ask why I called it *virtual*? Because it's not a real entry!
> In fact, each field is an separate entry, and all of the fields are
> packed together inside a container.
>
> Thanks for reading my long mail,
> Aidin
> _______________________________________________
> pygtk mailing list pygtk at daa.com.au
> http://www.daa.com.au/mailman/listinfo/pygtk
> Read the PyGTK FAQ: http://faq.pygtk.org/
More information about the pygtk
mailing list