Search the web
Sign In
New User? Sign Up
tix · The Tix User Forum
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
NoteBook   Message List  
Reply | Forward Message #927 of 1043 |
Re: [tix] NoteBook

* 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'



Tue Jun 10, 2003 11:44 am

ralf@...
Send Email Send Email

Forward
Message #927 of 1043 |
Expand Messages Author Sort by Date

Hello I wonder if anyone can assist me in the following: I am using tix with python and would like to know if it is possible to disable a notebook tag after it...
paul_malherbe
Offline Send Email
Jun 10, 2003
11:37 am

* paul_malherbe ... TFTM (man notebook) says: pathName pageconfigure pageName ?option? ?value ...? When no option is given, prints out the values of all...
Ralf Fassel
ralf@...
Send Email
Jun 10, 2003
11:44 am

... I would like to know if it is possible to enable a notebook tag after it has been disabled. Thanks. -- Cinzia Bonini...
Cinzia Bonini
cinzia@...
Send Email
Jun 18, 2003
2:49 pm

* Cinzia Bonini ... --<snip-snip>-- ... while {1} { .foo pageconfigure page-1 -state disabled puts "page disabled" .foo pageconfigure page-1 -state normal puts...
Ralf Fassel
ralf@...
Send Email
Jun 19, 2003
7:39 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help