traitsui.tests.null_backend.test_font_trait module

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

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

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

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

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

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

traitsui.tests.null_backend.test_font_trait.test_font_trait_default()
traitsui.tests.null_backend.test_font_trait.test_font_trait_examples()

An assigned font string is parsed, and the substrings are put in the order: point size, family, style, weight, underline, facename

The words ‘pt, ‘point’ and ‘family’ are ignored.

Previous topic

traitsui.tests.null_backend package

Next topic

traitsui.tests.null_backend.test_null_toolkit module

This Page