Is possible add and remove tabs dinamically?
Exists a method for add tabs ( #labelsAndPages or something similar ) , but
not is possible add a tab, and later remove by key, for example, without
remove alls with that method?
Regards, and excuse me if is a stupid question :)
Gary Chambers wrote:
>
> TabGroupMorph/TabSelectorMorph support arbitrary morphs as well as text
> labels.
>
> An example:
>
>
> |dialog|
> dialog := (UITheme builder newPluggableDialogWindow: 'Example tabs')
> useDefaultOKButton.
> dialog contentMorph: (
> dialog newTabGroup: {
> (dialog newRow: {dialog newImage: MenuIcons smallFindIcon. dialog
> newLabel: 'Page 1'})->
> dialog newPanel.
> 'Page 2'->dialog newPanel}).
> dialog model: nil.
> World openModal: dialog
>
> Regards, Gary
>
> ----- Original Message -----
> From: "Tudor Girba" <[email protected]>
> To: "Pharo Development" <[email protected]>
> Sent: Tuesday, September 29, 2009 10:01 PM
> Subject: [Pharo-project] tabs with icons?
>
>
>> Hi,
>>
>> In Glamour we are using a TabGroupMorph (actually we use a subclass
>> that specifies LazyTabs). The question is if there is a way to add an
>> icon instead of a string?
>>
>> Or perhaps is there another solution for a tab control that allows for
>> icons in the tabs?
>>
>> Cheers,
>> Doru
>>
>>
>> --
>> www.tudorgirba.com
>>
>> "What we can governs what we wish."
>>
>>
>>
>>
>> _______________________________________________
>> Pharo-project mailing list
>> [email protected]
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
>
> _______________________________________________
> Pharo-project mailing list
> [email protected]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
>
--
View this message in context:
http://n2.nabble.com/tabs-with-icons-tp3738940p3744448.html
Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project