Closed Wajinn closed 1 year ago
Status Bar
Oops, and so it is. Don't know how I overlooked that, but glad it is there.
Tool Bar is supported with a complex api.
And a simple implementation would likely be fine, from the perspective of probably a lot of users. Also good to see that you are thinking about it.
Interestingly and to add more info, a user can create a quasi status and tool bar by using y_offset or yn_offset with emojis, as is shown with the mui notepad example. Instead of the y_offset, in the future, it would be an actual bar of some type and functionality.
You can use statusbar and toolbar with latest commit.
Set height of statusbar/toolbar
mut app:=m.create(title:"MUI Examples",
...toolbar:25, statusbar:25)
Add widgets
app.button(id:"open", x:0, y:0,
...frame:"@toolbar")
for toolbar
app.button(id:"open", x:0, y:0,
...frame:"@statusbar")
for statusbar
For full example just browse notepad.v.
Awesome! It integrates quite nicely. Well, yet another accomplished. I guess we can close this one too.
Quite useful types of bars for GUIs, that noticed wasn't on your todo list. Maybe it should be considered.