Skip to content
Alessandro Febretti edited this page Nov 6, 2013 · 25 revisions

[[module omegaToolkit | Python-Reference#module-omegatoolkit]] wraps omegaTookit::ui::UiModule

Base class for graphical user interface support.

Methods

Method(s) Description
instance() static Returns in instance of the UiModule class
createAndInitialize() Creates and initializes an instance of the UiModule class
getWidgetFactory() Returns an instance of the WidgetFactory class. WidgetFactory can be used to create widgets
getUi() Returns the root ui container
setCullingEnabled(bool enabled), bool isCullingEnabled() Enabled or disables widget culling. When culling is enabled, 2D mode widgets are drawn only if they are within the viewport boundaries. Defaults to true.
Clone this wiki locally