traitsui.tests.test_actions module

Test that menu and toolbar actions are triggered.

class traitsui.tests.test_actions.DialogWithToolbar

Bases: traits.has_traits.HasTraits

Test dialog with toolbar and menu.

menubar = <pyface.ui.qt4.action.menu_bar_manager.MenuBarManager object>
test_clicked()
toolbar = <pyface.ui.qt4.action.tool_bar_manager.ToolBarManager object>
traitsui.tests.test_actions.is_current_backend_null(*, backend_name='null')
traitsui.tests.test_actions.is_current_backend_qt4(*, backend_name='qt4')
traitsui.tests.test_actions.is_current_backend_wx(*, backend_name='wx')
traitsui.tests.test_actions.skip_if_not_null(item, *, backend_name='null')

Decorator that skip tests if the backend is not the desired one.

traitsui.tests.test_actions.skip_if_not_qt4(item, *, backend_name='qt4')

Decorator that skip tests if the backend is not the desired one.

traitsui.tests.test_actions.skip_if_not_wx(item, *, backend_name='wx')

Decorator that skip tests if the backend is not the desired one.

traitsui.tests.test_actions.test_qt_button_action()
traitsui.tests.test_actions.test_qt_menu_action()
traitsui.tests.test_actions.test_qt_toolbar_action()
traitsui.tests.test_actions.test_wx_button_action()
traitsui.tests.test_actions.test_wx_toolbar_action()

Previous topic

traitsui.tests.ui_editors.test_data_frame_editor module

Next topic

traitsui.tests.test_color_column module

This Page