From: Georgios Petasis on
Hi all,

I have just observed something that looks line a bug in Tk 8.6.
If you have for example a frame, and you use pack to pack some widgets,
then you cannot use grid, even if you have used "pack forget" on all
packed widgets.

I know that there is a problem if you use pack & grid at the same time
in Tk < 8.6 (Tk freezes). This is why an error was added if you use
pack and grid simultaneously.

But in Tk <= 8.5, using pack in a frame, and then either destroying the
packed widgets or using pack forget on all of them, and then switching
to grid was an allowable scenario. With Tk 8.6, the code breaks.

So, is this a bug or a feature?

George
From: Georgios Petasis on
στις 1/7/2010 18:54, O/H Georgios Petasis έγραψε:
> Hi all,
>
> I have just observed something that looks line a bug in Tk 8.6.
> If you have for example a frame, and you use pack to pack some widgets,
> then you cannot use grid, even if you have used "pack forget" on all
> packed widgets.
>
> I know that there is a problem if you use pack & grid at the same time
> in Tk < 8.6 (Tk freezes). This is why an error was added if you use
> pack and grid simultaneously.
>
> But in Tk <= 8.5, using pack in a frame, and then either destroying the
> packed widgets or using pack forget on all of them, and then switching
> to grid was an allowable scenario. With Tk 8.6, the code breaks.
>
> So, is this a bug or a feature?
>
> George

False alarm. It does not happen. Not a bug...

George
 | 
Pages: 1
Prev: Data Backup
Next: A package to parse Tcl code?