Window.getFrameDimensions

Warning gtk_window_get_frame_dimensions has been deprecated since version 2.24 and should not be used in newly-written code. This function will be removed in GTK+ 3 (Note: this is a special-purpose function intended for the framebuffer port; see gtk_window_set_has_frame(). It will not return the size of the window border drawn by the window manager, which is the normal case when using a windowing system. See gdk_window_get_frame_extents() to get the standard window border extents.) Retrieves the dimensions of the frame window for this toplevel. See gtk_window_set_has_frame(), gtk_window_set_frame_dimensions().

class Window
void
getFrameDimensions
(
out int left
,
out int top
,
out int right
,
out int bottom
)

Parameters

left int

location to store the width of the frame at the left, or NULL. out[allow-none]

top int

location to store the height of the frame at the top, or NULL. out[allow-none]

right int

location to store the width of the frame at the returns, or NULL. out[allow-none]

bottom int

location to store the height of the frame at the bottom, or NULL. out[allow-none]

Meta