On 03/03/2011 16:39, Ed Leafe wrote: > On Mar 3, 2011, at 10:28 AM, Werner F. Bruhin wrote: > >> How can I get rid of the close X on the tabs? > Right now, the class doesn't give you that option. It's a creation-time > only style, and your only choices are to show close buttons on all tabs, or > only on the active tab. There isn't anything in wx.AuiNotebook for > eliminating close buttons altogether. Hhm, a close button on tabs is something I really don't like.
Looks like another advantage of wx.lib.aui.AuiNotebook - not sure how compatible it is with wx.AuiNotebook. >> Tried: >> >> class WizDockTabs(dabo.ui.dDockTabs): >> def initProperties(self): >> >> self.ShowPageCloseButtons = False > > That's not a property of dDockTabs; it's a property of dPageStyled. The > AUI version (dDockTabs) doesn't allow control of the close buttons. > > Ups, obviously getting confused. Thanks for all your pointers/help. Werner _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users Searchable Archives: http://leafe.com/archives/search/dabo-users This message: http://leafe.com/archives/byMID/[email protected]
