> how can i clear the contents of a canvas?or a text widget.
> how can i destroy a top level window?

Naveen,

To clear the contents of a text widget:

$widget delete 0.0 end


To clear the contents of a canvas:

eval $widget delete [$widget find all]


To destroy a toplevel window:

destroy $window


Hope that helps,

Damon


_______________________________________________
vtcl-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/vtcl-user

Reply via email to