Changeset 121
- Timestamp:
- Dec 4, 2009 5:00:45 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/notebook.tcl
- Property rcs:date changed from 1999/11/15 14:32:48 to 1999/11/17 22:06:21
- Property rcs:rev changed from 1.1 to 1.2
- Property rcs:lines set to +6 -1
r116 r121 6 6 # deactivate tabs for notebook pages that have "-state disabled" 7 7 # define a -command configuration option 8 # define a -title configuration option 8 9 # 9 10 # Copyright (C) 1996,1997,1998 D. Richard Hipp … … 112 113 foreach p $Notebook($w,pages) { 113 114 set Notebook($w,p$cnt,x5) $x 114 set id [$w create text 0 0 -text $p -anchor nw -tags "p$cnt t$cnt"] 115 if [catch {set Notebook($w,c$cnt,title)}] {set Notebook($w,c$cnt,title) $p} 116 set id [$w create text 0 0 -text $Notebook($w,c$cnt,title) -anchor nw -tags "p$cnt t$cnt"] 115 117 set bbox [$w bbox $id] 116 118 set width [lindex $bbox 2] … … 234 236 set Notebook($w,c$i,command) $value 235 237 } 238 -title { 239 set Notebook($w,c$i,title) $value 240 } 236 241 -onexit { 237 242 set Notebook($w,p$i,onexit) $value
Note: See TracChangeset
for help on using the changeset viewer.