[Gambas-user] Deletion of tabs from a TabStrip

Rob Kendrick gambas-users at ...790...
Fri Jan 14 19:18:10 CET 2005


Rob wrote:
> On Friday 14 January 2005 07:22, Rob Kendrick wrote:
> 
>>>Is it possible to delete tabs from the middle of a TabStrip?

> Unfortunately, the tabs themselves aren't real controls and 
> therefore don't automatically have a delete method.  The 
> underlying Qt control, QTabBar, does have a removeTab method and 
> so it should be possible to add a .Remove or .Delete to the .Tab 
> virtual class in Gambas.  I'll look into it today and see if I 
> can submit a patch against gambas 1.9.x.

That'd be great, thanks!  On another point, is it possible to create new 
widgets on a tab without having to first switch to it?  I've briefly 
played with this, but with little success.

> (hey, I want to get as much component coding in as I can while 
> it's still fresh ;) )

On a roll? :)

-- 
Rob Kendrick
PGP signed or encrypted mail welcome (Key ID: 3651D17A)




More information about the User mailing list