logo
#[repr(C)]
pub enum SCITER_CREATE_WINDOW_FLAGS {
    SW_CHILD,
    SW_TITLEBAR,
    SW_RESIZEABLE,
    SW_TOOL,
    SW_CONTROLS,
    SW_GLASSY,
    SW_ALPHA,
    SW_MAIN,
    SW_POPUP,
    SW_ENABLE_DEBUG,
    SW_OWNS_VM,
}
Expand description

Window flags

Variants

SW_CHILD

child window only, if this flag is set all other flags ignored.

SW_TITLEBAR

toplevel window, has titlebar.

SW_RESIZEABLE

has resizeable frame.

SW_TOOL

is tool window.

SW_CONTROLS

has minimize / maximize buttons.

SW_GLASSY

glassy window - “Acrylic” on Windows and “Vibrant” on macOS.

SW_ALPHA

transparent window (e.g. WS_EX_LAYERED on Windows, macOS is supported too).

SW_MAIN

main window of the app, will terminate the app on close.

SW_POPUP

the window is created as topmost window.

SW_ENABLE_DEBUG

make this window inspector ready.

SW_OWNS_VM

it has its own script VM.

Trait Implementations

Flags can be OR’ed as SW_MAIN|SW_ALPHA.

The resulting type after applying the | operator.

Performs the | operation. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.