[Paraview-developers] Problem using vtkSetStringMacro with StringListDomain

David Lawrie dlawrie at ara.co.uk
Wed Oct 26 09:45:26 EDT 2016


Hi Utkarsh,

That appears to solve the issue as I can now see the SetChosenOne debug output appear when I click apply.

Is it possible to link the chosen value to another StringVectorProperty as I intend for this combobox to provide 
the keys to a map<string:string> and provide the value for editing/acceptance by the user? 

Thanks,

David

-----Original Message-----
From: Utkarsh Ayachit [mailto:utkarsh.ayachit at kitware.com] 
Sent: 26 October 2016 14:06
To: David Lawrie
Cc: paraview-developers at paraview.org
Subject: Re: [Paraview-developers] Problem using vtkSetStringMacro with StringListDomain

>.... However when I select an option from the list  the SetChosenOne 
>method does not appear to be called.

Try setting number_of_elements="1" and "default_values="" on the <StringVectorProperty ..> element.

Does that work?

Utkarsh

**********************************************************************
Please consider the environment. Only print this email if absolutely necessary.

This email contains information that is private and confidential and is intended only for the addressee.
If you are not the intended recipient please delete it and notify us immediately by e-mailing the sender.
Note: All email sent to or from this address may be accessed by someone other than the recipient, for
system management and security reasons.
Aircraft Research Association Ltd.  Registered in England, Registration No 503668 Registered Office:
Manton Lane, Bedford MK41 7PF England VAT No GB 196351245

**********************************************************************


More information about the Paraview-developers mailing list