ANN: pyAUI update/patch

Hi there. I am just trying pyAUI on my mac and the caption text seems quite small. Has a font been set somewhere in the demo that I can't seem to find? I have a few other questions

1. Is it possible for the floatable panels not to automatically go to chrome on Mac.

2. Is there a way to create some space just between the toolbars
and your content? I like the look without a border on mac but the only thing is that the floatable toolbars are right on top of your content and the border put it around everthing.

3. Is it still possible to make a splitter in a main window (horizontal <-->) in conjunction with these widgets?

4. Are there events to allow a toobar to appear and disappear. For example for one panel I want a specific toolbar only when this panel is visible but when it is switched the toolbar is irrelevant and would want another toolbar to appear for the current panel.

The only other sort of weird thing I observed was when I moved the panel around with the button, the text from the button ended up below the button instead of inside. Many thanks

Regards,
David

PS I am on mac 10.3.9

Chris Mellon wrote:

···

I've uploaded my version of pyAUI to (note case - server is case sensitive):

http://www.christmastango.com/pyaui/PyAUI.py

The major change is enhancments on OS X - transparency is supported,
mouse events work correctly, painting errors are largely corrected
(there is one minor one I can't track down).

There is also some minor code refactoring (it could use a lot more).

I've verified that all my changes still work on windows XP, but not on
wxGTK (I'm lazy and only feel like booting 2 computers tonight).

ctypes for OS X is currently required, and it can be a bit of a pain
to install because theres no binary downoad for it - I've written a
short guide to installing it, available at

http://www.christmastango.com/pyaui/installing_ctypes.txt

This has only been tested with Python 2.4 and OS X 10.4.4, but theres
nothing in it that should preclude working on earlier versions (at
least those supported by wxWidgets), I encourage people to try it.

I've made no changes to the demo, so continue using Andreas.

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

Hi there. I am just trying pyAUI on my mac and the caption text seems
quite small. Has a font been set somewhere in the demo that I can't seem
to find? I have a few other questions

The default text looks really horrible, I agree. You can create a
DockArt class which will allow customizaton of a whole bunch of
things. You can also just call SetFont on the current DockArt object,
which you can get at with FrameManager.GetArtProvider

1. Is it possible for the floatable panels not to automatically go to
chrome on Mac.

I'll have to look into this, but I don't think it is. MiniFrames use a
specific toolbar window style and I believe that they are
automatically made chrome by OS X.

2. Is there a way to create some space just between the toolbars
and your content? I like the look without a border on mac but the only
thing is that the floatable toolbars are right on top of your content
and the border put it around everthing.

3. Is it still possible to make a splitter in a main window (horizontal
<-->) in conjunction with these widgets?

PyAUI shouldn't interefere with any children or anything inside any of
it's child windows. The splitter inside the main window wouldn't be
"managed" by PyAUI and you couldn't, for example, dock against its
interior though.

···

On 1/30/06, David Pratt <fairwinds@eastlink.ca> wrote:

4. Are there events to allow a toobar to appear and disappear. For
example for one panel I want a specific toolbar only when this panel is
visible but when it is switched the toolbar is irrelevant and would want
another toolbar to appear for the current panel.

The only other sort of weird thing I observed was when I moved the
panel around with the button, the text from the button ended up below
the button instead of inside. Many thanks

Regards,
David

PS I am on mac 10.3.9

Chris Mellon wrote:
> I've uploaded my version of pyAUI to (note case - server is case sensitive):
>
> http://www.christmastango.com/pyaui/PyAUI.py
>
> The major change is enhancments on OS X - transparency is supported,
> mouse events work correctly, painting errors are largely corrected
> (there is one minor one I can't track down).
>
> There is also some minor code refactoring (it could use a lot more).
>
> I've verified that all my changes still work on windows XP, but not on
> wxGTK (I'm lazy and only feel like booting 2 computers tonight).
>
> ctypes for OS X is currently required, and it can be a bit of a pain
> to install because theres no binary downoad for it - I've written a
> short guide to installing it, available at
>
> http://www.christmastango.com/pyaui/installing_ctypes.txt
>
> This has only been tested with Python 2.4 and OS X 10.4.4, but theres
> nothing in it that should preclude working on earlier versions (at
> least those supported by wxWidgets), I encourage people to try it.
>
> I've made no changes to the demo, so continue using Andreas.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
> For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

Hi Chris. Thank you for your responses. This is extremely helpful. One other quick thing. In the demo the 16 x 16 icons and the vertical divider line seem not to be horizontally aligned but aligned to the bottom of the toolbar. Is it possible to center these vertically?

Regards,
David

Chris Mellon wrote:

···

On 1/30/06, David Pratt <fairwinds@eastlink.ca> wrote:

Hi there. I am just trying pyAUI on my mac and the caption text seems
quite small. Has a font been set somewhere in the demo that I can't seem
to find? I have a few other questions

The default text looks really horrible, I agree. You can create a
DockArt class which will allow customizaton of a whole bunch of
things. You can also just call SetFont on the current DockArt object,
which you can get at with FrameManager.GetArtProvider

1. Is it possible for the floatable panels not to automatically go to
chrome on Mac.

I'll have to look into this, but I don't think it is. MiniFrames use a
specific toolbar window style and I believe that they are
automatically made chrome by OS X.

2. Is there a way to create some space just between the toolbars
and your content? I like the look without a border on mac but the only
thing is that the floatable toolbars are right on top of your content
and the border put it around everthing.

3. Is it still possible to make a splitter in a main window (horizontal
<-->) in conjunction with these widgets?

PyAUI shouldn't interefere with any children or anything inside any of
it's child windows. The splitter inside the main window wouldn't be
"managed" by PyAUI and you couldn't, for example, dock against its
interior though.

4. Are there events to allow a toobar to appear and disappear. For
example for one panel I want a specific toolbar only when this panel is
visible but when it is switched the toolbar is irrelevant and would want
another toolbar to appear for the current panel.

The only other sort of weird thing I observed was when I moved the
panel around with the button, the text from the button ended up below
the button instead of inside. Many thanks

Regards,
David

PS I am on mac 10.3.9

Chris Mellon wrote:

I've uploaded my version of pyAUI to (note case - server is case sensitive):

http://www.christmastango.com/pyaui/PyAUI.py

The major change is enhancments on OS X - transparency is supported,
mouse events work correctly, painting errors are largely corrected
(there is one minor one I can't track down).

There is also some minor code refactoring (it could use a lot more).

I've verified that all my changes still work on windows XP, but not on
wxGTK (I'm lazy and only feel like booting 2 computers tonight).

ctypes for OS X is currently required, and it can be a bit of a pain
to install because theres no binary downoad for it - I've written a
short guide to installing it, available at

http://www.christmastango.com/pyaui/installing_ctypes.txt

This has only been tested with Python 2.4 and OS X 10.4.4, but theres
nothing in it that should preclude working on earlier versions (at
least those supported by wxWidgets), I encourage people to try it.

I've made no changes to the demo, so continue using Andreas.

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

Hi Chris. Changing settings to wx.TB_FLAT|wx.TB_HORIZONTAL seems to do the trick for proper vertical centering.

Regards,
David

David Pratt wrote:

···

Hi Chris. Thank you for your responses. This is extremely helpful. One other quick thing. In the demo the 16 x 16 icons and the vertical divider line seem not to be horizontally aligned but aligned to the bottom of the toolbar. Is it possible to center these vertically?

Regards,
David