Hi glenn

We will see what ben will answer but may be this is just that some behavior is missing or
not exercised yet. Feel free to push code that fix your problem.


Stef


On 6/5/14 01:02, Glenn Cavarl�� wrote:
Hi,

I try to use Tabs with Spec and i would like to remove a tab from the
TabManagerModel but it doesn't work.
TabManagerModel has a method named #removeTab: which call directly its
adapter but the MorphicTabManagerAdapter hasn't the method #removeTab: ...
I looked at the TabManager class and its the same, no method to remove a
tab.

A small example I would like to do :


The only solution (or rather a hack) i found it's to add an extension like
that:

anyone have a clue to do that nicer?

And other mistery, why the tabBar is removed when the last tab is closed ?


If someone can enlighten me.

Regards,



-----
Glenn Cavarl��
--
View this message in context: http://forum.world.st/Spec-Tabs-how-to-remove-proramatically-a-tab-tp4758004.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.