Tk Library Source Code

View Ticket
Login
Ticket UUID: 1027568
Title: MainFrame: showstatusbar does not restore bottom frame.
Type: Bug Version: None
Submitter: nobody Created on: 2004-09-13 22:25:36
Subsystem: bwidget Assigned To: damonc
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2006-03-25 05:30:34
Resolution: None Closed By: dev_null42a
    Closed on: 2006-03-24 22:30:34
Description:
Hi,

For the MainFrame widget the following occurs.

.mf showstatusbar none
.mf showstatusbar progression

The first time showstatusbar with "none" is specified
it unmaps the bottom frame. Then when progression
is specified the bottom frame is not mapped. The
status bar and progressbar come back but not the
bottom frame they were in.

I was able to fix it by modifying the showstatusbar proc
to pack the bottom frame and not just the status bar
when the name argument is not "none".

Greg Pierce
User Comments: dev_null42a added on 2006-03-25 05:30:34:
Logged In: YES 
user_id=1381097

Instead of hiding the entire bottom frame, the solution I
have keep the unmapping of the status bar, leaving the
bottom frame there (but empty).  That way the main frame's
size does not change upon mapping / unmapping the status bar.

nobody added on 2004-09-14 05:25:37:

File Added - 101399: mainframe.tcl

Attachments: