From: Alex T. <al...@tw...> - 2005-08-24 23:47:07
|
I suspect that this email should perhaps be titled "Thoughts on 1.5" (or maybe even "...on 1.1) .... these changes may not be big enough to require, or justify, a change in major version number. So maybe these aren't being ambitious enough .... (this email only lists 3 out of a long list I have waiting to be thought about and/or written up ...) 1. sizer design / geometry management Yes, you can add sizer code - but it's just so un-PythonCard-like. It feels as bad as writing in wxPython :-) In fact, I think I want two kinds of geometry management: a. something very simple. In the resource editor, select an option that says "resizeable components" and it just does it. Very simple assumptions (all textareas expand in both directions, all textfields in X only, everything else is fixed size and just spreads out ....) - BUT it does imply GetBestSize() on each component, so should handle cross-platform issues for that subset of cases where it works at all. Sometimes it will work, many times it won't - but if you're doing some simple utility with a minimal GUI (2 or 3 preferences, a couple of text input fields, a button or two plus one or two scrollable areas for output), this could get it close enough. b. complex. Resource Editor allows definition of "pseudo-components" for sizers and spacers, multi-component selection to insert/remove components to hierarchical sizers - with maybe a treeCtrl view. 2. more types of windows / panels. We can currently only do single panel windows, and notebooks. Would be good to be able to do say sash or splitter windows as well. Hopefully using some generalization so that you can write the panel code without pre-determining which of those types is to be used. This should be extended to include the default single-panel window - so that you can start off writing a simple app, and then when it grows more complicated, other panels can simply be added without changing all the code done so far. 3. full undo/redo in resourceEditor obvious. -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.10.15/80 - Release Date: 23/08/2005 |