omni.ui
Overview
API (python)
Modules
omni.ui
Submodules
abstract_shade
Classes
AbstractShade
color_utils
Classes
AbstractShade
ColorShade
Functions
Singleton
constant_utils
Classes
AbstractShade
FloatShade
Functions
Singleton
extension
Classes
UIPreferencesExtension
singleton
Functions
Singleton
style_utils
url_utils
Classes
AbstractShade
StringShade
Functions
Singleton
workspace_utils
Classes
CompareDelegate
Functions
compare_workspace
dump_workspace
handle_exception
restore_workspace
Classes
AbstractField
AbstractItem
AbstractItemDelegate
AbstractItemModel
AbstractMultiField
AbstractSlider
AbstractValueModel
Alignment
ArrowHelper
ArrowType
Axis
BezierCurve
Button
ByteImageProvider
CanvasFrame
CheckBox
Circle
CircleSizePolicy
CollapsableFrame
ColorStore
ColorWidget
ComboBox
Container
CornerFlag
Direction
DockPolicy
DockPosition
DockPreference
DockSpace
DynamicTextureProvider
Ellipse
FillPolicy
FloatDrag
FloatField
FloatSlider
FloatStore
FocusPolicy
FontStyle
Fraction
Frame
FreeBezierCurve
FreeCircle
FreeEllipse
FreeLine
FreeRectangle
FreeTriangle
Grid
HGrid
HStack
Image
ImageProvider
ImageWithProvider
Inspector
IntDrag
IntField
IntSlider
InvisibleButton
ItemModelHelper
IwpFillPolicy
Label
Length
Line
MainWindow
Menu
MenuBar
MenuDelegate
MenuHelper
MenuItem
MenuItemCollection
MultiFloatDragField
MultiFloatField
MultiIntDragField
MultiIntField
MultiStringField
OffsetLine
Percent
Pixel
Placer
Plot
ProgressBar
RadioButton
RadioCollection
RasterImageProvider
RasterPolicy
Rectangle
ScrollBarPolicy
ScrollingFrame
Separator
ShadowFlag
Shape
ShapeAnchorHelper
SimpleBoolModel
SimpleFloatModel
SimpleIntModel
SimpleStringModel
SliderDrawMode
Spacer
Stack
StringField
StringStore
Style
TextureFormat
ToolBar
ToolBarAxis
ToolButton
TreeView
Triangle
Type
UIPreferencesExtension
UIntDrag
UIntSlider
UnitType
VGrid
VStack
ValueModelHelper
VectorImageProvider
Widget
WidgetMouseDropEvent
Window
WindowHandle
Workspace
ZStack
Functions
add_to_namespace
set_menu_delegate
set_shade
dock_window_in_window
get_custom_glyph_code
get_main_window_height
get_main_window_width
API (C++)
Changelog
Omniverse Kit
»
API (python)
»
Modules
»
omni.ui
»
omni.ui Functions
»
get_main_window_width
get_main_window_width
omni.ui.
get_main_window_width
(
)
→
float
Get the width in points of the current main window.