[maemo-developers] WM and bad position and size of non hildon apps.
From: Tim Teulings rael at edge.ping.deDate: Tue Jul 22 16:01:55 EEST 2008
- Previous message: WM and bad position and size of non hildon apps.
- Next message: Scheduling a Bugzilla Meeting
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
<20080722122628.GA31876 at fridge.pov.lt> <24b9c8a30807220553o125e7f0ct34b257c0cc7442d5 at mail.gmail.com> Message-ID: <5f412f5299bd719abce8648d017e2f68 at ping.de> X-Sender: rael at edge.ping.de Received: from 149.239.206.50 [149.239.206.50] with HTTP/1.1 (POST); Tue, 22 Jul 2008 15:01:55 +0200 User-Agent: PING e.V. Webmail/2.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Hallo! > Hi Marius, > Ok, I apologize, but the previously picture wasn't very representative. > Please, look this one: > http://www.gnuton.org/blog/wp-content/uploads/2007/11/qt4-on-maemo.jpg > This pic shows better the problem. Basically the non hildon windows > use the whole area set by WM. > I hope to be explained better this time. > I aplogize again. > Thanks. A number of information that might help you: * The window manager resizes all top level windows to the complete available area (minus top and left bars). Thiswill also be done, if the window sets limits for minimum and/or maximum size. They will be ignored for top level windows (or windows, that are marked as top level). So your application must be prepared that the top level window will be resized. It must draw the complete window independent of the expected or actual size (which is normally realized by allowing all top level window to be resizable). * The top level window frames are not drawn by the window manager but are part fo the Gtk theme of the window content (Full screen windows just don't draw this frames). Just like a button has a frame, the window content itself in this case has one, too.If you want these frames you must read the image data from the Gtk theme and draw them yourself. I have done this for the libIllumination applications. You are right, ob would expect that this is the job of the window manager. -- GruÃ... Tim
- Previous message: WM and bad position and size of non hildon apps.
- Next message: Scheduling a Bugzilla Meeting
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]