ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> wxPython-users
wxPython-users
Re: [wxPython-users] Sizers API
by David C. Fox other posts by this author
Mar 24 2003 8:49PM messages near this date
Re: [wxPython-users] Sizers API | Re: [wxPython-users] Sizers API
Patrick K. O'Brien wrote:

>  More unfortunate is the option parameter, which only applies to
>  BoxSizer, but is defined in the Sizer parent class, and isn't easily
>  ignored because it is the second parameter and comes before the flag
>  and border parameters.  And the wxWindows docs don't call it option,
>  they call it proportion, which is a bit more descriptive since it
>  determines the proportion of space allocated to the item in relation
>  to the space requested by all items in that particular BoxSizer.
>  
>  I'm starting to think the entire sizer API is ripe for an overhaul.
>  If ever there was a place to deviate from wxWindows, surely this is a
>  pretty good one.

I've never seen the point of defining Add in wxSizer if it doesn't have 
the same interface in all subclasses.

Personally, I'd rather see the sizer API fixed in wxWindows as well 
(with appropriate backward compatibility), but I don't know what the 
chances of that happening are.  By the way, there has been a lot of 
discussion on the wx-users list lately of suggestions for wxWindows 3 
(including a wx namespace with wx::Frame, etc.) so it would probably 
make sense for some of the principals here to be involved in that 
discussion as well.

David


---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@[...].org
For additional commands, e-mail: wxPython-users-help@lists.wxwindows.org
Thread:
Patrick K. O'Brien
Chuck Esterbrook
Robin Dunn
Alberto Griggio
Bill Anderson
Patrick K. O'Brien
Donnal Walter
Chris Barker
Patrick K. O'Brien
Donnal Walter
Patrick K. O'Brien
David C. Fox
Patrick K. O'Brien
Robin Dunn
Donnal Walter
Patrick K. O'Brien

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved