creating custom options for custom widgets?
ag at mirada-solutions.com
Wed Mar 22 18:55:34 CET 2006
I'm creating a new widget class using Tkinter (class inherited form
Tkinter.Frame). This class creates a bunch of other widgets inside it
that can be "gridded" either horizontally or vertically. I would like
to provide the user of the class an option to change this layout on the
fly, using something like "widget[ 'layout' ] = 'vertical'". Does
anyone have experience with that? I'm afraid i just down know how to
proceed or where to look for an example.
thx for any help.
More information about the Python-list