tabs with close button

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

tabs with close button

Tudor Girba
Hi,

Is there a Tab widget that offers the possibility of closing a tab  
(maybe with a small x button near each tab)?

Cheers,
Doru


--
www.tudorgirba.com

"There are no old things, there are only old ways of looking at them."




_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: tabs with close button

Gary Chambers-4
The tabs (labels) can accept any morph so you could roll your own, say, a
row with a LabelMorph and ControlButtonMorph having an appropriate icon as
its label, along with an action to (via your code). A bit fiddly at the
moment as TabGroupMorph doesn't have methods fro removing tabs/pages though.

Regards, Gary

----- Original Message -----
From: "Tudor Girba" <[hidden email]>
To: "Pharo Development" <[hidden email]>
Sent: Wednesday, January 13, 2010 1:52 PM
Subject: [Pharo-project] tabs with close button


> Hi,
>
> Is there a Tab widget that offers the possibility of closing a tab
> (maybe with a small x button near each tab)?
>
> Cheers,
> Doru
>
>
> --
> www.tudorgirba.com
>
> "There are no old things, there are only old ways of looking at them."
>
>
>
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project 


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: tabs with close button

Tudor Girba
Thanks Gary,

Sounds like someone needs to get his hands dirty :).

I will wait for now, but if nobody picks this up, I might give it a  
try :).

Cheers,
Doru

On 13 Jan 2010, at 15:38, Gary Chambers wrote:

> The tabs (labels) can accept any morph so you could roll your own,  
> say, a
> row with a LabelMorph and ControlButtonMorph having an appropriate  
> icon as
> its label, along with an action to (via your code). A bit fiddly at  
> the
> moment as TabGroupMorph doesn't have methods fro removing tabs/pages  
> though.
>
> Regards, Gary
>
> ----- Original Message -----
> From: "Tudor Girba" <[hidden email]>
> To: "Pharo Development" <[hidden email]>
> Sent: Wednesday, January 13, 2010 1:52 PM
> Subject: [Pharo-project] tabs with close button
>
>
>> Hi,
>>
>> Is there a Tab widget that offers the possibility of closing a tab
>> (maybe with a small x button near each tab)?
>>
>> Cheers,
>> Doru
>>
>>
>> --
>> www.tudorgirba.com
>>
>> "There are no old things, there are only old ways of looking at  
>> them."
>>
>>
>>
>>
>> _______________________________________________
>> Pharo-project mailing list
>> [hidden email]
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

--
www.tudorgirba.com

"Sometimes the best solution is not the best solution."


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project