|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
set tab color for dPageStyledHi Nate,
Thanks for the including a flatnotebook for Dabo. And it works well too. However, I was noticing that the wxPython demo included a way to set the background color of each tab. dPageStyled does not expose a property for setting the background color of a tab. Reading the wxPython flatnotebook.py code I found the code that does the changes. And I discovered that setting the color only works if the TabStyle = "VC8". pc._pagesInfoVec[tabIdx].SetColour(tabColor) So I thought I'd be able to do the same with the following code: pageFrame = pgf = dabo.ui.dPageStyled(self, TabStyle = "VC8", ShowNavButtons = False, ShowMenuCloseButton = False, MenuBackColor = dabo.dColors.colorTupleFromHex('#550000')) pgf.appendPage(pgCls=CompanyPanel, caption="Company Information") pgf.appendPage(pgCls=RolesUserPanel, caption="Groups and Users") pgf.SelectedPageNumber=0 #below does nothing with any color I choose pgf._pages._pagesInfoVec[0].SetColour(wx.Color(0,0,0)) Can you tell me what I doing wrong? Thanks Johnf _______________________________________________ Post Messages to: Dabo-users@... 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/200911081017.30080.jfabiani@... |
|
|
changes to listHello: Just a question about this list. Formerly, one could use the link below called "This message:" to jump to the archive. This link isn't working form me, I get a server error. Does it work for others? The link to the archive search page does work, but when I view a particular post from the results of a search, the option to "view entire thread" is missing. I found that very useful in the past. Can that be restored? Thanks, Jonathan Poor --- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html --- _______________________________________________ Post Messages to: Dabo-users@... 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/8CC3054CA15FDD5-4A48-2635@... |
|
|
Re: changes to listOn Nov 10, 2009, at 1:40 PM, jpoorrandp@... wrote:
> Formerly, one could use the link below called "This message:" to > jump to the archive. This link isn't working form me, I get a server > error. Does it work for others? Hmmm... it *was* working on the new site, but it's down now. I'll look into it. > The link to the archive search page does work, but when I view a > particular post from the results of a search, the option to "view > entire thread" is missing. I found that very useful in the past. Can > that be restored? That's on the drawing board. I know how to do it, but it will take some coding time to convert the old Zope routine to Pylons/Mako. -- Ed Leafe _______________________________________________ Post Messages to: Dabo-users@... 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/6F42EF39-F9FE-4362-B9F1-872954C9B7C1@... |
| Free embeddable forum powered by Nabble | Forum Help |