AbstractField#

class omni.ui.AbstractField#

Bases: Widget, ValueModelHelper

The abstract widget that is base for any field, which is a one-line text editor. A field allows the user to enter and edit a single line of plain text. It’s implemented using the model-view pattern and uses AbstractValueModel as the central component of the system.

Methods

__init__(*args, **kwargs)

focus_keyboard(self[, focus])

Puts cursor to this field or removes focus if focus

Attributes

__init__(*args, **kwargs)#
focus_keyboard(
self: omni.ui._ui.AbstractField,
focus: bool = True,
) None#

Puts cursor to this field or removes focus if focus