[ CCode ( has_type_id = false ) ]
public struct ToplevelSize
The GdkToplevelSIze struct contains information that may be useful for users of GdkToplevel to compute a surface size.
It also carries information back with the computational result.
- public void get_bounds (out int bounds_width, out int bounds_height)
Retrieves the bounds the toplevel is placed within.
- public void set_min_size (int min_width, int min_height)
The minimum size corresponds to the limitations the toplevel can be shrunk
to, without resulting in incorrect painting.
- public void set_shadow_width (int left, int right, int top, int bottom)
The shadow width corresponds to the part of the computed surface size that
would consist of the shadow margin surrounding the window, would there be any.
- public void set_size (int width, int height)
Sets the size the toplevel prefers to be resized to.