Base class for widgets which can contain other widgets. More...
Public Member Functions | |
def | __init__ (self) |
The constructor. More... | |
def | config_children (self, which, **kw) |
Configures resources for all children. More... | |
Base class for widgets which can contain other widgets.
Used only as mixin: you should not use it directly.
def __init__ | ( | self | ) |
The constructor.
It only defines some internal variables used by its methods.
Reimplemented in HorFrame, VerFrame, RowFrame, VerScrollFrame, RowScrollFrame, Window, BaseWindow, and Main.
def config_children | ( | self, | |
which, | |||
** | kw | ||
) |
Configures resources for all children.
All widgets which will be added to the container will be configured with the given values. If a child container calls config_children() in turn, the options will be inherited: if a resource receives a new value it replaces the previous one, otherwise it remains unchanged.
which | you can indicate "all" (or ALL) for all children, or the name of a widget class (not a string, for example Entry or Button) or a tuple of names for configuring only specific widgets. |
kw | a list of named options for the resources to be configured |