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> &lt;<a href="mailto:eschenbe@psc.edu">eschenbe@psc.edu</a>&gt; 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>&gt; Any information property needs to be explicitly updated by calling
<br>&gt; vtkSMProxy::UpdatePropertyInformation() or its overload. Are you calling<br>&gt; UpdatePropertyInformation every time the module updates?<br>&gt;<br>&gt; Utkarsh.<br>&gt;<br>&gt;<br>&gt; Kent Eschenberg wrote:<br>
&gt;&gt; Can a module display a dynamic string in its GUI? I couldn't find an example of this in the supplied XML.<br>&gt;&gt;<br>&gt;&gt; The XML for my module's GUI uses a StringEntry widget while the XML for the module's SM uses
<br>&gt;&gt;<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;StringVectorProperty<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; name=&quot;ShowReport&quot;<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; command=&quot;GetReport&quot;<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; number_of_elements=&quot;1&quot;
<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; information_only=&quot;1&quot;<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt;<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;SimpleStringInformationHelper/&gt;<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/StringVectorProperty&gt;<br>&gt;&gt;<br>&gt;&gt; The interface for the command is
<br>&gt;&gt;<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; char *GetReport( void );<br>&gt;&gt;<br>&gt;&gt; where the body is in the cxx file. The initial value is displayed but subsequent changes are not. Prints added to the &quot;RequestData&quot; and &quot;GetReport&quot; routines show that &quot;GetReport&quot; is called only once, not every time the module updates.
<br>&gt;&gt;<br>&gt;&gt; My system:<br>&gt;&gt;<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;OS: 2.6.14-1.1656_FC4 i686<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;Compiler: 4.0.2 20051125 (Red Hat 4.0.2-8)<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;ParaView: 2.4.3<br>&gt;&gt;<br>&gt;&gt; Thanks in advance for any advice!
<br>&gt;&gt;<br>&gt;&gt; Kent<br>&gt;&gt; Pittsburgh Supercomputing Center<br>&gt;<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>