[pygtk] How to abbreviate name of widgets

Dieter Verfaillie dieterv at optionexplicit.be
Thu May 26 04:50:35 WST 2011


On 17/04/2011 00:52, craf wrote:
> Hi.
>  
> There is some agreement on how to abbreviate the name of the widgets in
> PyGTK.?
> 
> Example:
> 
> windows = wnd
> Button  = btn

Hungarian notation (or some form of it) is rarely used within the
Python community (if ever). Most Python users feel comfortable
with what's described in the "Naming Conventions" chapter of PEP 8:
http://www.python.org/dev/peps/pep-0008/

mvg,
Dieter


More information about the pygtk mailing list