Re: How to find all panels on screen
- From: Florian Müllner <fmuellner gnome org>
- To: Sergey Cherepanov <sergey cherepanov org>
- Cc: gnome-shell-list <gnome-shell-list gnome org>
- Subject: Re: How to find all panels on screen
- Date: Fri, 3 Nov 2017 01:10:56 +0100
On Fri, Nov 3, 2017 at 12:42 AM, Sergey Cherepanov
<sergey cherepanov org> wrote:
I wonder how I can find position and size of all panels on screen. I need to
determine usable screen size/position for gnome-shell extension.
You mean the area that is available to regular windows? That's called
the "work area", and there are methods to query it, for example
meta_workspace_get_work_area_for_monitor()[0]
Cheers,
Florian
[0] https://git.gnome.org//browse/mutter/tree/src/core/workspace.c#n1082
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]