Widget::clear() is now clearTree(), as clear() might be confused with clearing the widget's own contents rather than the entire tree under it.
Also, clear() might be confused with clearing a UI data context -- the end result is visibly similar (child widgets gone, however the corresponding data items still remain).
libdeng2|Widget: Renamed potentially dangerous method
Widget::clear() is now clearTree(), as clear() might be confused with
clearing the widget's own contents rather than the entire tree
under it.
Also, clear() might be confused with clearing a UI data context --
the end result is visibly similar (child widgets gone, however
the corresponding data items still remain).