mui icon indicating copy to clipboard operation
mui copied to clipboard

Status Bar and Tool Bar Info

Open Wajinn opened this issue 3 years ago • 3 comments

Quite useful types of bars for GUIs, that noticed wasn't on your todo list. Maybe it should be considered.

Wajinn avatar Dec 02 '22 19:12 Wajinn

  • Status Bar is already inside to-do list inside widget section.
  • Tool Bar is supported with a complex api. Cells.v could be good example for that. But i want to make dev-friendly api.

malisipi avatar Dec 02 '22 19:12 malisipi

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.

Wajinn avatar Dec 02 '22 20:12 Wajinn

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.

Wajinn avatar Dec 08 '22 14:12 Wajinn

You can use statusbar and toolbar with latest commit.

  1. Set height of statusbar/toolbar mut app:=m.create(title:"MUI Examples", ... toolbar:25, statusbar:25)

  2. 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.

malisipi avatar Feb 07 '23 10:02 malisipi

Awesome! It integrates quite nicely. Well, yet another accomplished. I guess we can close this one too.

Wajinn avatar Feb 10 '23 16:02 Wajinn