Show / Hide Table of Contents

Enum WindowAttributeGetBool

Used to get window related attributes.

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

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.

ContextNoError

Specifies whether errors should be generated by the context. If enabled, situations that would have generated errors instead cause undefined behavior.

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.

DoubleBuffer

Specifies whether the window is double buffered or not.

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.

Focused

Indicates whether the specified window has input focus. Initial input focus 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.

Hovered

indicates whether the cursor is currently directly over the client area of the window, with no other windows between. See Cursor enter/leave events for details.

Iconified

Indicates whether the specified window is iconified, whether by the user or with IconifyWindow(Window*).

Maximized

Indicates whether the specified window is maximized, whether by the user or with MaximizeWindow(Window*).

MousePassthrough

Specifies whether the window is transparent to mouse input, letting any mouse events pass through to whatever window is behind it. Possible values are true and false.

OpenGLDebugContext

Specifies whether the window's context is an OpenGL debug context. Possible values are true and false.

OpenGLForwardCompat

Specifies whether the window's context is an OpenGL forward-compatible one. Possible values are true and false.

Resizable

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

TransparentFramebuffer

Specifies whether the window framebuffer will be transparent. If enabled and supported by the system, the window framebuffer alpha channel will be used to combine the framebuffer with the background. This does not affect window decorations. Possible values are true and false.

Visible

Indicates whether the specified window is visible. Window visibility can be controlled with ShowWindow(Window*) and HideWindow(Window*) and initial visibility is controlled by the window hint with the same name.

See Also
GetWindowAttrib(Window*, WindowAttributeGetBool)
In This Article
Back to top Generated by DocFX