[Ctk-developers] Setting name and description of ctkWorkflowWidgetStep
Daniel Haehn
haehn at bwh.harvard.edu
Fri Jun 3 19:13:39 UTC 2011
Hi guys,
I got it:
the ctkWorkflowGroupBox listens for the currentStepChanged signal to
update the title (==name) and subTitle (==description) for the current
step.
So maybe it makes sense to invoke this signal when the
ctkWorkflow.start() gets called?
If I do it manually like that, it works:
self.workflow.start()
self.workflow.currentStepChanged(steps[0])
Cheers,
Daniel
On Fri, Jun 3, 2011 at 12:17 PM, Daniel Haehn <haehn at bwh.harvard.edu> wrote:
> Hi devels,
>
> in C++ I can do
>
> this->setName("Title of step");
> this->setDescription("Instructions");
>
> in a ctkWorkflowWidgetStep, which then get nicely displayed in the
> associated ctkWorkflowGroupBox.
>
> In Python, the same methods can be accessed but the
> ctkWorkflowGroupBox does not seem to show them.
>
> Do I need to trigger an update on the box or something similar?
>
> Thank you!
> Daniel
>
More information about the Ctk-developers
mailing list