Widget Accessing.

I’m having a little problem organizing my Windows and widgets in
Photon. I’m trying to set a resource in another widget in a different
window.

Can I use a PtSetResource(Window_diff->Run_btn,…?

Suggestions?

– Chan

Channarith Jerome Vanthin <cvanthin@wpi.edu> wrote:

: I’m having a little problem organizing my Windows and widgets in
: Photon. I’m trying to set a resource in another widget in a different
: window.

: Can I use a PtSetResource(Window_diff->Run_btn,…?

: Suggestions?

Take a look at tutorial 5 in the Photon Programmer’s Guide. It shows you
how to work with different windows.


Steve Reid stever@qnx.com
TechPubs (Technical Publications)
QNX Software Systems Ltd.