DVUI

Parameters

#
self:*TextEntryWidget
*TextEntryWidget
text:[]const u8
[]const u8
selected:bool
bool

Source

Implementation

#
pub fn textSet(self: *TextEntryWidget, text: []const u8, selected: bool) void {
    self.textLayout.selection.selectAll();
    self.textTyped(text, selected);
}