[pygtk] Custom Entry Widget
s.feltman at gmail.com
Wed Apr 4 15:15:19 WST 2012
Before embarking on a widget like this you might consider some potential
usability pitfalls. Essentially the framing of an edit box and the lack of
framing on static text is a well known idiom for how these widgets behave
and what a user expects. So by sticking with what is common you
can guarantee not to confuse your user base. I do understand the search box
with a low contrast embedded label that disappears when text is typed has
become popular, but it is also usually only seen in the context of a search
If these potential problems don't bother you, there is still another issue
which depends on the type of form the widget is contained within. For
instance, if you have a handful of these widgets along with other widgets
in a form. The scanning of a human eye trying to find a particular field of
interest might not be as efficient compared to the usage of the classic
"Label: [edit box]" with vertical alignment.
On Tue, Apr 3, 2012 at 5:50 PM, Clayton Alves <clayton.aa at gmail.com> wrote:
> Hi everybody,
> I'm new to pygtk, and new to this list as well.
> I'm trying to find a way to implement a custom Entry Widget (image
> attached) with an embed Label inside a Rectangle area, but have no clue
> where to start.
> Is there a way to draw a label and a entry inside a gtk.DrawingArea ?
> Or is it easier to draw the label and the entry widget inside a gtk.Frame ?
> thanks in advance.
> Clayton A. Alves
> pygtk mailing list pygtk at daa.com.au
> Read the PyGTK FAQ: http://faq.pygtk.org/
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the pygtk