[Ubuntu] How to determine the size of unity launcher/panel

ceruleus (215)
I'm having an issue calculating the size of my window on Ubuntu.

I am using gtkmm-2.4 and calling Gdk::Screen::get_monitor_geometry to determine the size of the window, but this method does not account for the width of the Unity launcher and the height of the Unity panel. When I use the rectangle provided by this method to calculate my window size, it's a bit too large.

Has anyone else experienced this problem? Any ideas or solutions would be greatly appreciated.

Thanks.
Zaita (2400)
Check with the GTK && Unity documentation or forums, that is a problem specific to the platform/gui toolkit you're using.
Registered users can post here. Sign in or register to post.