On Mon, Feb 21, 2011 at 09:26:09PM -0500, David Robillard wrote:
> It is obviously not useful to have hundreds of plugin UI windows open at
Unless they are embedded instead of being separate top level windows.
> If you're on an X11 system, then you can use X11 as a base to support
> However, there is no need or even benefit to forcing UI and/or host
I think you misunderstood things a bit. Neither the host nor the plugin
has to deal with X11 directly, each of them uses whatever toolkit they
like. The essential point is that what is exchanged (once) between
them is something that is common to both - an X window ID in the case
of X11 systems or the equivalent if the basic system is not X. The
plugin uses this as the parent for its own window. Which means that
the plugin window's position, visibility, etc. are now under control
of the host.
The code needed to do this can be part of a plugin support library on
Toolkits that can't
* extract the underlying type (in this case a X window ID) from their
own data structures or
* use such information as a parameter when creating a new window of
their own type
are simply deficient.
Linux-audio-dev mailing list