[vtkusers] Runtime Tk/Tcl Wrapping
Goodwin Lawlor
goodwin.lawlor at ucd.ie
Mon Mar 31 12:52:50 EDT 2008
Benjamin Grauer wrote:
> Hi there,
>
> I am using VTK for a small test application and created a new class
> derived from vtkKWWindow.
> Tk/Tcl cannot execute any functions on this object, although I am
> linking the wrappings in.
>
> For instance when I call the Close function (by clicking the close
> window button) the following error appears:
> =====
> ERROR: In ..\KWWidgets\vtkKWApplication.cxx, line 1205
> vtkKWApplication (052758A0): TclTk error: Object named: vtkTemp0, could
> not find
> requested method: Close
> or the method was called with incorrect arguments.
>
> Object named: vtkTemp0, could not find requested method: Close
> or the method was called with incorrect arguments.
>
> while executing
> "vtkTemp0 Close"
> (command for "WM_DELETE_WINDOW" window manager protocol)
> ====
>
> All Ideas are greatly appreciated
>
> Ben
>
> PS: the code is located here:
> http://www.na-mic.org/svn/Slicer3/branches/igt_cuda_merge/Modules/VolumeRenderingCuda/Examples
Hi Ben,
It could be just a naming convention thing- would naming your class
vtkKWUltrasoundGUI make a difference? The wrapping process may depend on it.
Can you open a console and try:
[vtkUltrasoundGUI New] ListMethods
Is it just the superclass methods that wont execute or your class'
methods too?
hth
Goodwin
More information about the vtkusers
mailing list