Drawable.getSize

Warning gdk_drawable_get_size has been deprecated since version 2.24 and should not be used in newly-written code. Use gdk_window_get_width() and gdk_window_get_height() for GdkWindows. Use gdk_pixmap_get_size() for GdkPixmaps. Fills *width and *height with the size of drawable. width or height can be NULL if you only want the other one. On the X11 platform, if drawable is a GdkWindow, the returned size is the size reported in the most-recently-processed configure event, rather than the current size on the X server.

class Drawable
void
getSize
(
out int width
,
out int height
)

Parameters

width int

location to store drawable's width, or NULL. out[allow-none]

height int

location to store drawable's height, or NULL. out[allow-none]

Meta