Tk Library Source Code

View Ticket
Login
Ticket UUID: 1023867
Title: Tk dependency in version 1.7
Type: Bug Version: None
Submitter: nobody Created on: 2004-09-07 18:07:10
Subsystem: bwidget Assigned To: damonc
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2004-09-15 03:20:07
Resolution: Out of Date Closed By: hobbs
    Closed on: 2004-09-14 20:20:07
Description:
BWidget 1.4 TitleFrame does not work with Tk 8.2

$ wish8.2
%  package require BWidget
1.7
% pack [TitleFrame .tf -text Test]
error while autoloading "TitleFrame": unknown option
"-state"


$ wish8.4
%  package require BWidget
1.7
% pack [TitleFrame .tf -text Test]
%

In some version the "-state" option has been added to
the TitleFrame Widget, which is which is handled over
th the Tk label widget. The "label" in Tk 8.2 does not
support "-state", but the Tk 8.4 label does have this
method.
In the BWidgets 1.2 no "-state" method of the
TitleFrame was present, so this version works with Tk
8.2.

I don't know how the situation is in Tk 8.3, neither do
I know when the "-state" has been added to the
TitleFrame.

By,
Gerhard
User Comments: hobbs added on 2004-09-15 03:20:07:
Logged In: YES 
user_id=72656

-state was added in 8.3, so that would be the minimum
requirement now for a TitleFrame.