[vtkusers] check for pending tk events

hhiraki at lab.nig.ac.jp hhiraki at lab.nig.ac.jp
Tue Jul 23 23:15:06 EDT 2002


On Tue, 23 Jul 2002 12:00:48 -0400 (EDT), David Gobbi wrote:
> Hi All,
> 
> I'm looking for a way to abort a render if a user interacts with the
> window, and the easiest way seems to be for the window's AbortCheck
> method to check if there are any tk events pending.
> 
> Is there a way, either in raw tk or within the vtkTkRenderWidget, to
> check if there are events pending?  I've searched the tk documentation
> with no luck.
> 

How about vtkRenderWindow::GetEventPending()? Some Tcl examples 
in VTK use this method.

Regards,

Hideaki Hiraki



More information about the vtkusers mailing list