* paul_malherbe
| I am using tix with python and would like to know if it is possible
| to disable a notebook tag after it has been added and if so what the
| code would be.
TFTM (man notebook) says:
pathName pageconfigure pageName ?option? ?value ...?
When no option is given, prints out the values of
all options of this page. If option is specified
with no value, then the command returns the current
value of that option. If one or more option-value
pairs are specified, then the command modifies the
given page's option(s) to have the given value(s);
in this case the command returns an empty string.
Option may be any of options accepted by the add
widget command.
Using this, the TCL code would be:
tixNoteBook .foo
.foo add page-1
.foo pageconfigure page-1 -state disabled
Translation into Python left as an exercise ;-)
HTH
R'