GTK window, how to get window decoration sizes?
<p>I am looking for an equivalent of <a href="https://msdn.microsoft.com/en-us/library/windows/desktop/ms632665(v=vs.85).aspx" rel="noreferrer">AdjustWindowRect</a> function that allows to get widths/heights of window caption and borders. </p>

<p>Do we have this functionality in GTK 3 at all? Seems like not. 
I've looked through all gtk_window_xxx, gtk_widget_xxx and gdk_window_xxx*  functions... </p>

<p>Update: </p>

<p>In principle I am able to determine window-chrome/decoration dimensions as a delta of <code>gdk_window_get_frame_extents()</code> and <code>gtk_widget_get_allocation()</code> / <code>gdk_window_get_origin()</code> but </p>

<ol>
<li>it works only after window appeared on the screen. I need it before that - to calculate initial window position.</li>
<li>it is really a hack.</li>
</ol>