diff options
author | jenglish@flightlab.com <jenglish> | 2007-06-09 21:45:44 (GMT) |
---|---|---|
committer | jenglish@flightlab.com <jenglish> | 2007-06-09 21:45:44 (GMT) |
commit | f481fbab1a1b573e119c02e75e2f47e722751664 (patch) | |
tree | 6ff8505955c590dbaef7689b5a4e271b4e3a3ae3 /library | |
parent | 94ce3b2d4285f988100fc4f1084e22ec23fcb473 (diff) | |
download | tk-f481fbab1a1b573e119c02e75e2f47e722751664.zip tk-f481fbab1a1b573e119c02e75e2f47e722751664.tar.gz tk-f481fbab1a1b573e119c02e75e2f47e722751664.tar.bz2 |
Ttk_Manager API overhaul:
+ Ttk_Manager no longer responsible for managing slave records
+ Ttk_Manager structure now opaque
+ Ttk_Slave structure now private
+ Pass Ttk_Manager * to Tk_GeomMgr hooks instead of Ttk_Slave *
ttk::labelframe: Simplified -labelwidget management.
ttk::noteboook 'insert' command didn't correctly maintain current tab.
Changed documentation of ttk::panedwindow 'identify' command to
match implementation.
Diffstat (limited to 'library')
-rw-r--r-- | library/ttk/panedwindow.tcl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/library/ttk/panedwindow.tcl b/library/ttk/panedwindow.tcl index 15ec4f8..9cb046d 100644 --- a/library/ttk/panedwindow.tcl +++ b/library/ttk/panedwindow.tcl @@ -1,5 +1,5 @@ # -# $Id: panedwindow.tcl,v 1.3 2007/04/13 00:21:47 hobbs Exp $ +# $Id: panedwindow.tcl,v 1.4 2007/06/09 21:45:45 jenglish Exp $ # # Bindings for ttk::panedwindow widget. # @@ -33,8 +33,8 @@ bind TPanedwindow <<EnteredChild>> { ttk::panedwindow::ResetCursor %W } proc ttk::panedwindow::Press {w x y} { variable State - lassign [$w identify $x $y] sash element - if {![info exists sash] || $sash eq ""} { + set sash [$w identify $x $y] + if {$sash eq ""} { set State(pressed) 0 return } |