John Nagle <firstname.lastname@example.org> wrote:
This was a useful bit of information. It should be in
the help files for Pt_ARG_FLAG. Thanks.
I’m not sure what you want us to add. Do you mean that we should say in
the docs for Pt_ARG_FLAG that the Pt_SET bit controls and indicates the
state of a PtToggleButton?
Here’s what the docs for Pt_ARG_FLAG currently say for Pt_SET:
The widget is in a “set” state. Generally, this indicates that the
widget has been selected.
Here’s what the docs for PtToggleButton say:
To determine whether or not the button is set, check the:
- Pt_SET bit in the Pt_ARG_FLAGS resource – see PtWidget
- Callback data passed to the Pt_CB_ACTIVATE callbacks – see PtBasic
The docs for PtToggleButton should state (instead of just implying) that
you can use Pt_ARG_FLAGS to set or unset the toggle. Is that what you’d
like to see?
Steve Reid email@example.com
TechPubs (Technical Publications)
QNX Software Systems