feat(tabs): start work on a tabbar widget
This commit is contained in:
parent
1d947ab499
commit
d7b48b40f1
7 changed files with 196 additions and 2 deletions
|
@ -18,6 +18,7 @@ const widgets = std.static_string_map.StaticStringMap(CreateFunction).initCompti
|
|||
.{ "spacer", @import("blank.zig").Create(.{ .static = 1 }) },
|
||||
.{ "clock", @import("clock.zig").create },
|
||||
.{ "keybind", @import("keybindstate.zig").create },
|
||||
.{ "tabs", @import("tabs.zig").create },
|
||||
});
|
||||
pub const CreateError = error{ OutOfMemory, Exit };
|
||||
pub const CreateFunction = *const fn (allocator: std.mem.Allocator, parent: Plane, event_handler: ?EventHandler) CreateError!Widget;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue