Unfortunately, the only way to do this is to add a new sub-class of vtkPVWidget or vtkPVSource. We will try to make this easier in ParaView 3.<br><br>-Berk<br><br><div><span class="gmail_quote">On 7/12/06, <b class="gmail_sendername">
Kent Eschenberg</b> <<a href="mailto:eschenbe@psc.edu">eschenbe@psc.edu</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Utkarsh,<br><br>No! Do I call this from RequestData? The documentation for VTK doesn't cover vtkSMProxy, of course. Can you direct me towards documentation? Or will reading the source be sufficient?<br><br>Thanks!<br>Kent
<br>Pittsburgh Supercomputing Center<br><br><br>--On 07/12/2006 11:28:41 AM -0400 <a href="mailto:utkarsh.ayachit@kitware.com">utkarsh.ayachit@kitware.com</a> wrote:<br><br><br>> Any information property needs to be explicitly updated by calling
<br>> vtkSMProxy::UpdatePropertyInformation() or its overload. Are you calling<br>> UpdatePropertyInformation every time the module updates?<br>><br>> Utkarsh.<br>><br>><br>> Kent Eschenberg wrote:<br>
>> Can a module display a dynamic string in its GUI? I couldn't find an example of this in the supplied XML.<br>>><br>>> The XML for my module's GUI uses a StringEntry widget while the XML for the module's SM uses
<br>>><br>>> <StringVectorProperty<br>>> name="ShowReport"<br>>> command="GetReport"<br>>> number_of_elements="1"
<br>>> information_only="1"<br>>> ><br>>> <SimpleStringInformationHelper/><br>>> </StringVectorProperty><br>>><br>>> The interface for the command is
<br>>><br>>> char *GetReport( void );<br>>><br>>> where the body is in the cxx file. The initial value is displayed but subsequent changes are not. Prints added to the "RequestData" and "GetReport" routines show that "GetReport" is called only once, not every time the module updates.
<br>>><br>>> My system:<br>>><br>>> OS: 2.6.14-1.1656_FC4 i686<br>>> Compiler: 4.0.2 20051125 (Red Hat 4.0.2-8)<br>>> ParaView: 2.4.3<br>>><br>>> Thanks in advance for any advice!
<br>>><br>>> Kent<br>>> Pittsburgh Supercomputing Center<br>><br>_______________________________________________<br>ParaView mailing list<br><a href="mailto:ParaView@paraview.org">ParaView@paraview.org
</a><br><a href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview</a><br></blockquote></div><br>