unreal.WindowStyle
¶
- class unreal.WindowStyle(minimize_button_style: ButtonStyle = Ellipsis, maximize_button_style: ButtonStyle = Ellipsis, restore_button_style: ButtonStyle = Ellipsis, close_button_style: ButtonStyle = Ellipsis, title_text_style: TextBlockStyle = Ellipsis, active_title_brush: SlateBrush = Ellipsis, inactive_title_brush: SlateBrush = Ellipsis, flash_title_brush: SlateBrush = Ellipsis, background_color: SlateColor = Ellipsis, outline_brush: SlateBrush = Ellipsis, outline_color: SlateColor = Ellipsis, border_brush: SlateBrush = Ellipsis, border_color: SlateColor = Ellipsis, background_brush: SlateBrush = Ellipsis, child_background_brush: SlateBrush = Ellipsis, window_corner_radius: int = 0, border_padding: Margin = Ellipsis)¶
Bases:
SlateWidgetStyle
Represents the appearance of an SWindow
C++ Source:
Module: SlateCore
File: SlateTypes.h
Editor Properties: (see get_editor_property/set_editor_property)
active_title_brush
(SlateBrush): [Read-Write] Brush used to draw the window title area when the window is activebackground_brush
(SlateBrush): [Read-Write] Brush used to draw the window backgroundbackground_color
(SlateColor): [Read-Write] Color used to draw the window backgroundborder_brush
(SlateBrush): [Read-Write] Brush used to draw the window borderborder_color
(SlateColor): [Read-Write] Color used to draw the window borderborder_padding
(Margin): [Read-Write] Window corner rounding. If this value is <= 0 no rounding will occur. Used for regular, non-maximized windows only (not tool-tips or decorators.)child_background_brush
(SlateBrush): [Read-Write] Brush used to draw the background of child windowsclose_button_style
(ButtonStyle): [Read-Write] Style used to draw the window close buttonflash_title_brush
(SlateBrush): [Read-Write] Brush used to draw the window title area when the window is flashinginactive_title_brush
(SlateBrush): [Read-Write] Brush used to draw the window title area when the window is inactivemaximize_button_style
(ButtonStyle): [Read-Write] Style used to draw the window maximize buttonminimize_button_style
(ButtonStyle): [Read-Write] Style used to draw the window minimize buttonoutline_brush
(SlateBrush): [Read-Write] Brush used to draw the window outlineoutline_color
(SlateColor): [Read-Write] Color used to draw the window outlinerestore_button_style
(ButtonStyle): [Read-Write] Style used to draw the window restore buttontitle_text_style
(TextBlockStyle): [Read-Write] Style used to draw the window title textwindow_corner_radius
(int32): [Read-Write] Window corner rounding. If this value is <= 0 no rounding will occur. Used for regular, non-maximized windows only (not tool-tips or decorators.)
- property active_title_brush: SlateBrush¶
[Read-Write] Brush used to draw the window title area when the window is active
- Type:
- property background_brush: SlateBrush¶
[Read-Write] Brush used to draw the window background
- Type:
- property background_color: SlateColor¶
[Read-Write] Color used to draw the window background
- Type:
- property border_brush: SlateBrush¶
[Read-Write] Brush used to draw the window border
- Type:
- property border_color: SlateColor¶
[Read-Write] Color used to draw the window border
- Type:
- property border_padding: Margin¶
[Read-Write] Window corner rounding. If this value is <= 0 no rounding will occur. Used for regular, non-maximized windows only (not tool-tips or decorators.)
- Type:
(Margin)
- property child_background_brush: SlateBrush¶
[Read-Write] Brush used to draw the background of child windows
- Type:
- property close_button_style: ButtonStyle¶
[Read-Write] Style used to draw the window close button
- Type:
- property flash_title_brush: SlateBrush¶
[Read-Write] Brush used to draw the window title area when the window is flashing
- Type:
- property inactive_title_brush: SlateBrush¶
[Read-Write] Brush used to draw the window title area when the window is inactive
- Type:
- property maximize_button_style: ButtonStyle¶
[Read-Write] Style used to draw the window maximize button
- Type:
- property minimize_button_style: ButtonStyle¶
[Read-Write] Style used to draw the window minimize button
- Type:
- property outline_brush: SlateBrush¶
[Read-Write] Brush used to draw the window outline
- Type:
- property outline_color: SlateColor¶
[Read-Write] Color used to draw the window outline
- Type:
- property restore_button_style: ButtonStyle¶
[Read-Write] Style used to draw the window restore button
- Type:
- property title_text_style: TextBlockStyle¶
[Read-Write] Style used to draw the window title text
- Type: