Context - Ubuntu 18.04.2 LTS Gnome-Shell 3.28.3 Perl 5.26.1 Tk 804.034
Challenge - identifying what event/s is/are issued when a Tk TopLevel window in state 'iconic' is changed to state 'normal'. I have tried binding to Map,Unmap,Configure,Visibility,Expose,ButtonRelease-1 events and while I get the expected events from 'normal' to 'iconic' I do not get any that I can identify in the reverse direction i.e. when I left mouse click on the window's icon(I assigned via $mw->iconphoto(...)) under the Ubuntu Activities bar the window appears but so far I have not found which event/s accompanies said - I'm currently guessing none as the related action is not under Tk orchestration albeit Tk should know such an action occurred and could generate at least a 'Visibility' event.
The problem I am trying to address is a means to re-display a withdrawn 'undecorated' (overrideredirect(1)) window as such windows do not appear to allow being 'iconic' so I have a simple decorated window (initially withdrawn then iconized when 'undecorated' withdrawn) to hold the icon I want which when pressed will in essence raise the 'undecorated' one and quickly withdraw itself - hence the need to bind to whatever event will tell me its now visible!
Any help in direction greatly appreciated!
In reply to Identify Tk state iconic to normal events by WayneRas
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |