Hi all!
There is a toplevel form with PanedWindow widget (BWidget library) with two horizontally separated frames (left and right). I have two qwestions:
1. How to set a fixed proportion between the frames when I resizing the window? - For example, left panel allways will be 0.3 and right panel allways will be 0.7 of aggregate width of PanedWindow widget (or 3:7) when parent window is resized.
2. How to hide one of panels (for example - left) when any key (or button) was pressed and show it again after that key (or button) would will be pressed twice?
Each panel contains other widgets. I try to set the panel's width by 'configure -width x' command but nothing happens.
Any ideas?
---
With best regards, Dimon.
There is a toplevel form with PanedWindow widget (BWidget library) with two horizontally separated frames (left and right). I have two qwestions:
1. How to set a fixed proportion between the frames when I resizing the window? - For example, left panel allways will be 0.3 and right panel allways will be 0.7 of aggregate width of PanedWindow widget (or 3:7) when parent window is resized.
2. How to hide one of panels (for example - left) when any key (or button) was pressed and show it again after that key (or button) would will be pressed twice?
Each panel contains other widgets. I try to set the panel's width by 'configure -width x' command but nothing happens.
Any ideas?
---
With best regards, Dimon.