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=0.5 required=5.0 tests=BAYES_05,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Received: by 2002:ae9:e8c7:: with SMTP id a190mr5451126qkg.94.1593218963545; Fri, 26 Jun 2020 17:49:23 -0700 (PDT) X-Received: by 2002:a9d:7312:: with SMTP id e18mr4565241otk.182.1593218963339; Fri, 26 Jun 2020 17:49:23 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!news.uzoreto.com!feeder1.cambriumusenet.nl!feed.tweak.nl!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:49:23 -0700 (PDT) In-Reply-To: <1d94b27a-21cf-4b66-86c8-aa453930018do@googlegroups.com> 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> <1d94b27a-21cf-4b66-86c8-aa453930018do@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Gdk_Monitor From: Jere Injection-Date: Sat, 27 Jun 2020 00:49:23 +0000 Content-Type: text/plain; charset="UTF-8" Xref: reader01.eternal-september.org comp.lang.ada:59236 List-Id: On Friday, June 26, 2020 at 8:47:04 PM UTC-4, Jere wrote: > 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 > > I don't mess with GTK much, but a quick google search pointed me to > the gdk_screen_XXXX functions. I searched AdaCore's current > GtkAda repository for "gdk_screen" and it pointed me to the > Gdk.Screen package in the generated folder. Have you tried > them? I didn't see any deprecation remarks (though I didn't dig deep). > > https://github.com/AdaCore/gtkada/blob/d6dbc602911b4bb91519208185f4e615572e4079/src/generated/gdk-screen.ads Nevermind. I did find a document that listed them as deprecated.