DVUI

dragName

True if dragging and dragStart (or dragPreStart) was the given name.

Use to know when a cross-widget drag is in progress.

Only valid between Window.beginand Window.end.

Parameters

#
name:?[]const u8
?[]const u8

Source

Implementation

#
pub fn dragName(name: ?[]const u8) bool {
    return currentWindow().dragging.matchName(name);
}