PyAUI Updates ;-)

Hello NG,

    after the discussions here in the newsgroup, and also after
private emails for new features implementation on PyAUI, I have
decided to create 2 versions of it.

Here:

http://xoomer.alice.it/infinity77/eng/PyAUI.html

Or here:

http://xoomer.alice.it/infinity77/ita/PyAUI.html

You will find a "Stable" version and a "Development" one. Both have
been updated with new improvements. The main reason for having 2
versions is that, for the Stable one, it does not break the
wxWidgets<=>wxPython compatibility, so it will be easier for me to
implement new features that may come out in wx-dev discussion.

The 2 versions are based on the latest PyAUI 0.9.2. In particular, the
*Stable* version include the following patches:

1) Reduced Flicker While Drawing The Dock Hint;
2) Made Impossible To Drag The Sash Separator Outside The Main Frame;
3) Improved Repaint When Using The Active Pane Option.

Regarding the *Development* one, it is exactly the same as the Stable
version but includes the following "features":

1) On Windows XP, Use The Nice Sash Drawing Provided By XP While
Dragging The Sash;
2) Handles wx.EVT_ACTIVATE Events For Panes;
3) Possibility To Set An Icon On Docked Panes (Don't Know How Useful It Is);
4) Now PyAUI Saves And Loads Docking Restrictions (As LeftDockable(),
TopDockable() etc...);
5) Resizing Can Now Be Done Also In "Live Update" Or By Draing The
Sash (As Usual);
6) First Approach In The Implementation Of ModernDockArt. It Requires
ctypes, And It Still Does Not Work. If You Find A Solution, Please
Contibute It Back.

For both, there is a separate demo (the Development demo includes the
features outlined above).

The patch generated by DJ (that handles wx.EVT_CLOSE events for
floating panes), looks good to me, so I will include it in the
Development version tomorrow.

In the web page, please read the small note about Stable and
Development version.

I would like to kindly ask to the wxPython users:

1) Please try the demos for the 2 versions, and report back bugs,
misbehaviours and similar. Please be patient with the Development
version, I started today to hack it :wink:

2) If someone already has a patch or a suggestion regarding
implementation of new functionalities, please contribute it back. I
will include it in the Development version for testing. I know there
are some users that may have done some work on the original PyAUI
version. So, if you have implemented something, I will be glad to
incorporate your modifications.

Happy wxPythoning, and sorry for the long post.

Andrea.

"Imagination Is The Only Weapon In The War Against Reality."
http://xoomer.virgilio.it/infinity77/

First thanks for your great work on PyAUI again!

1) Please try the demos for the 2 versions, and report back bugs,
misbehaviours and similar. Please be patient with the Development
version, I started today to hack it :wink:

I tried the development version today and found 2 things:

1) If disable one of my panels and try to undock its pane, then it crashes (was also present in earlier version)
2) If I start my application and then move the window of another application over the pyaui window then pieces of the PyAUI window are not redrawn properly and I get gray areas where they shouldn't be. I think this bug was also in the previous versions, but much worse. I can send you a screenshot if you like. Probably easier is to try it yourself, it's really easy to reproduce.

-Matthias

Hello Matthias,

> 1) Please try the demos for the 2 versions, and report back bugs,
> misbehaviours and similar. Please be patient with the Development
> version, I started today to hack it :wink:

I tried the development version today and found 2 things:

Thank you for your feedback.

2) If I start my application and then move the window of
another application over the pyaui window then pieces of the
PyAUI window are not redrawn properly and I get gray areas
where they shouldn't be. I think this bug was also in the
previous versions, but much worse. I can send you a
screenshot if you like. Probably easier is to try it
yourself, it's really easy to reproduce.

Yes, I am able to reproduce it. I have uploaded a new version that should almost fix this problem. Could you please try it and see if it works?

1) If disable one of my panels and try to undock its pane,
then it crashes (was also present in earlier version)

For the life of me, I cannot reproduce this behaviour... I have tried every possible modification of the demo, by Enable()ing and Disable()ing things, docking/undocking and whatever... The demo does not crash. Do you happen to have something I can actually run and test?

Andrea.

···

_________________________________________
Andrea Gavana (gavana@kpo.kz)
Reservoir Engineer
KPDL
4, Millbank
SW1P 3JA London

Direct Tel: +44 (0) 20 717 08936
Mobile Tel: +44 (0) 77 487 70534
Fax: +44 (0) 20 717 08900
Web: http://xoomer.virgilio.it/infinity77
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯