question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add support for tool panels

See original GitHub issue

Suppose we have a dozen of commands, like what is found in text editor app and image manipulation app, putting all of them in one view will make a user interface very complex or putting them in menus will make the accessing is uncomfortable for the user. What do you think about best way to handling these commands in Toga?

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:15 (15 by maintainers)

github_iconTop GitHub Comments

2reactions
freakboy3742commented, Oct 25, 2020

So - it sounds like what you’re describing here is a “tool palette”, or something like that - a (possibly standalone) window (or windows) that contains dozens of icons, and sometimes other widgets. For example, here’s Pixelmator on macOS (A Photoshop-like image editing app):

Screen Shot 2020-10-25 at 8 34 52 am

The main document window has a toolbar, with some icons controlling overlay, color choice, and so on. But there are multiple other dialogs - most notably, the “Tools” dialog, that contains dozens of buttons, each of which controls the currently active tool.

On macOS, these are an entirely different class of window, called a Panel. The have a distinct thinner titlebar, and they generally aren’t minimizable. When the app loses focus, these panels disappear.

I know GTK has a GtkToolPalette, but I’m not 100% sure how that widget should be included in an overall app structure; looking at screenshots of GIMP, preference is to include these panels “in window” as toolbar-like structures. I definitely don’t know Windows HIG guidelines, but screenshots of Photoshop seem to match GIMP.

So - I’d argue that what you’re talking about isn’t about trying to make menus or toolbars more effective, or about building apps with hundreds of commands - it’s about building tool panels (or some similar name), which is a whole new way to expose functionality. On Windows/GTK, these might end up being implemented with toolbar APIs - but to my mind, they’re a distinct organisational element within an app.

0reactions
MuhammadMouradGcommented, Oct 29, 2020

@freakboy3742 add labels please, if there are.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Make a Custom Tool Organization Board - YouTube
Make your own tool organization wall that is better than a pegboard, and cheaper!Like these videos? Support me on Patreon: ...
Read more >
Tool Panels - JavaScript Data Grid
This section covers Tool Panels, available via the grid's Side Bar, which allow for easy access to powerful grid operations such as grouping,...
Read more >
How do I nest tools on a custom tool panel?
Solved: How do I create a duplicate default tool panel, but without useless tools, but keeping the tools nested? I like the nested...
Read more >
Customize the Quick Access Toolbar - Microsoft Support
You can add, remove, and change the order of the commands on the Quick Access Toolbar by using the Options command. Select File...
Read more >
The Tools Panel | Amadine for Mac Help
Tools in the panel can be arranged in one or two columns. Clicking on a small triangle in the top left corner of...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found