QNX RTOS v4 Knowledge Base
QNX RTOS v4 Knowledge Base
Title |
Adding widgets to a non-phab applications |
Ref. No. |
QNX.000009795 |
Category(ies) |
Development |
Issue |
We are trying to attach an icon to a program that pdm will recognize.
It is an X program, but works fine with Xphoton. So we want to put it on our pdm application bar.
We have written an empty phab application, loaded the icon there, add it as my pdm application, edit the entry in pdm and change it to my X program. It works, but it's a bit of pain.
Is there some objcopy, bindres, phabbind command that will do what we want? |
Solution |
Pdm looks for a module called "Icon" containing two PtLabel widgets called 'SIcon' and 'LIcon'. It uses the large one for the QuickLoader, and the small one for the task bar. They need to be sizes 15X15 and 43X43 pixels, respectively.
So you test it with: x09 x09$ bindres yourapp Icon.wgti
then see what happens when you add it to pdm. It will work. |
|