comp.lang.ada
 help / color / mirror / Atom feed
From: Jere <jhb.chat@gmail.com>
Subject: Re: Gdk_Monitor
Date: Fri, 26 Jun 2020 17:47:02 -0700 (PDT)	[thread overview]
Message-ID: <1d94b27a-21cf-4b66-86c8-aa453930018do@googlegroups.com> (raw)
In-Reply-To: <5ef5e571$0$1198$e4fe514c@news.kpn.nl>

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

  reply	other threads:[~2020-06-27  0:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-26 12:09 Gdk_Monitor ldries46
2020-06-27  0:47 ` Jere [this message]
2020-06-27  0:49   ` Gdk_Monitor Jere
2020-06-27  0:57 ` Gdk_Monitor Jere
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox