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

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.

Check with the GTK && Unity documentation or forums, that is a problem specific to the platform/gui toolkit you're using.
Topic archived. No new replies allowed.