Am trying to use the 'wm group' command to perform as described in the docs. However, using the following script, I am unable to do so. Additionally, it is hoped that using group would be a way to move a group of toplevels when the leader is moved (yes, bind configure is an option). What am I doing incorrectly - the toplevel .t2 does not deiconify.
---------
set t1 [toplevel .t1 -background yellow -height 200p -width 400p]
set t2 [toplevel .t2 -width 100 -height 72 -background blue ]
wm geometry $t1 +100+100
wm geometry $t2 +150+120
wm group $t2 $t1
puts [wm group $t2]
wm iconify $t1
wm iconify $t2
after 2000
# order of deiconify seems a good way to set order of toplevels
wm deiconify $t1
wm geometry $t1 +400+100
The window manager may use this information, for example, to unmap all of the windows
in a group when the group's leader is iconified.
[wm group]| > The window manager may use this information, for example, to unmap all of the windows
* saitology9 <saito...@gmail.com>thanks, y'all (am from Georgia) for responding so quickly. Those were pretty much my thoughts as well; but, I have been wrong before. Seems bindings of the Configure event is the way to make it happen.
[wm group]| > The window manager may use this information, for example, to unmap all of the windows
| > in a group when the group's leader is iconified.
Whenever the manpages say "it is up to the window manager" you can
usually forget about that feature to be an important functionality of
your UI. The differences in the various WMs on Linux alone are already
big, and then we haven't talked different OS yet.
But. At least for iconify/deiconify [wm transient] might help the OP,
though it has other drawbacks (window decoration tc).
R'
On Monday, January 16, 2023 at 8:55:11 AM UTC-8, Ralf Fassel wrote:
* saitology9 <saito...@gmail.com>thanks, y'all (am from Georgia) for responding so quickly. Those were pretty much my thoughts as well; but, I have been wrong before. Seems bindings of the Configure event is the way to make it happen.
[wm group]| > The window manager may use this information, for example, to unmap all of the windows
| > in a group when the group's leader is iconified.
Whenever the manpages say "it is up to the window manager" you can
usually forget about that feature to be an important functionality of
your UI. The differences in the various WMs on Linux alone are already
big, and then we haven't talked different OS yet.
But. At least for iconify/deiconify [wm transient] might help the OP,
though it has other drawbacks (window decoration tc).
R'
Rick
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 463 |
Nodes: | 16 (2 / 14) |
Uptime: | 157:08:02 |
Calls: | 9,384 |
Calls today: | 4 |
Files: | 13,561 |
Messages: | 6,096,000 |