DVUI

dragging

See Dragging.get

Only valid between Window.beginand Window.end.

Parameters

#
p:Point.Physical
Point.Physical
name:?[]const u8
?[]const u8

Source

Implementation

#
pub fn dragging(p: Point.Physical, name: ?[]const u8) ?Point.Physical {
    return currentWindow().dragging.get(p, .{ .name = name, .window_natural_scale = currentWindow().natural_scale });
}