[Pharo-dev] Spec tabs, which one is active ?

Benjamin benjamin.vanryseghem.pharo at gmail.com
Mon Aug 26 11:02:53 EDT 2013

A workaround could be that when a tab is selected, it set an instance variable with the correct value.

This way , you can always do something like

myCanvas generates.

where myCanvas is set by the tab.
And in addition, you do not have to use a switch case :)


On Aug 26, 2013, at 3:58 PM, Erwan Douaille <douailleerwan at gmail.com> wrote:

> Hi, 
> I'm using TabManager and i would like to know which tab is active. I didn't found any methods for that.
> Any clue ?
> In UIPainter, i will use it to know which tab canvas i have to generate.
> Thanks :)
> -- 
> Best regards,
> Douaille Erwan <douaille.erwan at gmail.com>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pharo.org/pipermail/pharo-dev_lists.pharo.org/attachments/20130826/eaa3aeef/attachment-0002.html>

More information about the Pharo-dev mailing list