get_size


Description:

public int get_size (Orientation orientation)

Returns the content width or height of the widget, depending on orientation.

This is equivalent to calling get_width for gtk_orientation_horizontal or get_height for gtk_orientation_vertical, but can be used when writing orientation-independent code, such as when implementing Orientable widgets.

Parameters:

this

a Widget

orientation

the orientation to query

Returns:

The size of this in orientation.