[wxPython-users] ANN: FancyButtonPanel Control For wxPython

Andrea Gavana andrea.gavana at gmail.com
Tue Oct 3 10:38:51 PDT 2006


Hello Alexei,

> Do you plan on implementing a FancyButtonPanel alignment property, or do
> you intend your implementation to stay as close to the original as
> possible?

Do you mean that instead of having Set* and Get* method like:

titleBar.SetAlignment(BP_ALIGN_RIGHT)

You would like to have something like:

titleBar.Alignment = BP_ALIGN_RIGHT

? Like in the new refactoring of wxPython in 2.7? (this SetAlignment
and GetAlignment are already in the code)

Well, if this is the case, I will surely try to do it, to have also my
widgets to be more "Pythonic". I only don't know how Robin has
implemented the changes in wxPython from setter and getter to
properties, so if Robin could share some suggestions on how to do it
semi-automatically (faster) I will surely do it.

Andrea.

"Imagination Is The Only Weapon In The War Against Reality."

http://xoomer.virgilio.it/infinity77/




More information about the wxpython-users mailing list