PtButtonGroup & PhAB

Greetings,

I am trying to use a PtPanelGroup in PhAB. It is my interpretation of the
manual that I can, at design time, populate the PtPanelGroup with panels
that the PtPanelGroup will manage.

So how exactly do I do that? Is there a step by step explanation in the
manual somewhere? If could someone kindly walk me through the process.

]{ristoph

Kristoph A. Cichocki-Romanov <news1@kristoph.net> wrote:
: Greetings,

: I am trying to use a PtPanelGroup in PhAB. It is my interpretation of the
: manual that I can, at design time, populate the PtPanelGroup with panels
: that the PtPanelGroup will manage.

: So how exactly do I do that? Is there a step by step explanation in the
: manual somewhere? If could someone kindly walk me through the process.

There’s really nothing more to it than what the docs state. Create a panel
group, then create container widgets (e.g. PtPane) in it. The titles for
the panel group’s tabs come from the child widgets’ Pt_ARG_TITLE resources.
You can create whatever children you want in the container widgets.

The Module Tree control panel is handy for selecting the children of the
panel group. Flip between panels in PhAB by changing the panel group’s
Pt_ARG_PG_CURRENT_INDEX resource.

Does that help?


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