JavaScript EditorFree JavaScript Editor     Perl Manuals 



Main Page

13.15. Destroying a Widget

You can destroy a widget by calling destroy on the widget (using if Tk::Exists is recommended):

$widget->destroy if Tk::Exists($widget);

If the widget is a parent of any other widgets, the other widgets are destroyed as well.






JavaScript EditorJavaScript Formatter     Perl Manuals


©