queue_resize


Description:

public void queue_resize ()

Flags a widget to have its size renegotiated.

This should be called when a widget for some reason has a new size request. For example, when you change the text in a [[email protected]], the label queues a resize to ensure there’s enough space for the new text.

Note that you cannot call queue_resize on a widget from inside its implementation of the [ [email protected]_allocate] virtual method. Calls to queue_resize from inside [ [email protected]_allocate] will be silently ignored.

This function is only for use in widget implementations.

Parameters:

this

a `GtkWidget`




2022 vala-language.org