Draggable
Iface
constructor
name
disable
drag_
begin
drag_
end
drag_
motion
enable
GJS API Reference
Mx-1.0
Mx
DraggableIface
Class DraggableIface
Interface for draggable #ClutterActors.
record
Hierarchy
DraggableIface
Index
Constructors
constructor
Properties
name
Methods
disable
drag_
begin
drag_
end
drag_
motion
enable
Constructors
constructor
new
Draggable
Iface
(
)
:
Mx
.
DraggableIface
Returns
Mx
.
DraggableIface
Properties
Static
name
name
:
string
Methods
disable
disable
(
draggable
:
Mx
.
Draggable
)
:
void
Parameters
draggable:
Mx
.
Draggable
Returns
void
drag_
begin
drag_
begin
(
draggable
:
Mx
.
Draggable
, event_x
:
number
, event_y
:
number
, event_button
:
number
, modifiers
:
Clutter
.
ModifierType
)
:
void
Parameters
draggable:
Mx
.
Draggable
event_x:
number
event_y:
number
event_button:
number
modifiers:
Clutter
.
ModifierType
Returns
void
drag_
end
drag_
end
(
draggable
:
Mx
.
Draggable
, event_x
:
number
, event_y
:
number
)
:
void
Parameters
draggable:
Mx
.
Draggable
event_x:
number
event_y:
number
Returns
void
drag_
motion
drag_
motion
(
draggable
:
Mx
.
Draggable
, delta_x
:
number
, delta_y
:
number
)
:
void
Parameters
draggable:
Mx
.
Draggable
delta_x:
number
delta_y:
number
Returns
void
enable
enable
(
draggable
:
Mx
.
Draggable
)
:
void
Parameters
draggable:
Mx
.
Draggable
Returns
void
Draggable
Iface
constructor
name
disable
drag_
begin
drag_
end
drag_
motion
enable
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJNeF8xXzAuTXguRHJhZ2dhYmxlSWZhY2UuaHRtbCNjb25zdHJ1Y3RvciIsIm5hbWUiOiJjb25zdHJ1Y3RvciIsImNoaWxkcmVuIjpbXSwiaXNFeHRlcm4iOmZhbHNlLCJpc0ludGVybiI6dHJ1ZX0seyJjbGFzc05hbWVzIjoidHNkLW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