Module Expr Str ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad body Return NameLoad Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Pass decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad Call NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Return decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str If CompareIs NameLoad NameLoad body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Expr Call Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Expr Call NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults body Expr Str If Call NameLoad NameLoad NameLoad body Return NameLoad Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad Assign NameStore Str If NameLoad body Assign NameStore BinOpAdd Str NameLoad Assign NameStore ListLoad BinOpMod Str TupleLoad NameLoad NameLoad NameLoad BinOpMod Str TupleLoad NameLoad NameLoad BinOpMod Str TupleLoad NameLoad NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body Return NameLoad Assign NameStore Call NameLoad NameLoad BinOpMod Str NameLoad NameLoad If Call NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad If CompareIsNot NameLoad NameLoad body Return NameLoad Return BoolOpOr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str ImportFrom alias If Call NameLoad NameLoad NameLoad body Return Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Return BoolOpAnd CompareIsNot NameLoad NameLoad Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Return CompareIn NameLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str ImportFrom alias alias ImportFrom alias TryExcept body Assign NameStore AttributeLoad NameLoad attr handlers ExceptHandler body TryExcept body Assign NameStore AttributeLoad NameLoad attr handlers ExceptHandler body Assign NameStore Str If CompareEq Call NameLoad NameLoad Num body Assign NameStore Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore NameLoad Assign NameStore Str If Call NameLoad NameLoad NameLoad body Assign NameStore NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr If NameLoad body Expr Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad orelse If Call NameLoad NameLoad NameLoad body Assign NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad keyword NameLoad Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str ImportFrom alias Expr Call NameLoad NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad NameLoad Str NameLoad kwarg body Expr Str If CompareIs NameLoad NameLoad body Assign NameStore NameLoad If CompareIs NameLoad NameLoad body Assign NameStore NameLoad Return Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr NameLoad NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Str NameLoad kwarg body Expr Str Return Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad BoolOpOr NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareIsNot AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareIsNot AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareIsNot AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If BoolOpAnd CompareIsNot AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list decorator_list Assign NameStore Call NameLoad FunctionDef arguments args NameParam defaults NameLoad body Expr Str Global identifier If Call NameLoad NameLoad NameLoad body Assign NameStore NameLoad Return NameLoad decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad FunctionDef arguments args NameParam NameParam defaults NameLoad kwarg body Expr Str Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Dict Str Str Str AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Return Dict Str Str Str NameLoad NameLoad AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Pass decorator_list
N/A N/A  Defines the Handler class used to manage and control the editing process in
    a Traits-based user interface.
 __future__ absolute_import toolkit toolkit help on_help_call view_element ViewElement helper user_name_for ui_info UIInfo traits.api HasPrivateTraits HasTraits Instance close_dock_control N/A N/A dock_control N/A N/A N/A  Closes a DockControl (if allowed by the associated Traits UI Handler).
     N/A ui N/A dock_control data N/A N/A N/A N/A N/A ui handler close N/A ui info True N/A N/A False N/A N/A N/A ui dispose N/A True N/A Handler N/A HasPrivateTraits N/A N/A  Provides access to and control over the run-time workings of a
    Traits-based user interface.
     init_info N/A N/A self info N/A N/A N/A  Informs the handler what the UIInfo object for a View will be.

            This method is called before the UI for the View has been
            constructed. It is provided so that the handler can save the
            reference to the UIInfo object in case it exposes viewable traits
            whose values are properties that depend upon items in the context
            being edited.
         N/A N/A init N/A N/A self info N/A N/A N/A  Initializes the controls of a user interface.

        Parameters
        ----------
        info : UIInfo object
            The UIInfo object associated with the view

        Returns
        -------
        A Boolean, indicating whether the user interface was successfully
        initialized. A True value indicates that the UI can be displayed;
        a False value indicates that the display operation should be
        cancelled. The default implementation returns True without taking
        any other action.

        Description
        -----------
        This method is called after all user interface elements have been
        created, but before the user interface is displayed. Override this
        method to customize the user interface before it is displayed.
         N/A True N/A position N/A N/A self info N/A N/A N/A  Positions a dialog-based user interface on the display.

        Parameters
        ----------
        info : UIInfo object
            The UIInfo object associated with the window

        Returns
        -------
        Nothing.

        Description
        -----------
        This method is called after the user interface is initialized (by
        calling init()), but before the user interface is displayed. Override
        this method to position the window on the display device. The default
        implementation calls the position() method of the current toolkit.

        Usually, you do not need to override this method, because you can
        control the window's placement using the **x** and **y** attributes
        of the View object.
         N/A N/A N/A N/A toolkit position N/A info ui N/A close N/A N/A self info is_ok N/A N/A N/A  Handles the user attempting to close a dialog-based user interface.

        Parameters
        ----------
        info : UIInfo object
            The UIInfo object associated with the view
        is_ok : Boolean
            Indicates whether the user confirmed the changes (such as by
            clicking **OK**.)

        Returns
        -------
        A Boolean, indicating whether the window should be allowed to close.

        Description
        -----------
        This method is called when the user attempts to close a window, by
        clicking an **OK** or **Cancel** button, or clicking a Close control
        on the window). It is called before the window is actually destroyed.
        Override this method to perform any checks before closing a window.

        While Traits UI handles "OK" and "Cancel" events automatically, you
        can use the value of the *is_ok* parameter to implement additional
        behavior.
         N/A True N/A closed N/A N/A self info is_ok N/A N/A N/A  Handles a dialog-based user interface being closed by the user.

        Parameters
        ----------
        info : UIInfo object
            The UIInfo object associated with the view
        is_ok : Boolean
            Indicates whether the user confirmed the changes (such as by
            clicking **OK**.)

        Description
        -----------
        This method is called *after* the window is destroyed. Override this
        method to perform any clean-up tasks needed by the application.
         N/A N/A revert N/A N/A self info N/A N/A N/A  Handles the **Revert** button being clicked.
         N/A N/A apply N/A N/A self info N/A N/A N/A  Handles the **Apply** button being clicked.
         N/A N/A show_help N/A N/A self info control N/A None N/A N/A  Shows the help associated with the view.

        Parameters
        ----------
        info : UIInfo object
            The UIInfo object associated with the view
        control : UI control
            The control that invokes the help dialog box

        Description
        -----------
        This method is called when the user clicks a **Help** button in a
        Traits user interface. The method calls the global help handler, which
        might be the default help handler, or might be a custom help handler.
        See **traitsui.help** for details about the setting the
        global help handler.
         N/A N/A control None N/A N/A control N/A N/A info ui control N/A N/A N/A on_help_call info control N/A setattr N/A N/A self info object name value N/A N/A N/A  Handles the user setting a specified object trait's value.

        Parameters
        ----------
        object : object
            The object whose attribute is being set
        name : string
            The name of the attribute being set
        value
            The value to which the attribute is being set

        Description
        -----------
        This method is called when an editor attempts to set a new value for
        a specified object trait attribute. Use this method to control what
        happens when a trait editor tries to set an attribute value. For
        example, you can use this method to record a history of changes, in
        order to implement an "undo" mechanism. No result is returned. The
        default implementation simply calls the built-in setattr() function.
        If you override this method, make sure that it actually sets the
        attribute, either by calling the parent method or by setting the
        attribute directly

         N/A N/A setattr object name value N/A trait_view_for N/A N/A self info view object object_name trait_name N/A N/A N/A  Gets a specified View object.
         N/A N/A isinstance view ViewElement N/A N/A view N/A klass N/A N/A object __class__ __name__ N/A cname N/A %s_%s N/A object_name trait_name N/A aview N/A view N/A N/A aview N/A _ view N/A names N/A N/A %s_%s%s N/A cname klass aview N/A %s%s N/A cname aview N/A %s%s N/A klass aview N/A view N/A N/A N/A N/A names append view N/A name names N/A N/A result N/A N/A self trait_view name N/A N/A result None N/A N/A result N/A method N/A getattr self N/A trait_view_for_%s name None N/A N/A callable method N/A N/A result N/A method info object N/A N/A result None N/A N/A result N/A N/A N/A N/A object trait_view view N/A N/A object trait_view N/A can_drop N/A N/A self info object N/A N/A N/A  Can the specified object be inserted into the view?
         pyface.dock.api DockControl N/A N/A isinstance object DockControl N/A N/A N/A N/A self can_import info N/A object export N/A drop_class N/A N/A N/A info ui view drop_class N/A N/A N/A drop_class None N/A isinstance object drop_class N/A can_import N/A N/A self info category N/A N/A N/A N/A category N/A N/A N/A info ui view imports N/A dock_control_for N/A N/A self info parent object N/A N/A N/A  Returns the DockControl object for a specified object.
         pyface.dock.api IDockable DockControl dockable_view_element DockableViewElement N/A N/A N/A name N/A object name N/A N/A N/A N/A N/A N/A name N/A object label N/A N/A N/A N/A name N/A N/A N/A len name 0 N/A N/A name N/A user_name_for N/A N/A object __class__ __name__ N/A image None N/A export N/A N/A isinstance object DockControl N/A N/A dock_control object N/A image N/A dock_control image N/A export N/A dock_control export N/A dockable N/A dock_control dockable N/A close N/A N/A dockable dockable_should_close N/A close N/A N/A N/A N/A dock_control close force True N/A control N/A N/A dockable dockable_get_control parent N/A close N/A N/A N/A N/A dock_control set control control style N/A N/A parent owner style N/A N/A N/A dockable dockable_init_dockcontrol dock_control N/A dock_control N/A N/A N/A isinstance object IDockable N/A N/A dockable object N/A control N/A N/A dockable dockable_get_control parent N/A N/A ui N/A N/A object get_dockable_ui parent N/A dockable N/A DockableViewElement ui ui N/A export N/A N/A ui view export N/A control N/A ui control N/A dc N/A DockControl control control name name export export style N/A N/A parent owner style image image closeable True N/A N/A N/A dockable dockable_init_dockcontrol dc N/A dc N/A open_view_for N/A N/A self control use_mouse N/A True N/A N/A  Creates a new view of a specified control.
         pyface.dock.api DockWindowShell N/A N/A DockWindowShell control use_mouse use_mouse N/A dock_window_empty N/A N/A self dock_window N/A N/A N/A  Handles a DockWindow becoming empty.
         N/A N/A dock_window auto_close N/A N/A N/A N/A N/A N/A dock_window control GetParent Destroy N/A edit_traits N/A N/A self view parent kind context handler id scrollable N/A None None None None None None args N/A N/A  Edits the object's traits.
         N/A N/A context None N/A N/A context self N/A N/A handler None N/A N/A handler self N/A N/A N/A N/A N/A self trait_view view ui context parent kind N/A N/A self trait_view_elements handler id scrollable args N/A configure_traits N/A N/A self filename view kind edit context handler id scrollable N/A None None None True None None None args N/A N/A  Configures the object's traits.
         N/A N/A N/A N/A super HasPrivateTraits self configure_traits filename view kind edit context N/A handler self id scrollable args N/A _on_undo N/A N/A self info N/A N/A N/A  Handles an "Undo" change request.
         N/A N/A N/A N/A info ui history None N/A N/A N/A N/A N/A N/A info ui history undo N/A _on_redo N/A N/A self info N/A N/A N/A  Handles a "Redo" change request.
         N/A N/A N/A N/A info ui history None N/A N/A N/A N/A N/A N/A info ui history redo N/A _on_revert N/A N/A self info N/A N/A N/A  Handles a "Revert all changes" request.
         N/A N/A N/A N/A info ui history None N/A N/A N/A N/A N/A N/A info ui history revert N/A N/A N/A self revert info N/A _on_close N/A N/A self info N/A N/A N/A  Handles a "Close" request.
         N/A N/A N/A N/A N/A info ui owner None N/A N/A self close info True N/A N/A N/A N/A N/A N/A info ui owner close N/A N/A N/A _default_handler N/A Handler default_handler N/A N/A handler N/A None N/A N/A  Returns the global default handler.

    If *handler* is an instance of Handler, this function sets it as the
    global default handler.
     N/A _default_handler N/A N/A isinstance handler Handler N/A N/A _default_handler handler N/A _default_handler N/A Controller N/A Handler N/A N/A  Defines a handler class which provides a view and controller for a
        specified model.

        This class is used when implementing a standard MVC-based design. The
        **model** trait contains most, if not all, of the data being viewed,
        and can be referenced in a Controller instance's View definition using
        unadorned trait names. (e.g., ``Item('name')``).
     N/A model N/A Instance HasTraits N/A info N/A Instance UIInfo __init__ N/A N/A self model N/A None metadata N/A N/A  Initializes the object and sets the model (if supplied).
         N/A N/A N/A N/A super Controller self __init__ metadata N/A N/A model None N/A N/A N/A self model model N/A trait_context N/A N/A self N/A N/A N/A  Returns the default context to use for editing or configuring
            traits.
         N/A N/A object controller handler N/A self model self self N/A init_info N/A N/A self info N/A N/A N/A  Informs the handler what the UIInfo object for a View will be.
         N/A N/A self info info N/A N/A ModelView N/A Controller N/A N/A  Defines a handler class which provides a view and controller for a
        specified model.

        This class is useful when creating a variant of the standard MVC-based
        design. A subclass of ModelView reformulates a number of traits on
        its **model** object as properties on the ModelView subclass itself,
        usually in order to convert them into a more user-friendly format. In
        this design, the ModelView subclass supplies not only the view and
        the controller, but also, in effect, the model (as a set of properties
        wrapped around the original model). Because of this, the ModelView
        context dictionary specifies the ModelView instance itself as the
        special *object* value, and assigns the original model object as the
        *model* value. Thus, the traits of the ModelView object can be referenced
        in its View definition using unadorned trait names.
     trait_context N/A N/A self N/A N/A N/A  Returns the default context to use for editing or configuring
            traits.
         N/A N/A object handler model self self N/A self model N/A N/A ViewHandler N/A Handler N/A N/A N/A