1 module libwasm.bindings.ScrollAreaEvent;
2 
3 import libwasm.types;
4 
5 import memutils.ct: tuple;
6 import libwasm.bindings.UIEvent;
7 import libwasm.bindings.Window;
8 
9 @safe:
10 nothrow:
11 
12 struct ScrollAreaEvent {
13   nothrow:
14   libwasm.bindings.UIEvent.UIEvent _parent;
15   alias _parent this;
16   this(Handle h) {
17     _parent = .UIEvent(h);
18   }
19   float x()() {
20     return Object_Getter__float(this._parent, "x");
21   }
22   float y()() {
23     return Object_Getter__float(this._parent, "y");
24   }
25   float width()() {
26     return Object_Getter__float(this._parent, "width");
27   }
28   float height()() {
29     return Object_Getter__float(this._parent, "height");
30   }
31   void initScrollAreaEvent(T3)(string type, bool canBubble /* = false */, bool cancelable /* = false */, scope auto ref Optional!(T3) view /* = no!(Window) */, int detail /* = 0 */, float x /* = 0 */, float y /* = 0 */, float width /* = 0 */, float height /* = 0 */) if (isTOrPointer!(T3, Window)) {
32     Serialize_Object_VarArgCall!void(this._parent, "initScrollAreaEvent", "string;bool;bool;Optional!Handle;int;float;float;float;float", tuple(type, canBubble, cancelable, !view.empty, cast(Handle)view.front._parent, detail, x, y, width, height));
33   }
34   void initScrollAreaEvent(T3)(string type, bool canBubble /* = false */, bool cancelable /* = false */, scope auto ref Optional!(T3) view /* = no!(Window) */, int detail /* = 0 */, float x /* = 0 */, float y /* = 0 */, float width /* = 0 */) if (isTOrPointer!(T3, Window)) {
35     Serialize_Object_VarArgCall!void(this._parent, "initScrollAreaEvent", "string;bool;bool;Optional!Handle;int;float;float;float", tuple(type, canBubble, cancelable, !view.empty, cast(Handle)view.front._parent, detail, x, y, width));
36   }
37   void initScrollAreaEvent(T3)(string type, bool canBubble /* = false */, bool cancelable /* = false */, scope auto ref Optional!(T3) view /* = no!(Window) */, int detail /* = 0 */, float x /* = 0 */, float y /* = 0 */) if (isTOrPointer!(T3, Window)) {
38     Serialize_Object_VarArgCall!void(this._parent, "initScrollAreaEvent", "string;bool;bool;Optional!Handle;int;float;float", tuple(type, canBubble, cancelable, !view.empty, cast(Handle)view.front._parent, detail, x, y));
39   }
40   void initScrollAreaEvent(T3)(string type, bool canBubble /* = false */, bool cancelable /* = false */, scope auto ref Optional!(T3) view /* = no!(Window) */, int detail /* = 0 */, float x /* = 0 */) if (isTOrPointer!(T3, Window)) {
41     Serialize_Object_VarArgCall!void(this._parent, "initScrollAreaEvent", "string;bool;bool;Optional!Handle;int;float", tuple(type, canBubble, cancelable, !view.empty, cast(Handle)view.front._parent, detail, x));
42   }
43   void initScrollAreaEvent(T3)(string type, bool canBubble /* = false */, bool cancelable /* = false */, scope auto ref Optional!(T3) view /* = no!(Window) */, int detail /* = 0 */) if (isTOrPointer!(T3, Window)) {
44     Serialize_Object_VarArgCall!void(this._parent, "initScrollAreaEvent", "string;bool;bool;Optional!Handle;int", tuple(type, canBubble, cancelable, !view.empty, cast(Handle)view.front._parent, detail));
45   }
46   void initScrollAreaEvent(T3)(string type, bool canBubble /* = false */, bool cancelable /* = false */, scope auto ref Optional!(T3) view /* = no!(Window) */) if (isTOrPointer!(T3, Window)) {
47     Serialize_Object_VarArgCall!void(this._parent, "initScrollAreaEvent", "string;bool;bool;Optional!Handle", tuple(type, canBubble, cancelable, !view.empty, cast(Handle)view.front._parent));
48   }
49   void initScrollAreaEvent()(string type, bool canBubble /* = false */, bool cancelable /* = false */) {
50     Serialize_Object_VarArgCall!void(this._parent, "initScrollAreaEvent", "string;bool;bool", tuple(type, canBubble, cancelable));
51   }
52   void initScrollAreaEvent()(string type, bool canBubble /* = false */) {
53     Serialize_Object_VarArgCall!void(this._parent, "initScrollAreaEvent", "string;bool", tuple(type, canBubble));
54   }
55   void initScrollAreaEvent()(string type) {
56     Object_Call_string__void(this._parent, "initScrollAreaEvent", type);
57   }
58 }
59 
60