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] Active Title Brush: Brush used to draw the window title area when the window is active

  • background_brush (SlateBrush): [Read-Write] Background Brush: Brush used to draw the window background

  • background_color (SlateColor): [Read-Write] Background Color: Color used to draw the window background

  • border_brush (SlateBrush): [Read-Write] Border Brush: Brush used to draw the window border

  • border_color (SlateColor): [Read-Write] Border Color: Color used to draw the window border

  • border_padding (Margin): [Read-Write] Border Padding: 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] Child Background Brush: Brush used to draw the background of child windows

  • close_button_style (ButtonStyle): [Read-Write] Close Button Style: Style used to draw the window close button

  • flash_title_brush (SlateBrush): [Read-Write] Flash Title Brush: Brush used to draw the window title area when the window is flashing

  • inactive_title_brush (SlateBrush): [Read-Write] Inactive Title Brush: Brush used to draw the window title area when the window is inactive

  • maximize_button_style (ButtonStyle): [Read-Write] Maximize Button Style: Style used to draw the window maximize button

  • minimize_button_style (ButtonStyle): [Read-Write] Minimize Button Style: Style used to draw the window minimize button

  • outline_brush (SlateBrush): [Read-Write] Outline Brush: Brush used to draw the window outline

  • outline_color (SlateColor): [Read-Write] Outline Color: Color used to draw the window outline

  • restore_button_style (ButtonStyle): [Read-Write] Restore Button Style: Style used to draw the window restore button

  • title_text_style (TextBlockStyle): [Read-Write] Title Text Style: Style used to draw the window title text

  • window_corner_radius (int32): [Read-Write] Window Corner Radius: 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] Active Title Brush: Brush used to draw the window title area when the window is active

Type:

(SlateBrush)

property background_brush: SlateBrush

[Read-Write] Background Brush: Brush used to draw the window background

Type:

(SlateBrush)

property background_color: SlateColor

[Read-Write] Background Color: Color used to draw the window background

Type:

(SlateColor)

property border_brush: SlateBrush

[Read-Write] Border Brush: Brush used to draw the window border

Type:

(SlateBrush)

property border_color: SlateColor

[Read-Write] Border Color: Color used to draw the window border

Type:

(SlateColor)

property border_padding: Margin

[Read-Write] Border Padding: 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] Child Background Brush: Brush used to draw the background of child windows

Type:

(SlateBrush)

property close_button_style: ButtonStyle

[Read-Write] Close Button Style: Style used to draw the window close button

Type:

(ButtonStyle)

property flash_title_brush: SlateBrush

[Read-Write] Flash Title Brush: Brush used to draw the window title area when the window is flashing

Type:

(SlateBrush)

property inactive_title_brush: SlateBrush

[Read-Write] Inactive Title Brush: Brush used to draw the window title area when the window is inactive

Type:

(SlateBrush)

property maximize_button_style: ButtonStyle

[Read-Write] Maximize Button Style: Style used to draw the window maximize button

Type:

(ButtonStyle)

property minimize_button_style: ButtonStyle

[Read-Write] Minimize Button Style: Style used to draw the window minimize button

Type:

(ButtonStyle)

property outline_brush: SlateBrush

[Read-Write] Outline Brush: Brush used to draw the window outline

Type:

(SlateBrush)

property outline_color: SlateColor

[Read-Write] Outline Color: Color used to draw the window outline

Type:

(SlateColor)

property restore_button_style: ButtonStyle

[Read-Write] Restore Button Style: Style used to draw the window restore button

Type:

(ButtonStyle)

property title_text_style: TextBlockStyle

[Read-Write] Title Text Style: Style used to draw the window title text

Type:

(TextBlockStyle)

property window_corner_radius: int

[Read-Write] Window Corner Radius: 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:

(int32)