add_traits

Widget.add_traits(**traits)[source]

Dynamically add trait attributes to the Widget.