Hello,

this makes me wonder why you need these coordinates?

If you want to set the window size to the maximum, then just maximize it.

If you want to move it around automatically, like put it on the center of
the screen, don't do that. There are situations, e.g. for users with
multiple monitors of diyzfferent sizes, when you do more harm than good
with this approach.

Best,
Gergely
On Dec 29, 2015 11:26 PM, "Rick Berger" <rckb...@gmail.com> wrote:

> I'm looking for to get the screen coordinates, height and width of the
> workspace on Ubuntu's desktop. The only way I see to doing this, is in
> starting the app: maximize its window; get the workspace info from its
> window's coordinates and dimensions; then un-maximize its window. I believe
> these can be done with GDK.
>
> Is there better way to do this?
>
> Rick
> _______________________________________________
> gtk-app-devel-list mailing list
> gtk-app-devel-list@gnome.org
> https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
>
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to