Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gdk_Monitor not found in Adacore version of GtkAda for Windows #32

Open
ldries46 opened this issue Jun 27, 2020 · 0 comments
Open

Gdk_Monitor not found in Adacore version of GtkAda for Windows #32

ldries46 opened this issue Jun 27, 2020 · 0 comments

Comments

@ldries46
Copy link

I am trying to wite a GtkAda program that is Hardware independent. One of the things I have to do is setting a correct Window size.
As I myself have screen of 3840 * 2160 pixels and the graphical card has an even larger possibility. For that program a default size of 2000 * 1200 is a reasonable size. running that program on another system (same screen, card has a maximim size of 1920 * 1080) the window is to large for the screen and cannot be moved anymore.
I want a procedure/function the returns the minimum of the screen size and the size allowed by the graphical card, on the first machine 3840 * 2160 (screen size) and on the second 1920 * 1080 (graphical card).
On internet I found Gdk_Screen where all the promissing routines were depreciated and Gdk_Monitor which could not be reached in my windows version (Adacore 2020). I donot know if it can be reached in the Linux version.
What is my solution

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant