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