Op 31-03-12 12:11, Andrea Gavana schreef:
Hi,
Hi all,
My application does not show the diamond shaped docking guides, and after
googling around I *think* it has to do with not having a center pane.
My understanding of center panes is that they are always there, and cannot
be removed.
Is this correct? My app depends on being able to add/remove/layout any type
of panes from a large group of pane types. There is no pane that's always there.
Is there a way to show the diamond shaped docking guides without having
a center pane?
You forgot to specify the following (and I wonder if there is a way to include this questions in the wxPython mailing lists signatures):
1) Platform;
2) Python version;
3) wxPython version;
4) What AUI are you talking about (wx.aui or wx.lin.agw.aui?);
5) Sample app to reproduce the problem, although if you are using wx.aui there will be nothing you can do,
while with wx.lib.agw.aui this issue should be automatically solved if you use the AuiManager_DCP class
instead of the AuiManager one.
Andrea,
You're right I'm sorry.
I am using wxPython 2.8.10.1, with Python 2.5
Oh man, I was not aware there were two versions of the aui!
I am using wx.aui. Because:
The demo's Main.py for 2.8.10.1 and 2.9.3.1 do this:
import wx
import wx.aui
but now I see that aui/__init__.py included in 2.9.3.1 does the following in the demo at the top
import wx
import wx.lib.agw.aui as aui
The wxPython demo says in de demo code screen:
try:
from agw import aui
from agw.aui import aui_switcherdialog as ASD
except ImportError: # if it's not there locally, try the wxPython lib.
import wx.lib.agw.aui as aui
from wx.lib.agw.aui import aui_switcherdialog as ASD
I reverted to using the latter and this changes a lot. Now it works, except your version
(in 2.8.10.1 anyway) does not draw the guides when no panes are docked. They work, but they are
invisible.
Now why does the Main.py demo include wx.aui, and the actual demos your version?
Antonio.
···
On 31 March 2012 02:00, Antonio Gom�z Soto wrote:
Andrea.
"Imagination Is The Only Weapon In The War Against Reality."
http://xoomer.alice.it/infinity77/
--
To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com
or visit http://groups.google.com/group/wxPython-users?hl=en