Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - No application icon in Photon taskbar???: (4 Items)
   
No application icon in Photon taskbar???  
Hi! Does anybody know how Photon determines when (and when not) to show an application icon in the taskbar? (I haven't 
been able to find anything useful in the documentation so far.) I have a process (started from within another 
application using a call to execl) with a GUI (a window with a menu bar, etc.), but when I start it I don't get an 
application icon for it in the taskbar (thus, for example, when I minimize it it's gone), and I haven't been able to 
find out yet why. Any help would be appreciated! Thanks, Jochen.
Re: No application icon in Photon taskbar???  
It looks like your window is not setting up the Pt_ARG_WINDOW_MANAGED_FLAGS resource.
You need to make sure that the Ph_WM_TASKBAR bit is set.
Ph_WM_TASKBAR -- Taskbar applications should include this window. 

For details look at the PtWindow widget's docs.

-Misha.
Re: No application icon in Photon taskbar???  
Thank you, Misha. Setting this flag indeed fixed the problem. I had seen it before, but I did not consider it relevant 
since I have other processes that also do not set this flag and they still show up in the taskbar... Jochen.
Re: No application icon in Photon taskbar???  
This flag is set by default. My guess is that you managed to unset it somehow... perhaps by a mistake.