traitsui.tests.test_layout module

Test the layout of elements is consistent with the layout parameters.

class traitsui.tests.test_layout.HResizeDialog

Bases: traits.has_traits.HasTraits

class traitsui.tests.test_layout.VResizeDialog

Bases: traits.has_traits.HasTraits

traitsui.tests.test_layout.is_current_backend_null(*, backend_name='null')
traitsui.tests.test_layout.is_current_backend_qt4(*, backend_name='qt4')
traitsui.tests.test_layout.is_current_backend_wx(*, backend_name='wx')
traitsui.tests.test_layout.skip_if_not_null(item, *, backend_name='null')

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

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

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

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

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

traitsui.tests.test_layout.test_qt_resizable_in_hgroup()
traitsui.tests.test_layout.test_qt_resizable_in_vgroup()

Previous topic

traitsui.tests.test_labels module

Next topic

traitsui.tests.test_regression module

This Page