DVUI

dataSetSliceCopies

Same as dataSetSlice, but will copy value num_copies times all concatenated into a single slice. Useful to get dvui to allocate a specific number of entries that you want to fill in after.

Parameters

#
win:?*Window
?*Window
id:Id
Id
name:[]const u8
[]const u8
value:anytype
anytype
num_copies:usize
usize

Source

Implementation

#
pub fn dataSetSliceCopies(win: ?*Window, id: Id, name: []const u8, value: anytype, num_copies: usize) void {
    data.setSliceCopies(win, .widget(id, name), value, num_copies);
}