newbie help

Hello,I am a newbie of photon.

Now I have a question and need some help.

I want to create a callback in phab that can extract a string from a text
widget and send it to anthother process and display the reply in the same
text widget.

Now I create a pt_cb_arm callback for the pttext,is it right???

Thanks! Eager for your reply!

Hello Yiner

What event to you want to cause this action to take place? A button
click, a mouse move, hitting the enter key in the text box? It really
depends on what you want to do. I recommend that you read the Photon
Programming guide as it will give you some valuable information on how
Photon works. If you still have questions after that then we can go
from there.

Thanks,
Rodney

yiner wrote:

Hello,I am a newbie of photon.

Now I have a question and need some help.

I want to create a callback in phab that can extract a string from a text
widget and send it to anthother process and display the reply in the same
text widget.

Now I create a pt_cb_arm callback for the pttext,is it right???

Thanks! Eager for your reply!

Thank you very much! Now I can use a button to do that .

“Rodney Dowdall” <rdowdall@qnx.com> ???:bl1ni6$1la$1@nntp.qnx.com

Hello Yiner

What event to you want to cause this action to take place? A button
click, a mouse move, hitting the enter key in the text box? It really
depends on what you want to do. I recommend that you read the Photon
Programming guide as it will give you some valuable information on how
Photon works. If you still have questions after that then we can go
from there.

Thanks,
Rodney

yiner wrote:
Hello,I am a newbie of photon.

Now I have a question and need some help.

I want to create a callback in phab that can extract a string from a
text
widget and send it to anthother process and display the reply in the
same
text widget.

Now I create a pt_cb_arm callback for the pttext,is it right???

Thanks! Eager for your reply!