wxOtherControls ;-)

Hello NG,

My guess and bare in mind that is just a guess... is that it wouldn't be

so hard to add them to wxPython.
I think is just a matter of tinkering with the SWIG interfaces.
If you have some time and ability to compile the source code, give it a

try... read a little bit about SWIG... look at how Robin wrapped the rest

of the widgets and try to imitate.

Thank you Peter for your hints. I was thinking about (maybe is a stupid
thing)... would it be possible to implement them as a pure Python classes?
Without requiring wrapping of wxWidgets code? Honestly, I don't really know
how powerful this widget is, because the documentation I found about it
is not really clear... does it support adding panel in runtime? If it is
possible to write pure Python code, how can I manage the sub-items added
to every panel? There will also be some work on wx.EVT_SIZE things, because
the behavior of this widgets depends on how many panels you add to it...
And how can I manage the panels if, when they are expanded, they have a
vertical size greater than the video size? Would you use a ScrolledWindow?
ScrolledPanel?

You don't have to be a C++ guru to wrap those widgets.

Glad to hear it... :wink:

Also... bare in mind on thing... those widgets are not available for all

platforms (from what I've seen on their pages) so... there might be some

policy regarding inclusion in wxPython.... Robin could shed more light

on

this.

This is another reason why I am asking if it would be possible to write
pure Python classes.

As a side note... those widgets are really valuable... first one for
filters and toolbars and the second one for configuration panels.

Also for me they would be very useful...

Thanks to you all.

Andrea.

andrea_gavana@tin.it wrote:

Hello NG,

My guess and bare in mind that is just a guess... is that it wouldn't be

so hard to add them to wxPython.
I think is just a matter of tinkering with the SWIG interfaces.
If you have some time and ability to compile the source code, give it a

try... read a little bit about SWIG... look at how Robin wrapped the rest

of the widgets and try to imitate.

Thank you Peter for your hints. I was thinking about (maybe is a stupid
thing)... would it be possible to implement them as a pure Python classes?

Yes. OGl and Doc/View have recently been ported to Python. If the C++ code is just using generic wxWidgets (no native APIs, etc.) then porting to Python is fairly straightforward. You'll just want to ensure that the license allows it. Since Jorg's stuff is under the wxWindows licsense then it is not a problem.

Without requiring wrapping of wxWidgets code? Honestly, I don't really know
how powerful this widget is, because the documentation I found about it
is not really clear... does it support adding panel in runtime? If it is
possible to write pure Python code, how can I manage the sub-items added
to every panel? There will also be some work on wx.EVT_SIZE things, because
the behavior of this widgets depends on how many panels you add to it...
And how can I manage the panels if, when they are expanded, they have a
vertical size greater than the video size? Would you use a ScrolledWindow?
ScrolledPanel?

The answers are all in the source! :wink:

ยทยทยท

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!