An example of how these changes can be made can be seen here . If you have completed a megawidget that may be useful to others, you may like to consider contributing it to Pmw. See Contributions welcome for how to contribute. Pmw coding conventions As a final note, the Pmw code makes an attempt to follow these coding conventions. Underscores as word separators are only used when overriding Tkinter methods of same name.
Indent is four spaces.
Continuation lines are indented by eight spaces, so that they won't be confused with a following nested code block. Continuation lines should be used when a statement, which would normally be written on one line, is longer than 80 characters.