labelNoFmt
Display a label (no formatting) with extra label options.
See label and labelEx.
Only valid between Window.beginand Window.end.
Parameters
- src:std.builtin.SourceLocation
- std.builtin.SourceLocation
- str:[]const u8
- []const u8
- init_opts:LabelWidget.InitOptions
- LabelWidget.InitOptions
- opts:Options
- Options
Source
Implementation
pub fn labelNoFmt(src: std.builtin.SourceLocation, str: []const u8, init_opts: LabelWidget.InitOptions, opts: Options) void {
var lw: LabelWidget = undefined;
lw.initNoFmt(src, str, init_opts, opts);
lw.draw();
lw.deinit();
}