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.0 required=5.0 tests=BAYES_40,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Received: by 2002:ac8:4050:: with SMTP id j16mr5569474qtl.44.1593219449663; Fri, 26 Jun 2020 17:57:29 -0700 (PDT) X-Received: by 2002:a4a:d415:: with SMTP id n21mr4697812oos.89.1593219449460; Fri, 26 Jun 2020 17:57:29 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!news.gegeweb.eu!gegeweb.org!usenet-fr.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Fri, 26 Jun 2020 17:57:29 -0700 (PDT) In-Reply-To: <5ef5e571$0$1198$e4fe514c@news.kpn.nl> Complaints-To: groups-abuse@google.com Injection-Info: google-groups.googlegroups.com; posting-host=96.247.204.159; posting-account=QF6XPQoAAABce2NyPxxDAaKdAkN6RgAf NNTP-Posting-Host: 96.247.204.159 References: <5ef5e571$0$1198$e4fe514c@news.kpn.nl> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <47bc72a5-e247-4bce-a4eb-dc7bdbf3f5a0o@googlegroups.com> Subject: Re: Gdk_Monitor From: Jere Injection-Date: Sat, 27 Jun 2020 00:57:29 +0000 Content-Type: text/plain; charset="UTF-8" Xref: reader01.eternal-september.org comp.lang.ada:59237 List-Id: On Friday, June 26, 2020 at 8:09:23 AM UTC-4, ldries46 wrote: > In the latest version of Gtkada for Windows on Adacore I cannot find > Gdk_Monitor. It seems that Gdk_Monitor is the only part in Gtk+ where it > is still possible to get the size in pixels of the monitor. All other > places where this can be done ar depreciated from version 3.22. Is there > somewhere a version of Gtkada that includes Gdk_Monitoring. > If not is there somewhere within the different operating systems where I > can find these parameters. I want a program that automatically adapts to > the screen size and doe not work with fullscreen windows Alternative option: You should try opening an issue on their github repo for GtkAda. They responded to mine. They might be able to suggest a workaround. Otherwise, you might be stuck doing your own custom bindings to the monitor functions.