[KWWidgets] Refresh widgets from a callback

Árpád Szamosi szamosi.arpad at gmail.com
Sat Aug 8 19:34:24 EDT 2009

Sorry, its work even so. I tried test it with a cin.get() command to
interrupt a callback, but with code works fine.
Thanks a lot.


Steve Pieper<pieper at bwh.harvard.edu> írta (2009. augusztus 9. 0:41):
> Hi Árpád -
> Calling vtkKWApplication::ProcessPendingEvents in your callback should
> update your text.
> -Steve
> Árpád Szamosi wrote:
>> Hi,
>> I have the following problem: I make a simple window with a vtkKWText
>> widget and vtkKWPushButton. If I set some text to textwidget from the
>> callback of button, I see the text what I set just after the callback
>> return. Its possible anyway refresh the widgets  before the callback
>> return?
>> I need that because I need to call a vtk pipeline and indicate what
>> happen step by step.
>> Thanks
>> Árpád
>> _______________________________________________
>> KWWidgets mailing list
>> KWWidgets at kwwidgets.org
>> http://public.kitware.com/cgi-bin/mailman/listinfo/kwwidgets

More information about the KWWidgets mailing list