Search Results for

    Show / Hide Table of Contents

    Struct CreateWindowSettings

    Settings for new window.

    Assembly: FlaxEngine.dll
    File: Engine/Platform/CreateWindowSettings.h
    Syntax
    public struct CreateWindowSettings

    Fields

    ActivateWhenFirstShown

    Auto activate window after show.

    Declaration
    public bool ActivateWhenFirstShown = true
    Field Value
    bool

    AllowDragAndDrop

    Enable/disable drag and drop actions over the window.

    Declaration
    public bool AllowDragAndDrop = false
    Field Value
    bool

    AllowInput

    Allow window to capture input.

    Declaration
    public bool AllowInput = true
    Field Value
    bool

    AllowMaximize

    Allow window maximize action.

    Declaration
    public bool AllowMaximize = true
    Field Value
    bool

    AllowMinimize

    Allow window minimize action.

    Declaration
    public bool AllowMinimize = true
    Field Value
    bool

    Data

    The custom data (platform dependant).

    Declaration
    public void* Data = nullptr
    Field Value
    void

    Fullscreen

    True if show window fullscreen on show.

    Declaration
    public bool Fullscreen = false
    Field Value
    bool

    HasBorder

    Enable/disable window border.

    Declaration
    public bool HasBorder = true
    Field Value
    bool

    HasSizingFrame

    Enable/disable window sizing frame.

    Declaration
    public bool HasSizingFrame = true
    Field Value
    bool

    IsRegularWindow

    True if it's a regular window, false for tooltips, contextmenu and other utility windows.

    Declaration
    public bool IsRegularWindow = true
    Field Value
    bool

    IsTopmost

    True if window topmost, otherwise false as default layout.

    Declaration
    public bool IsTopmost = false
    Field Value
    bool

    MaximumSize

    The maximum size. Set to 0 to use unlimited size.

    Declaration
    public Float2 MaximumSize = Float2(0, 0)
    Field Value
    Float2

    MinimumSize

    The minimum size.

    Declaration
    public Float2 MinimumSize = Float2(1, 1)
    Field Value
    Float2

    Parent

    The native parent window pointer.

    Declaration
    public Window* Parent = nullptr
    Field Value
    Window

    Position

    The custom start position.

    Declaration
    public Float2 Position = Float2(100, 400)
    Field Value
    Float2

    ShowAfterFirstPaint

    Enable/disable window auto-show after the first paint.

    Declaration
    public bool ShowAfterFirstPaint = true
    Field Value
    bool

    ShowInTaskbar

    True if show window on taskbar, otherwise it will be hidden.

    Declaration
    public bool ShowInTaskbar = true
    Field Value
    bool

    Size

    The client size.

    Declaration
    public Float2 Size = Float2(640, 480)
    Field Value
    Float2

    StartPosition

    The start position mode.

    Declaration
    public WindowStartPosition StartPosition = WindowStartPosition::Manual
    Field Value
    WindowStartPosition

    SupportsTransparency

    Enable/disable window transparency support. Required to change window opacity property.

    Declaration
    public bool SupportsTransparency = false
    Field Value
    bool

    Title

    The title.

    Declaration
    public String Title
    Field Value
    String

    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2012-2024 Wojciech Figat