Just in case you don't know what to work on and in case your kids leave
you alone in the evening;-) , what about a tutorial for the Phoenix
documentation on how to do AUI layouts.
I love AUI, but each time I do a new something with it, I am pulling my
hear out to get a decent initial layout. After the initial layout is
shown to the user it is fine as 'agw.persist' will taker over from
there, should the user like something different then what I propose.
I know I asked on different occasions about how to go about it but .....
What would be really really really nice is something along these line:
- create a dialog
- create the panes (panels or probably a bit worse scrolled_panels)
- add child controls to the different panes
- tell aui to layout and give each pane just enough space to fit its
controls restricted by the size given to the TLW.
Are you up to something like this? If yes, we could maybe work out
something together, i.e. base it on my latest small sample which I could
flesh out with some controls and stuff.
Werner
On 11 April 2012 13:00, Werner wrote:
> Hi Andrea,
>
> Just in case you don't know what to work on and in case your kids leave you
> alone in the evening;-) ,
Yeah, right :-D
> what about a tutorial for the Phoenix
> documentation on how to do AUI layouts.
>
> I love AUI, but each time I do a new something with it, I am pulling my hear
> out to get a decent initial layout. After the initial layout is shown to
> the user it is fine as 'agw.persist' will taker over from there, should the
> user like something different then what I propose.
>
> I know I asked on different occasions about how to go about it but .....
>
> What would be really really really nice is something along these line:
>
> - create a dialog
> - create the panes (panels or probably a bit worse scrolled_panels)
> - add child controls to the different panes
> - tell aui to layout and give each pane just enough space to fit its
> controls restricted by the size given to the TLW.
>
> Are you up to something like this? If yes, we could maybe work out
> something together, i.e. base it on my latest small sample which I could
> flesh out with some controls and stuff.
That's a very good suggestion, although my idea of "correct" or
"nice-looking" AUI layout may not be shared by everyone :-D
Also, my knowledge of SizedControls is close to zero, so for sure I
would need some help there from more experienced users (i.e., you). We
should also try and keep the sample code as manageable as possible
(i.e., not too convoluted), to avoid repeating the mistakes I made
with AGW by forcing the samples to show all the features but making
them hard to access for less experienced wxPython programmers.
I'll be away for about a week (on holiday, at last...) from tomorrow,
but in the meantime please go ahead and think about possible
modification(s) of your sample so that we would have the skeleton code
more or less in place. In the meanwhile, I'll try and wrap up a
meaningful "tutorial-style" chapters sequence and I'll start write
down something about it - unless you precede me, if you wish to start
writing yourself please do, there is no priority here.
Then we will take it from there (possibly off-list), until we are
happy of the results.
Andrea.
"Imagination Is The Only Weapon In The War Against Reality."
http://xoomer.alice.it/infinity77/
Anyone else having particular problems with agw.AUI layouts you might
want to send me stuff off-list (screen shot, explanation what is not
working as desired, code samples) and I try to work it in.
Hope you have a nice vacation!
Werner
Hi Werner,
On 4 July 2012 22:58, Werner wrote:
> Hi,
>
>
> On 04/07/2012 22:45, Andrea Gavana wrote:
>>
>> "Imagination Is The Only Weapon In The War Against Reality."
>> http://xoomer.alice.it/infinity77/ #
>> ------------------------------------------------------------- # def
>> ask_mailing_list_support(email): if mention_platform_and_version() and
>> include_sample_app(): send_message(email) else: install_malware()
>> erase_hard_drives() #
>> ------------------------------------------------------------- #
>
>
> Love your new signature!
I guess I got frustrated over the last 10 years :-D
> P.S.
> Can I help in reviewing/editing ..... etc for the presentation/tutorial?
That's an excellent proposal, as I am still fighting with myself on
what to show or to present; I am very unclear (possibly because they
will be my first PyCons and wxPython is going to be a KeyNote talk, so
I want it to be as capturing as possible). I'll work on it some more
and then we can take it from there (and any suggestion will be more
than welcome).
Andrea.