On 09/22/2010 06:31 AM, ext Zhao, Halley wrote:
Thanks Tomas.
Is there any examples to have multi-windows for MeeGo touch application?
I think video playback on HDMI is done by moving windows inside virtual screen; 
just move it to a region of virtual screen which map to HDMI output, right?
Does mcompositor aware virtual screen now?

A multi-window app is simply created by instantiating several windows (MApplicationWindow w1; w1.show(); MApplicationWindow w2; w2.show()).

The app is however not able to determine the placement of the windows relative to each other, that is up to the window manager. A device with multiple outputs is also not likely map these into a single virtual screen, the management of the windows would be complicated. Instead I would expect the two outputs to be represented as different screens in X. An app can be started on a specific screen with something like "DISPLAY=:2 MyApp". Unfortunately, while for instance Gtk+ allows to specify the X screen when creating a window in an app, Qt apparently does not.

Regards,
Tomas
_______________________________________________
MeeGo-dev mailing list
[email protected]
http://lists.meego.com/listinfo/meego-dev

Reply via email to