Flags

Type Alias Flags 

Source
pub type Flags = SCITER_CREATE_WINDOW_FLAGS;
Expand description

SCITER_CREATE_WINDOW_FLAGS alias.

Aliased Type§

#[repr(C)]
pub enum Flags { SW_CHILD = 1, SW_TITLEBAR = 2, SW_RESIZEABLE = 4, SW_TOOL = 8, SW_CONTROLS = 16, SW_GLASSY = 32, SW_ALPHA = 64, SW_MAIN = 128, SW_POPUP = 256, SW_ENABLE_DEBUG = 512, SW_OWNS_VM = 1_024, }

Variants§

§

SW_CHILD = 1

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

§

SW_TITLEBAR = 2

toplevel window, has titlebar.

§

SW_RESIZEABLE = 4

has resizeable frame.

§

SW_TOOL = 8

is tool window.

§

SW_CONTROLS = 16

has minimize / maximize buttons.

§

SW_GLASSY = 32

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

§

SW_ALPHA = 64

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

§

SW_MAIN = 128

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

§

SW_POPUP = 256

the window is created as topmost window.

§

SW_ENABLE_DEBUG = 512

make this window inspector ready.

§

SW_OWNS_VM = 1_024

it has its own script VM.