DVUI

dataRemove

Remove key (id+name) and associated value (if any). The value will be freed at next Window.end.

Can be called from any thread.

If called from non-GUI thread or outside Window.begin/Window.end, you must pass a pointer to the Window you want to add the dialog to.

Parameters

#
win:?*Window
?*Window
id:Id
Id
name:[]const u8
[]const u8

Source

Implementation

#
pub fn dataRemove(win: ?*Window, id: Id, name: []const u8) void {
    data.remove(win, .widget(id, name));
}