hello guys :)
I would like to introduce a new implementation of tabs with the following
features (for now):
- tabs with icon (and a label of course)
- un-closable tabs
- threaded contents loading (with animated icon)
- shortcuts handling (to navigate from one tab to the next/previous
one, to close a tab)
- multi-selection (will display all the selected contents with splitter
in between)
- actions (each tab can define actions displayed in the tab bar) -
Thanks Tudor for the idea
- menu items - Thanks Tudor for the idea
Here is a little (geeky) video showing a bit of everything:
https://dl.dropboxusercontent.com/u/24369478/Tabs.m4v
The code can be loaded executing this:
Gofer it
url: 'http://smalltalkhub.com/mc/BenjaminVanRyseghem/Tabs/main';
package: 'ConfigurationOfTabs';
load.
ConfigurationOfTabs loadDefault.
TabExample open
Next steps:
- drag and drop (for rearranging tabs)
- Spec support (almost finished)
Ben