Component.getSize

void getSize(out int width, out int height)

Gets the size of the component in terms of width and height.

If the size can not be obtained (e.g. a non-embedded plug or missing support), width and height are set to -1.

Parameters

widthaddress of #gint to put width of component
heightaddress of #gint to put height of component

Deprecated

Since 2.12. Use [atk.component.Component.getExtents] instead.