Enum sciter::window::SCITER_CREATE_WINDOW_FLAGS
source · [−]#[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
sourceimpl BitOr<SCITER_CREATE_WINDOW_FLAGS> for SCITER_CREATE_WINDOW_FLAGS
impl BitOr<SCITER_CREATE_WINDOW_FLAGS> for SCITER_CREATE_WINDOW_FLAGS
Flags can be OR’ed as SW_MAIN|SW_ALPHA
.
Auto Trait Implementations
impl RefUnwindSafe for SCITER_CREATE_WINDOW_FLAGS
impl Send for SCITER_CREATE_WINDOW_FLAGS
impl Sync for SCITER_CREATE_WINDOW_FLAGS
impl Unpin for SCITER_CREATE_WINDOW_FLAGS
impl UnwindSafe for SCITER_CREATE_WINDOW_FLAGS
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more