You are not logged in.
i would like my program to open a window in X almost full screen (on top of the window stack) covering everything except the panel with nothing over or under the panel (every pixel of both being displayed). is there a simple way to achieve this? i am coding this in Python3. i prefer library calls instead of invoking commands to get info but am not ruling out using commands (as long as the output is not complex to parse).
Offline
Is this for all programs or just one program? If its for all programs, you can use margins (Settings Manager > Workspaces > Margins).
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
it's for programs i will be coding, not any others. the programs may or may not do so and it may not be the first window it opens. i'm just getting started making some GUI capable programs. i want make them "Xfce aware" such as leaving the panel visible when showing a graph in very large detail. although i can code in C, i plan to do just Python3 for GUI apps.
Offline
Perhaps your best bet is to get the size of the panel (assuming only one panel) and set the window geometry to the screen size minus panel size.
xfconf-query -c xfce4-panel -lv | grep panel-1 | grep "/size"
...will return the panel row size in pixels.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
There could be several panels.
It's easiest to look for _NET_WORKAREA property of the root window.
xprop -root _NET_WORKAREA
That way it would not depend on xfce panels and would work in other DE's.
Although not on Wayland.
Do you want to exit the Circus?
https://www.youtube.com/watch?v=ZJwQicZHp_c
Offline
[ Generated in 0.007 seconds, 7 queries executed - Memory usage: 534.5 KiB (Peak: 535.34 KiB) ]