From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,60c31b5757cc80b7 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news1.google.com!news.germany.com!news.belwue.de!rz.uni-karlsruhe.de!feed.news.schlund.de!schlund.de!news.online.de!not-for-mail From: Michael Bode Newsgroups: comp.lang.ada Subject: Re: GWindows Date: Sat, 11 Nov 2006 15:50:22 +0100 Organization: 1&1 Internet AG Message-ID: References: <31e1l2t4v3kt5h3fhsto8ujju8peob63i9@4ax.com> <1mzl12pq4w3iw$.90aqqjqpdt8f.dlg@40tude.net> NNTP-Posting-Host: p54af0873.dip0.t-ipconnect.de Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: online.de 1163256622 25530 84.175.8.115 (11 Nov 2006 14:50:22 GMT) X-Complaints-To: abuse@einsundeins.com NNTP-Posting-Date: Sat, 11 Nov 2006 14:50:22 +0000 (UTC) X-message-flag: IMPORTANT MESSAGE -- PLEASE READ IMMEDIATELY!!! X-Accepted-File-Formats: ASCII, .rtf, .ps, .pdf - *NO* MS Office files User-Agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) Xref: g2news2.google.com comp.lang.ada:7412 Date: 2006-11-11T15:50:22+01:00 List-Id: "Dmitry A. Kazakov" writes: > Did you try tree view under Windows, for example? I did, a lot. There are > numerous problems with it. For instance, refresh does not work well upon > resizing of panes containing tree views. > I only quoted GTK+ documentation. GtkAda's one repeats it: > > https://libre2.adacore.com/GtkAda/docs/2.8/gtkada_rm/gtk-window.html Do yo refer to this paragraph? If you are saving and restoring your application's window positions, you should know that it's impossible for applications to do this without getting it somewhat wrong because applications do not have sufficient knowledge of window manager state. The Correct Mechanism is to support the session management protocol (see the "GnomeClient" object in the GNOME libraries for example) and allow the window manager to save your window sizes and positions. This says it is not a GTK+ problem but a X11 / window manager problem. If this is true no X11 toolkit can do something about it. What I've seen is this: Set_UPosition seems to set the position of the whole window including border an title bar. Get_Position seems to return the position of the client area of the window. If your desktop has a panel on the top of the root window, you get another offset. You can compare the results of the GTK functions with the output of xwininfo. -- Michael Bode