get_bounds


Description:

public void get_bounds (out int bounds_width, out int bounds_height)

Retrieves the bounds the toplevel is placed within.

The bounds represent the largest size a toplevel may have while still being able to fit within some type of boundary. Depending on the backend, this may be equivalent to the dimensions of the work area or the monitor on which the window is being presented on, or something else that limits the way a toplevel can be presented.

Parameters:

this

a `GdkToplevelSize`

bounds_width

return location for width

bounds_height

return location for height




2022 vala-language.org