Package ch.bailu.gtk.gdk
Schnittstelle Toplevel.OnComputeSize
- Umschließende Klasse:
Toplevel
- Funktionsschnittstelle:
- Dies ist eine funktionale Schnittstelle, die somit als Zuweisungsziel für einen Lambdaausdruck oder eine Methodenreferenz verwendet werden kann.
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
onComputeSize
(ch.bailu.gtk.gdk.ToplevelSize size) Emitted when the size for the surface needs to be computed, when
it is present.
-
Methodendetails
-
onComputeSize
void onComputeSize(@Nonnull ch.bailu.gtk.gdk.ToplevelSize size) Emitted when the size for the surface needs to be computed, when
it is present.
This signal will normally be emitted during or after a call to
[method@Gdk.Toplevel.present], depending on the configuration
received by the windowing system. It may also be emitted at any
other point in time, in response to the windowing system
spontaneously changing the configuration of the toplevel surface.
It is the responsibility of the toplevel user to handle this signal
and compute the desired size of the toplevel, given the information
passed via the [struct@Gdk.ToplevelSize] object. Failing to do so
will result in an arbitrary size being used as a result.- Parameter:
size
- a `GdkToplevelSize`
-