Types
Button = enum ButtonUnknown, MouseLeft, MouseRight, MouseMiddle, MouseButton4, MouseButton5, DoubleClick, TripleClick, QuadrupleClick, Key0, Key1, Key2, Key3, Key4, Key5, Key6, Key7, Key8, Key9, KeyA, KeyB, KeyC, KeyD, KeyE, KeyF, KeyG, KeyH, KeyI, KeyJ, KeyK, KeyL, KeyM, KeyN, KeyO, KeyP, KeyQ, KeyR, KeyS, KeyT, KeyU, KeyV, KeyW, KeyX, KeyY, KeyZ, KeyBacktick, KeyMinus, KeyEqual, KeyBackspace, KeyTab, KeyLeftBracket, KeyRightBracket, KeyBackslash, KeyCapsLock, KeySemicolon, KeyApostrophe, KeyEnter, KeyLeftShift, KeyComma, KeyPeriod, KeySlash, KeyRightShift, KeyLeftControl, KeyLeftSuper, KeyLeftAlt, KeySpace, KeyRightAlt, KeyRightSuper, KeyMenu, KeyRightControl, KeyDelete, KeyHome, KeyEnd, KeyInsert, KeyPageUp, KeyPageDown, KeyEscape, KeyUp, KeyDown, KeyLeft, KeyRight, KeyPrintScreen, KeyScrollLock, KeyPause, KeyF1, KeyF2, KeyF3, KeyF4, KeyF5, KeyF6, KeyF7, KeyF8, KeyF9, KeyF10, KeyF11, KeyF12, KeyNumLock, Numpad0, Numpad1, Numpad2, Numpad3, Numpad4, Numpad5, Numpad6, Numpad7, Numpad8, Numpad9, NumpadDecimal, NumpadEnter, NumpadAdd, NumpadSubtract, NumpadMultiply, NumpadDivide, NumpadEqual
- Source Edit
 ButtonCallback = proc (button: Button)
- Source Edit
 ButtonView = distinct set[Button]
- Source Edit
 ClipboardContentKind = enum TextContent, ImageContent
- Source Edit
 Cursor = object case kind*: CursorKind of CustomCursor: image*: Image hotspot*: IVec2 else: nil
- Source Edit
 CursorKind = enum ArrowCursor, PointerCursor, IBeamCursor, CrosshairCursor, ClosedHandCursor, OpenHandCursor, ResizeLeftCursor, ResizeRightCursor, ResizeLeftRightCursor, ResizeUpCursor, ResizeDownCursor, ResizeUpDownCursor, OperationNotAllowedCursor, WaitCursor, CustomCursor
- Source Edit
 HttpErrorCallback = proc (msg: string)
- Source Edit
 HttpHeader = object key*, value*: string
- Source Edit
 HttpProgressCallback = proc (completed, total: int)
- Source Edit
 HttpRequestHandle = distinct int
- Source Edit
 HttpResponse = ref object code*: int headers*: seq[HttpHeader] body*: string
- Source Edit
 HttpResponseCallback = proc (response: HttpResponse)
- Source Edit
 OpenGLVersion = enum OpenGL3Dot0, OpenGL3Dot1, OpenGL3Dot2, OpenGL3Dot3, OpenGL4Dot0, OpenGL4Dot1, OpenGL4Dot2, OpenGL4Dot3, OpenGL4Dot4, OpenGL4Dot5, OpenGL4Dot6
- Source Edit
 RuneCallback = proc (rune: Rune)
- Source Edit
 WebSocketHandle = distinct int
- Source Edit
 WebSocketMessageCallback = proc (msg: string; kind: WebSocketMessageKind)
- Source Edit
 WebSocketMessageKind = enum Utf8Message, BinaryMessage
- Source Edit
 WindowStyle = enum DecoratedResizable, Decorated, Undecorated, Transparent
- Source Edit
 WindyError = object of ValueError
- Source Edit
 
Consts
defaultHttpDeadline: float32 = -1.0
- Source Edit
 
Procs
proc `==`(a, b: HttpRequestHandle): bool {....raises: [], tags: [], forbids: [].}
- Source Edit
 proc `==`(a, b: WebSocketHandle): bool {....raises: [], tags: [], forbids: [].}
- Source Edit
 proc `[]`(buttonView: ButtonView; button: Button): bool {....raises: [], tags: [], forbids: [].}
- Source Edit
 proc `[]`(headers: seq[HttpHeader]; key: string): string {....raises: [], tags: [], forbids: [].}
- Get a key out of headers. Not case sensitive. Use a for loop to get duplicate keys. Source Edit
 proc `[]=`(headers: var seq[HttpHeader]; key, value: string) {....raises: [], tags: [], forbids: [].}
- Sets a key in the headers. Not case sensitive. Overwrites the existing header for key if it exists else adds a new header. Source Edit
 proc len(buttonView: ButtonView): int {....raises: [], tags: [], forbids: [].}
- Source Edit