On Thu, 2019-02-14 at 12:00 +, gtkmm-list-requ...@gnome.org wrote:
> Message: 2
> Date: Wed, 13 Feb 2019 15:08:40 +
> From: Daniel Boles
> To: gtkmm-list
> Subject: Re: Pixel size of primary monitor?
> Message-ID:
>
> See https://gitlab.gnome.org/GNOME/gtk
On Wed, 13 Feb 2019 at 14:55, Peter Weber via gtkmm-list <
gtkmm-list@gnome.org> wrote:
> Glib::RefPtr primary_monitor =
> window->get_screen()->get_display()->get_primary_monitor();
> if (primary_monitor) {
> Gdk::Rectangle monitor_size;
> primary_monitor->get_geometry(monitor_size);
>
Hello!
I want to know the pixel dimensions of the primary monitor. The reason for this
is that I want adapt the initial size of the application window relative to the
monitor size. I don't know if their is another pleasant way, but I consider
getting the pixel dimensions is generally a useful