From: ldries46 <bertus.dries@planet.nl>
Subject: Different screen parameters
Date: Tue, 23 Jun 2020 08:31:40 +0200 [thread overview]
Message-ID: <5ef1a1cc$0$1475$e4fe514c@news.kpn.nl> (raw)
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
next reply other threads:[~2020-06-23 6:31 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-23 6:31 ldries46 [this message]
2020-06-23 9:14 ` Different screen parameters Luke A. Guest
2020-06-23 9:54 ` Jeffrey R. Carter
2020-06-24 9:29 ` ldries46
2020-06-24 12:16 ` Jeffrey R. Carter
2020-06-26 7:23 ` ldries46
2020-06-26 11:47 ` ldries46
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox