comp.lang.ada
 help / color / mirror / Atom feed
* Different screen parameters
@ 2020-06-23  6:31 ldries46
  2020-06-23  9:14 ` Luke A. Guest
  2020-06-23  9:54 ` Jeffrey R. Carter
  0 siblings, 2 replies; 7+ messages in thread
From: ldries46 @ 2020-06-23  6:31 UTC (permalink / 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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-06-26 11:47 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-23  6:31 Different screen parameters ldries46
2020-06-23  9:14 ` 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

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