1 module spasm.bindings.uievents; 2 3 import spasm.types; 4 import spasm.bindings.dom; 5 import spasm.bindings.html; 6 7 @safe: 8 nothrow: 9 10 struct CompositionEvent { 11 nothrow: 12 spasm.bindings.uievents.UIEvent _parent; 13 alias _parent this; 14 this(Handle h) { 15 _parent = .UIEvent(h); 16 } 17 auto data()() { 18 return CompositionEvent_data_Get(this._parent); 19 } 20 } 21 struct CompositionEventInit { 22 nothrow: 23 spasm.bindings.uievents.UIEventInit _parent; 24 alias _parent this; 25 this(Handle h) { 26 _parent = .UIEventInit(h); 27 } 28 static auto create() { 29 return CompositionEventInit(spasm_add__object()); 30 } 31 void data()(string data) { 32 CompositionEventInit_data_Set(this._parent, data); 33 } 34 auto data()() { 35 return CompositionEventInit_data_Get(this._parent); 36 } 37 } 38 struct EventModifierInit { 39 nothrow: 40 spasm.bindings.uievents.UIEventInit _parent; 41 alias _parent this; 42 this(Handle h) { 43 _parent = .UIEventInit(h); 44 } 45 static auto create() { 46 return EventModifierInit(spasm_add__object()); 47 } 48 void ctrlKey()(bool ctrlKey) { 49 EventModifierInit_ctrlKey_Set(this._parent, ctrlKey); 50 } 51 auto ctrlKey()() { 52 return EventModifierInit_ctrlKey_Get(this._parent); 53 } 54 void shiftKey()(bool shiftKey) { 55 EventModifierInit_shiftKey_Set(this._parent, shiftKey); 56 } 57 auto shiftKey()() { 58 return EventModifierInit_shiftKey_Get(this._parent); 59 } 60 void altKey()(bool altKey) { 61 EventModifierInit_altKey_Set(this._parent, altKey); 62 } 63 auto altKey()() { 64 return EventModifierInit_altKey_Get(this._parent); 65 } 66 void metaKey()(bool metaKey) { 67 EventModifierInit_metaKey_Set(this._parent, metaKey); 68 } 69 auto metaKey()() { 70 return EventModifierInit_metaKey_Get(this._parent); 71 } 72 void modifierAltGraph()(bool modifierAltGraph) { 73 EventModifierInit_modifierAltGraph_Set(this._parent, modifierAltGraph); 74 } 75 auto modifierAltGraph()() { 76 return EventModifierInit_modifierAltGraph_Get(this._parent); 77 } 78 void modifierCapsLock()(bool modifierCapsLock) { 79 EventModifierInit_modifierCapsLock_Set(this._parent, modifierCapsLock); 80 } 81 auto modifierCapsLock()() { 82 return EventModifierInit_modifierCapsLock_Get(this._parent); 83 } 84 void modifierFn()(bool modifierFn) { 85 EventModifierInit_modifierFn_Set(this._parent, modifierFn); 86 } 87 auto modifierFn()() { 88 return EventModifierInit_modifierFn_Get(this._parent); 89 } 90 void modifierFnLock()(bool modifierFnLock) { 91 EventModifierInit_modifierFnLock_Set(this._parent, modifierFnLock); 92 } 93 auto modifierFnLock()() { 94 return EventModifierInit_modifierFnLock_Get(this._parent); 95 } 96 void modifierHyper()(bool modifierHyper) { 97 EventModifierInit_modifierHyper_Set(this._parent, modifierHyper); 98 } 99 auto modifierHyper()() { 100 return EventModifierInit_modifierHyper_Get(this._parent); 101 } 102 void modifierNumLock()(bool modifierNumLock) { 103 EventModifierInit_modifierNumLock_Set(this._parent, modifierNumLock); 104 } 105 auto modifierNumLock()() { 106 return EventModifierInit_modifierNumLock_Get(this._parent); 107 } 108 void modifierScrollLock()(bool modifierScrollLock) { 109 EventModifierInit_modifierScrollLock_Set(this._parent, modifierScrollLock); 110 } 111 auto modifierScrollLock()() { 112 return EventModifierInit_modifierScrollLock_Get(this._parent); 113 } 114 void modifierSuper()(bool modifierSuper) { 115 EventModifierInit_modifierSuper_Set(this._parent, modifierSuper); 116 } 117 auto modifierSuper()() { 118 return EventModifierInit_modifierSuper_Get(this._parent); 119 } 120 void modifierSymbol()(bool modifierSymbol) { 121 EventModifierInit_modifierSymbol_Set(this._parent, modifierSymbol); 122 } 123 auto modifierSymbol()() { 124 return EventModifierInit_modifierSymbol_Get(this._parent); 125 } 126 void modifierSymbolLock()(bool modifierSymbolLock) { 127 EventModifierInit_modifierSymbolLock_Set(this._parent, modifierSymbolLock); 128 } 129 auto modifierSymbolLock()() { 130 return EventModifierInit_modifierSymbolLock_Get(this._parent); 131 } 132 } 133 struct FocusEvent { 134 nothrow: 135 spasm.bindings.uievents.UIEvent _parent; 136 alias _parent this; 137 this(Handle h) { 138 _parent = .UIEvent(h); 139 } 140 auto relatedTarget()() { 141 return FocusEvent_relatedTarget_Get(this._parent); 142 } 143 } 144 struct FocusEventInit { 145 nothrow: 146 spasm.bindings.uievents.UIEventInit _parent; 147 alias _parent this; 148 this(Handle h) { 149 _parent = .UIEventInit(h); 150 } 151 static auto create() { 152 return FocusEventInit(spasm_add__object()); 153 } 154 void relatedTarget(T0)(scope auto ref Optional!(T0) relatedTarget) if (isTOrPointer!(T0, EventTarget)) { 155 FocusEventInit_relatedTarget_Set(this._parent, !relatedTarget.empty, relatedTarget.front.handle); 156 } 157 auto relatedTarget()() { 158 return FocusEventInit_relatedTarget_Get(this._parent); 159 } 160 } 161 struct InputEvent { 162 nothrow: 163 spasm.bindings.uievents.UIEvent _parent; 164 alias _parent this; 165 this(Handle h) { 166 _parent = .UIEvent(h); 167 } 168 auto data()() { 169 return InputEvent_data_Get(this._parent); 170 } 171 auto isComposing()() { 172 return InputEvent_isComposing_Get(this._parent); 173 } 174 auto inputType()() { 175 return InputEvent_inputType_Get(this._parent); 176 } 177 } 178 struct InputEventInit { 179 nothrow: 180 spasm.bindings.uievents.UIEventInit _parent; 181 alias _parent this; 182 this(Handle h) { 183 _parent = .UIEventInit(h); 184 } 185 static auto create() { 186 return InputEventInit(spasm_add__object()); 187 } 188 void data(T0)(scope auto ref Optional!(T0) data) if (isTOrPointer!(T0, string)) { 189 InputEventInit_data_Set(this._parent, !data.empty, data.front); 190 } 191 auto data()() { 192 return InputEventInit_data_Get(this._parent); 193 } 194 void isComposing()(bool isComposing) { 195 InputEventInit_isComposing_Set(this._parent, isComposing); 196 } 197 auto isComposing()() { 198 return InputEventInit_isComposing_Get(this._parent); 199 } 200 void inputType()(string inputType) { 201 InputEventInit_inputType_Set(this._parent, inputType); 202 } 203 auto inputType()() { 204 return InputEventInit_inputType_Get(this._parent); 205 } 206 } 207 struct KeyboardEvent { 208 nothrow: 209 spasm.bindings.uievents.UIEvent _parent; 210 alias _parent this; 211 this(Handle h) { 212 _parent = .UIEvent(h); 213 } 214 enum uint DOM_KEY_LOCATION_STANDARD = 0x00; 215 enum uint DOM_KEY_LOCATION_LEFT = 0x01; 216 enum uint DOM_KEY_LOCATION_RIGHT = 0x02; 217 enum uint DOM_KEY_LOCATION_NUMPAD = 0x03; 218 auto key()() { 219 return KeyboardEvent_key_Get(this._parent); 220 } 221 auto code()() { 222 return KeyboardEvent_code_Get(this._parent); 223 } 224 auto location()() { 225 return KeyboardEvent_location_Get(this._parent); 226 } 227 auto ctrlKey()() { 228 return KeyboardEvent_ctrlKey_Get(this._parent); 229 } 230 auto shiftKey()() { 231 return KeyboardEvent_shiftKey_Get(this._parent); 232 } 233 auto altKey()() { 234 return KeyboardEvent_altKey_Get(this._parent); 235 } 236 auto metaKey()() { 237 return KeyboardEvent_metaKey_Get(this._parent); 238 } 239 auto repeat()() { 240 return KeyboardEvent_repeat_Get(this._parent); 241 } 242 auto isComposing()() { 243 return KeyboardEvent_isComposing_Get(this._parent); 244 } 245 auto getModifierState()(string keyArg) { 246 return KeyboardEvent_getModifierState(this._parent, keyArg); 247 } 248 auto charCode()() { 249 return KeyboardEvent_charCode_Get(this._parent); 250 } 251 auto keyCode()() { 252 return KeyboardEvent_keyCode_Get(this._parent); 253 } 254 } 255 struct KeyboardEventInit { 256 nothrow: 257 spasm.bindings.uievents.EventModifierInit _parent; 258 alias _parent this; 259 this(Handle h) { 260 _parent = .EventModifierInit(h); 261 } 262 static auto create() { 263 return KeyboardEventInit(spasm_add__object()); 264 } 265 void key()(string key) { 266 KeyboardEventInit_key_Set(this._parent, key); 267 } 268 auto key()() { 269 return KeyboardEventInit_key_Get(this._parent); 270 } 271 void code()(string code) { 272 KeyboardEventInit_code_Set(this._parent, code); 273 } 274 auto code()() { 275 return KeyboardEventInit_code_Get(this._parent); 276 } 277 void location()(uint location) { 278 KeyboardEventInit_location_Set(this._parent, location); 279 } 280 auto location()() { 281 return KeyboardEventInit_location_Get(this._parent); 282 } 283 void repeat()(bool repeat) { 284 KeyboardEventInit_repeat_Set(this._parent, repeat); 285 } 286 auto repeat()() { 287 return KeyboardEventInit_repeat_Get(this._parent); 288 } 289 void isComposing()(bool isComposing) { 290 KeyboardEventInit_isComposing_Set(this._parent, isComposing); 291 } 292 auto isComposing()() { 293 return KeyboardEventInit_isComposing_Get(this._parent); 294 } 295 } 296 struct MouseEvent { 297 nothrow: 298 spasm.bindings.uievents.UIEvent _parent; 299 alias _parent this; 300 this(Handle h) { 301 _parent = .UIEvent(h); 302 } 303 auto screenX()() { 304 return MouseEvent_screenX_Get(this._parent); 305 } 306 auto screenY()() { 307 return MouseEvent_screenY_Get(this._parent); 308 } 309 auto clientX()() { 310 return MouseEvent_clientX_Get(this._parent); 311 } 312 auto clientY()() { 313 return MouseEvent_clientY_Get(this._parent); 314 } 315 auto ctrlKey()() { 316 return MouseEvent_ctrlKey_Get(this._parent); 317 } 318 auto shiftKey()() { 319 return MouseEvent_shiftKey_Get(this._parent); 320 } 321 auto altKey()() { 322 return MouseEvent_altKey_Get(this._parent); 323 } 324 auto metaKey()() { 325 return MouseEvent_metaKey_Get(this._parent); 326 } 327 auto button()() { 328 return MouseEvent_button_Get(this._parent); 329 } 330 auto buttons()() { 331 return MouseEvent_buttons_Get(this._parent); 332 } 333 auto relatedTarget()() { 334 return MouseEvent_relatedTarget_Get(this._parent); 335 } 336 auto getModifierState()(string keyArg) { 337 return MouseEvent_getModifierState(this._parent, keyArg); 338 } 339 auto pageX()() { 340 return MouseEvent_pageX_Get(this._parent); 341 } 342 auto pageY()() { 343 return MouseEvent_pageY_Get(this._parent); 344 } 345 auto x()() { 346 return MouseEvent_x_Get(this._parent); 347 } 348 auto y()() { 349 return MouseEvent_y_Get(this._parent); 350 } 351 auto offsetX()() { 352 return MouseEvent_offsetX_Get(this._parent); 353 } 354 auto offsetY()() { 355 return MouseEvent_offsetY_Get(this._parent); 356 } 357 } 358 struct MouseEventInit { 359 nothrow: 360 spasm.bindings.uievents.EventModifierInit _parent; 361 alias _parent this; 362 this(Handle h) { 363 _parent = .EventModifierInit(h); 364 } 365 static auto create() { 366 return MouseEventInit(spasm_add__object()); 367 } 368 void screenX()(int screenX) { 369 MouseEventInit_screenX_Set(this._parent, screenX); 370 } 371 auto screenX()() { 372 return MouseEventInit_screenX_Get(this._parent); 373 } 374 void screenY()(int screenY) { 375 MouseEventInit_screenY_Set(this._parent, screenY); 376 } 377 auto screenY()() { 378 return MouseEventInit_screenY_Get(this._parent); 379 } 380 void clientX()(int clientX) { 381 MouseEventInit_clientX_Set(this._parent, clientX); 382 } 383 auto clientX()() { 384 return MouseEventInit_clientX_Get(this._parent); 385 } 386 void clientY()(int clientY) { 387 MouseEventInit_clientY_Set(this._parent, clientY); 388 } 389 auto clientY()() { 390 return MouseEventInit_clientY_Get(this._parent); 391 } 392 void button()(short button) { 393 MouseEventInit_button_Set(this._parent, button); 394 } 395 auto button()() { 396 return MouseEventInit_button_Get(this._parent); 397 } 398 void buttons()(ushort buttons) { 399 MouseEventInit_buttons_Set(this._parent, buttons); 400 } 401 auto buttons()() { 402 return MouseEventInit_buttons_Get(this._parent); 403 } 404 void relatedTarget(T0)(scope auto ref Optional!(T0) relatedTarget) if (isTOrPointer!(T0, EventTarget)) { 405 MouseEventInit_relatedTarget_Set(this._parent, !relatedTarget.empty, relatedTarget.front.handle); 406 } 407 auto relatedTarget()() { 408 return MouseEventInit_relatedTarget_Get(this._parent); 409 } 410 } 411 struct UIEvent { 412 nothrow: 413 spasm.bindings.dom.Event _parent; 414 alias _parent this; 415 this(Handle h) { 416 _parent = .Event(h); 417 } 418 auto view()() { 419 return UIEvent_view_Get(this._parent); 420 } 421 auto detail()() { 422 return UIEvent_detail_Get(this._parent); 423 } 424 auto which()() { 425 return UIEvent_which_Get(this._parent); 426 } 427 } 428 struct UIEventInit { 429 nothrow: 430 spasm.bindings.dom.EventInit _parent; 431 alias _parent this; 432 this(Handle h) { 433 _parent = .EventInit(h); 434 } 435 static auto create() { 436 return UIEventInit(spasm_add__object()); 437 } 438 void view(T0)(scope auto ref Optional!(T0) view) if (isTOrPointer!(T0, Window)) { 439 UIEventInit_view_Set(this._parent, !view.empty, view.front._parent); 440 } 441 auto view()() { 442 return UIEventInit_view_Get(this._parent); 443 } 444 void detail()(int detail) { 445 UIEventInit_detail_Set(this._parent, detail); 446 } 447 auto detail()() { 448 return UIEventInit_detail_Get(this._parent); 449 } 450 } 451 struct WheelEvent { 452 nothrow: 453 spasm.bindings.uievents.MouseEvent _parent; 454 alias _parent this; 455 this(Handle h) { 456 _parent = .MouseEvent(h); 457 } 458 enum uint DOM_DELTA_PIXEL = 0x00; 459 enum uint DOM_DELTA_LINE = 0x01; 460 enum uint DOM_DELTA_PAGE = 0x02; 461 auto deltaX()() { 462 return WheelEvent_deltaX_Get(this._parent); 463 } 464 auto deltaY()() { 465 return WheelEvent_deltaY_Get(this._parent); 466 } 467 auto deltaZ()() { 468 return WheelEvent_deltaZ_Get(this._parent); 469 } 470 auto deltaMode()() { 471 return WheelEvent_deltaMode_Get(this._parent); 472 } 473 } 474 struct WheelEventInit { 475 nothrow: 476 spasm.bindings.uievents.MouseEventInit _parent; 477 alias _parent this; 478 this(Handle h) { 479 _parent = .MouseEventInit(h); 480 } 481 static auto create() { 482 return WheelEventInit(spasm_add__object()); 483 } 484 void deltaX()(double deltaX) { 485 WheelEventInit_deltaX_Set(this._parent, deltaX); 486 } 487 auto deltaX()() { 488 return WheelEventInit_deltaX_Get(this._parent); 489 } 490 void deltaY()(double deltaY) { 491 WheelEventInit_deltaY_Set(this._parent, deltaY); 492 } 493 auto deltaY()() { 494 return WheelEventInit_deltaY_Get(this._parent); 495 } 496 void deltaZ()(double deltaZ) { 497 WheelEventInit_deltaZ_Set(this._parent, deltaZ); 498 } 499 auto deltaZ()() { 500 return WheelEventInit_deltaZ_Get(this._parent); 501 } 502 void deltaMode()(uint deltaMode) { 503 WheelEventInit_deltaMode_Set(this._parent, deltaMode); 504 } 505 auto deltaMode()() { 506 return WheelEventInit_deltaMode_Get(this._parent); 507 } 508 } 509 510 511 extern (C) string CompositionEvent_data_Get(Handle); 512 extern (C) void CompositionEventInit_data_Set(Handle, string); 513 extern (C) string CompositionEventInit_data_Get(Handle); 514 extern (C) void EventModifierInit_ctrlKey_Set(Handle, bool); 515 extern (C) bool EventModifierInit_ctrlKey_Get(Handle); 516 extern (C) void EventModifierInit_shiftKey_Set(Handle, bool); 517 extern (C) bool EventModifierInit_shiftKey_Get(Handle); 518 extern (C) void EventModifierInit_altKey_Set(Handle, bool); 519 extern (C) bool EventModifierInit_altKey_Get(Handle); 520 extern (C) void EventModifierInit_metaKey_Set(Handle, bool); 521 extern (C) bool EventModifierInit_metaKey_Get(Handle); 522 extern (C) void EventModifierInit_modifierAltGraph_Set(Handle, bool); 523 extern (C) bool EventModifierInit_modifierAltGraph_Get(Handle); 524 extern (C) void EventModifierInit_modifierCapsLock_Set(Handle, bool); 525 extern (C) bool EventModifierInit_modifierCapsLock_Get(Handle); 526 extern (C) void EventModifierInit_modifierFn_Set(Handle, bool); 527 extern (C) bool EventModifierInit_modifierFn_Get(Handle); 528 extern (C) void EventModifierInit_modifierFnLock_Set(Handle, bool); 529 extern (C) bool EventModifierInit_modifierFnLock_Get(Handle); 530 extern (C) void EventModifierInit_modifierHyper_Set(Handle, bool); 531 extern (C) bool EventModifierInit_modifierHyper_Get(Handle); 532 extern (C) void EventModifierInit_modifierNumLock_Set(Handle, bool); 533 extern (C) bool EventModifierInit_modifierNumLock_Get(Handle); 534 extern (C) void EventModifierInit_modifierScrollLock_Set(Handle, bool); 535 extern (C) bool EventModifierInit_modifierScrollLock_Get(Handle); 536 extern (C) void EventModifierInit_modifierSuper_Set(Handle, bool); 537 extern (C) bool EventModifierInit_modifierSuper_Get(Handle); 538 extern (C) void EventModifierInit_modifierSymbol_Set(Handle, bool); 539 extern (C) bool EventModifierInit_modifierSymbol_Get(Handle); 540 extern (C) void EventModifierInit_modifierSymbolLock_Set(Handle, bool); 541 extern (C) bool EventModifierInit_modifierSymbolLock_Get(Handle); 542 extern (C) Optional!(EventTarget) FocusEvent_relatedTarget_Get(Handle); 543 extern (C) void FocusEventInit_relatedTarget_Set(Handle, bool, Handle); 544 extern (C) Optional!(EventTarget) FocusEventInit_relatedTarget_Get(Handle); 545 extern (C) Optional!(string) InputEvent_data_Get(Handle); 546 extern (C) bool InputEvent_isComposing_Get(Handle); 547 extern (C) string InputEvent_inputType_Get(Handle); 548 extern (C) void InputEventInit_data_Set(Handle, bool, string); 549 extern (C) Optional!(string) InputEventInit_data_Get(Handle); 550 extern (C) void InputEventInit_isComposing_Set(Handle, bool); 551 extern (C) bool InputEventInit_isComposing_Get(Handle); 552 extern (C) void InputEventInit_inputType_Set(Handle, string); 553 extern (C) string InputEventInit_inputType_Get(Handle); 554 extern (C) string KeyboardEvent_key_Get(Handle); 555 extern (C) string KeyboardEvent_code_Get(Handle); 556 extern (C) uint KeyboardEvent_location_Get(Handle); 557 extern (C) bool KeyboardEvent_ctrlKey_Get(Handle); 558 extern (C) bool KeyboardEvent_shiftKey_Get(Handle); 559 extern (C) bool KeyboardEvent_altKey_Get(Handle); 560 extern (C) bool KeyboardEvent_metaKey_Get(Handle); 561 extern (C) bool KeyboardEvent_repeat_Get(Handle); 562 extern (C) bool KeyboardEvent_isComposing_Get(Handle); 563 extern (C) bool KeyboardEvent_getModifierState(Handle, string); 564 extern (C) uint KeyboardEvent_charCode_Get(Handle); 565 extern (C) uint KeyboardEvent_keyCode_Get(Handle); 566 extern (C) void KeyboardEventInit_key_Set(Handle, string); 567 extern (C) string KeyboardEventInit_key_Get(Handle); 568 extern (C) void KeyboardEventInit_code_Set(Handle, string); 569 extern (C) string KeyboardEventInit_code_Get(Handle); 570 extern (C) void KeyboardEventInit_location_Set(Handle, uint); 571 extern (C) uint KeyboardEventInit_location_Get(Handle); 572 extern (C) void KeyboardEventInit_repeat_Set(Handle, bool); 573 extern (C) bool KeyboardEventInit_repeat_Get(Handle); 574 extern (C) void KeyboardEventInit_isComposing_Set(Handle, bool); 575 extern (C) bool KeyboardEventInit_isComposing_Get(Handle); 576 extern (C) int MouseEvent_screenX_Get(Handle); 577 extern (C) int MouseEvent_screenY_Get(Handle); 578 extern (C) int MouseEvent_clientX_Get(Handle); 579 extern (C) int MouseEvent_clientY_Get(Handle); 580 extern (C) bool MouseEvent_ctrlKey_Get(Handle); 581 extern (C) bool MouseEvent_shiftKey_Get(Handle); 582 extern (C) bool MouseEvent_altKey_Get(Handle); 583 extern (C) bool MouseEvent_metaKey_Get(Handle); 584 extern (C) short MouseEvent_button_Get(Handle); 585 extern (C) ushort MouseEvent_buttons_Get(Handle); 586 extern (C) Optional!(EventTarget) MouseEvent_relatedTarget_Get(Handle); 587 extern (C) bool MouseEvent_getModifierState(Handle, string); 588 extern (C) double MouseEvent_pageX_Get(Handle); 589 extern (C) double MouseEvent_pageY_Get(Handle); 590 extern (C) double MouseEvent_x_Get(Handle); 591 extern (C) double MouseEvent_y_Get(Handle); 592 extern (C) double MouseEvent_offsetX_Get(Handle); 593 extern (C) double MouseEvent_offsetY_Get(Handle); 594 extern (C) void MouseEventInit_screenX_Set(Handle, int); 595 extern (C) int MouseEventInit_screenX_Get(Handle); 596 extern (C) void MouseEventInit_screenY_Set(Handle, int); 597 extern (C) int MouseEventInit_screenY_Get(Handle); 598 extern (C) void MouseEventInit_clientX_Set(Handle, int); 599 extern (C) int MouseEventInit_clientX_Get(Handle); 600 extern (C) void MouseEventInit_clientY_Set(Handle, int); 601 extern (C) int MouseEventInit_clientY_Get(Handle); 602 extern (C) void MouseEventInit_button_Set(Handle, short); 603 extern (C) short MouseEventInit_button_Get(Handle); 604 extern (C) void MouseEventInit_buttons_Set(Handle, ushort); 605 extern (C) ushort MouseEventInit_buttons_Get(Handle); 606 extern (C) void MouseEventInit_relatedTarget_Set(Handle, bool, Handle); 607 extern (C) Optional!(EventTarget) MouseEventInit_relatedTarget_Get(Handle); 608 extern (C) Optional!(Window) UIEvent_view_Get(Handle); 609 extern (C) int UIEvent_detail_Get(Handle); 610 extern (C) uint UIEvent_which_Get(Handle); 611 extern (C) void UIEventInit_view_Set(Handle, bool, Handle); 612 extern (C) Optional!(Window) UIEventInit_view_Get(Handle); 613 extern (C) void UIEventInit_detail_Set(Handle, int); 614 extern (C) int UIEventInit_detail_Get(Handle); 615 extern (C) double WheelEvent_deltaX_Get(Handle); 616 extern (C) double WheelEvent_deltaY_Get(Handle); 617 extern (C) double WheelEvent_deltaZ_Get(Handle); 618 extern (C) uint WheelEvent_deltaMode_Get(Handle); 619 extern (C) void WheelEventInit_deltaX_Set(Handle, double); 620 extern (C) double WheelEventInit_deltaX_Get(Handle); 621 extern (C) void WheelEventInit_deltaY_Set(Handle, double); 622 extern (C) double WheelEventInit_deltaY_Get(Handle); 623 extern (C) void WheelEventInit_deltaZ_Set(Handle, double); 624 extern (C) double WheelEventInit_deltaZ_Get(Handle); 625 extern (C) void WheelEventInit_deltaMode_Set(Handle, uint); 626 extern (C) uint WheelEventInit_deltaMode_Get(Handle);