Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#6 expose tkTabToWindow on tk8.4 and higher

closed-accepted
nobody
None
5
2004-03-08
2004-01-18
Anonymous
No

We had a problem (on tkdiff v3) where it complained
about tkTabToWindow if you were using tk8.4. This
patch seems to fix it.

@@ -73,6 +70,13 @@
option add "*TearOff" false 100
option add "*BorderWidth" 1 100

+# tkTabToWindow is a private interface that should not
have been used
+# but we need it so we'll expose it as of tk8.4
+if { $tk_version >= 8.4 } {
+ ::tk::unsupported::ExposePrivateCommand tk*
+}
+

Thanks,

Adrian Bridgett
bridgett@debian.org

Discussion

  • DorothyR
    DorothyR
    2004-03-08

    • status: open --> closed-accepted
     
  • Logged In: YES
    user_id=543301

    Now I have the following error message (in tkdiff 4.0.1
    which has this patch applied):

    Error in startup script: No compatibility support for [tk*]
    while executing
    "::tk::unsupported::ExposePrivateCommand tk*"
    invoked from within
    "if { $tk_version >= 8.4 } {
    ::tk::unsupported::ExposePrivateCommand tk*
    }"
    (file "/opt2/bin/tkdiff" line 77)

    My Tk is 8.4.