Show / Hide Table of Contents

Enum WindowAttribute

Used to set window related attributes.

Namespace: OpenTK.Windowing.GraphicsLibraryFramework
Assembly: OpenTK.Windowing.GraphicsLibraryFramework.dll
Syntax
public enum WindowAttribute

Fields

Name Description
AutoIconify

Specifies whether the full screen window will automatically iconify and restore the previous video mode on input focus loss. Possible values are true and false. This hint is ignored for windowed mode windows.

Decorated

Indicates whether the specified window has decorations such as a border,a close widget, etc. This is set on creation with the window hint with the same name.

Floating

Indicates whether the specified window is floating, also called topmost or always-on-top. This is controlled by the window hint with the same name.

FocusOnShow

Specifies whether the window will be given input focus when ShowWindow(Window*) is called. Possible values are true and false.

MousePassthrough

Specifies whether the window is transparent to mouse input, letting any mouse events pass through to whatever window is behind it. This can be set before creation with the MousePassthrough window hint or after with SetWindowAttrib(Window*, WindowAttribute, bool). This is only supported for undecorated windows. Decorated windows with this enabled will behave differently between platforms.

Resizable

Indicates whether the specified window is resizable by the user. This is set on creation with the window hint with the same name.

See Also
SetWindowAttrib(Window*, WindowAttribute, bool)
In This Article
Back to top Generated by DocFX