Module Expr Str ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore Call NameLoad keyword ListLoad Str Str Assign NameStore Call NameLoad Call NameLoad Str Call NameLoad Str Str Call NameLoad Str keyword Str keyword Str keyword ListLoad Str FunctionDef arguments args NameParam defaults body Return BinOpAdd AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list Assign NameStore Call NameLoad If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr
N/A N/A 
View Default Button Changes
===========================

For the last year or so, use of the following **View** traits for managing the
default buttons displayed at the bottom of a view has been deprecated:

- apply
- revert
- undo
- ok
- cancel

Use of these traits has been supplanted by use of the *buttons* trait instead.

As part of the ongoing phasing out of these traits, the following changes have
been implemented in Traits 3.0:

- All use of the *apply*, *revert*, *undo*, *ok* and *cancel* traits have been
  removed from views contained within the traits package itself, and have been
  replaced with the *buttons* trait.

- The default value for each of the deprecated traits has been changed from
  **True** to **False**.

While use of the deprecated **View** traits is still allowed at the moment, the
affect of these changes could cause changes in behavior within existing code
that has not yet removed references to the deprecated traits.

In particular, the most likely side effect is for some or all of the default
**View** buttons to disappear from views which are implicitly relying on the
default values for each of the deprecated traits. Views which explicitly set
the deprecated **View** traits or use the newer *buttons* trait should not be
affected.

The correct fix for any **View** which has buttons disappear after installing
Traits 3.0 is to add a *buttons* trait with the correct value set to the
**View**.

Note that in a future release, the deprecated view traits will actually be
removed from the **View** class.
 traits.api * traitsui.api * Adder N/A HasTraits N/A N/A value_1 Float N/A value_2 Float N/A sum N/A Property depends_on N/A value_1 value_2 N/A view N/A View N/A Item value_1 N/A Item value_2 _ N/A Item sum style readonly title Adding Machine buttons N/A OK _get_sum N/A N/A self N/A N/A N/A N/A N/A self value_1 N/A self value_2 N/A N/A N/A popup N/A Adder N/A N/A __name__ __main__ N/A N/A N/A N/A popup configure_traits