From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!aioe.org!peer01.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!peer02.ams1!peer.ams1.xlned.com!news.xlned.com!newsfeed.xs4all.nl!newsfeed9.news.xs4all.nl!nzpost2.xs4all.net!news.kpn.nl!not-for-mail Newsgroups: comp.lang.ada X-Mozilla-News-Host: news://news.kpn.nl:119 From: ldries46 Subject: Different screen parameters Date: Tue, 23 Jun 2020 08:31:40 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-GB Message-ID: <5ef1a1cc$0$1475$e4fe514c@news.kpn.nl> NNTP-Posting-Host: 1733f2cf.news.kpn.nl X-Trace: G=mR9KHpKH,C=U2FsdGVkX18X7woSV2nYhouvj/4vRgoYvXsg5ldGl5OkiT2KT5kjgB2gWQsQPUV0FShCmzHtZR7PaNtLXCEtj5Pq6xxP4GVAktqWfjw01WE= X-Complaints-To: abuse@kpn.nl X-Received-Bytes: 1740 X-Received-Body-CRC: 2050501019 Xref: reader01.eternal-september.org comp.lang.ada:59179 List-Id: I am using a high definition screen 4K (3840 * 2160 pixels) and two computers one with a graphic card which can handle this resolution and an older one which can handle up to 1920 * 1080. (the first on Windows 10 the second on Linux Ubuntu). I want both computers capable of running my programs even if I define a the window on 2000 * 1200 for a Gtk project. On the computer that can handle the resolution the there is of course no problem. On the other the screen is window is to big for the resolution and is shown only partly (of course). My question is: Is there an Ada library that is able to somehow read theĀ  maximum sizes of the screen in pixels so I can firstly maximize my values for size definition in Gtk. I already tried: Maximize(Mainwindow); Get_Size(MainWindow, Height, Width); The result was 200 * 200