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
both sides.
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.
Ciao,
--
FA
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev
LINUX® is a registered trademark of Linus Torvalds in the USA and other countries.
Linuxaudio.org logo copyright Thorsten Wilms © 2006.
Hosting provided by the Virginia Tech Department of Music and DISIS.