remove_class

Widget.remove_class(className)

Removes a class from the top level element of the widget.

Doesn’t remove the class if it doesn’t exist.