[wxPython-dev] Some info on the ongoing SoC XRCed project
Robin Dunn
robin at alldunn.com
Mon Jul 9 16:43:46 PDT 2007
Roman Rolinsky wrote:
> On Fri, 2007-07-06 at 21:05 -0700, Kevin Ollivier wrote:
> [snip]
>> BTW, I really do like the new tool pane, I think it gives the app a
>> more modern look and gives the user a better idea of what the
>> controls will look like in the app. :-)
>
> Thanks. The only problem now is to keep the size of the tool pane sane,
> so it will not get in the way of the test window and others.
> Unfortunately Toolbook does not provide a means to scroll the toolbar
> which is used for pane selection buttons, so when the size of the window
> is not enough to hold all the buttons they are simply clipped away. I
> think I will need to provide at least some indicator that there are more
> buttons than meets the eye. The only way to implement scrolling seems to
> be removing some buttons from the toolbar (maybe hiding will do, I
> didn't try yet).
Perhaps one of the other book controls would be better, or maybe
Andrea's LabelBook (http://xoomer.alice.it/infinity77/eng/LabelBook.html)
>
>> Nice! I'll be looking forward to that, so I can add SizedControls and
>> wxWebKit in there. (The latter will have to be able to install itself
>> into XRCed when the user installs the control, I imagine that would
>> be possible?)
>
> You mean to initialize C++ XML handlers? This is possible using ctypes
> module which can load a function from a shared library.
I don't think we'll need to worry about this for a while. It's likely
that dynamic handlers for for arbitrary C++ modules will be handled
differently down the road anyway. For now being able to easily add and
edit support for the stock C++ wxWidgets XRC handlers, and also be able
to dynamically load Python XRC handlers and their XRCed support will be
enough.
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!
More information about the wxpython-dev
mailing list