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!newsfeed.cw.net!cw.net!news-FFM2.ecrc.de!feed.news.schlund.de!schlund.de!news.online.de!not-for-mail From: Michael Bode Newsgroups: comp.lang.ada Subject: Re: GWindows Date: Fri, 10 Nov 2006 22:14:25 +0100 Organization: 1&1 Internet AG Message-ID: References: <31e1l2t4v3kt5h3fhsto8ujju8peob63i9@4ax.com> <1mzl12pq4w3iw$.90aqqjqpdt8f.dlg@40tude.net> NNTP-Posting-Host: p54af3408.dip0.t-ipconnect.de Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: online.de 1163193266 23541 84.175.52.8 (10 Nov 2006 21:14:26 GMT) X-Complaints-To: abuse@einsundeins.com NNTP-Posting-Date: Fri, 10 Nov 2006 21:14:26 +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:7406 Date: 2006-11-10T22:14:25+01:00 List-Id: "Dmitry A. Kazakov" writes: > Though GTK+ performs quite poorly on Windows platform. How? For me it works quite well. > And overall, when its documentation tells you that you fundamentally > cannot save and restore the position of a window, what could you > say? Get toplevel window position from a widget: declare Gwin : Gdk.Window.Gdk_Window; X, Y : Glib.Gint; begin Gwin := Gtk.Widget.Get_Window (Get_Toplevel (Widget)); Gdk.Window.Get_Position (Gwin, X, Y); end; Set toplevel position: Gtk.Widget.Set_UPosition (Widget, X, Y); -- Michael Bode