question about the widget PtButton

Hi all,

I’ve got a question about the widget PtButton.

Is it possible to set the state of a button as “armed” from ‘outside’ ?
What I mean by ‘from outside’ is whitout clicking on it whit the mouse,
e.g. each 10 seconds.
Is there some resource or flag to set or something ?
Let me know if you’ve got an idea.

Thanks,
Jeff.

Hi Jeff,

You can use the Pt_ARG_FLAGS resource of the PtButton - if you set and
unset the Pt_SET flag this will change the state of the button.

Hope this helps
Regards
Brenda


Jeff Hoffmeyer wrote:

Hi all,

I’ve got a question about the widget PtButton.

Is it possible to set the state of a button as “armed” from ‘outside’ ?
What I mean by ‘from outside’ is whitout clicking on it whit the mouse,
e.g. each 10 seconds.
Is there some resource or flag to set or something ?
Let me know if you’ve got an idea.

Thanks,
Jeff.
\