Table of Contents

Class: WidgetWrapper CGLtk/AuxWidgets.py

WidgetWrapper is a base class that puts a widget inside a Frame. This is useful if you want a class to have the same semantics as an existing widget, but have an enhanced appearance. For example, you can create a LabelEntry class which is exactly like an Entry, but has a Label next to the Entry (see below). Note that WidgetWrapper must be the first of the base classes because it overrides the "pack" method.

Methods   
__init__
pack
  __init__ 
__init__ (
        self,
        master=None,
        cnf={},
        **kw,
        )

  pack 
pack (
        self,
        cnf={},
        **kw,
        )


Table of Contents

This document was automatically generated on Tue Nov 5 16:56:08 2002 by HappyDoc version 2.0.1