RequestedSize

constructor()

Allocate a new RequestedSize.

This instance will be allocated on the native heap and automatically freed when this class instance is garbage collected.


constructor(scope: <Error class: unknown class>)

Allocate a new RequestedSize using the provided AutofreeScope.

The AutofreeScope manages the allocation lifetime. The most common usage is with memScoped.

Parameters

scope

The AutofreeScope to allocate this structure in.


constructor(data: <Error class: unknown class>, minimumSize: <Error class: unknown class>, naturalSize: <Error class: unknown class>)

Allocate a new RequestedSize.

This instance will be allocated on the native heap and automatically freed when this class instance is garbage collected.

Parameters

data

A client pointer

minimumSize

The minimum size needed for allocation in a given orientation

naturalSize

The natural size for allocation in a given orientation


constructor(data: <Error class: unknown class>, minimumSize: <Error class: unknown class>, naturalSize: <Error class: unknown class>, scope: <Error class: unknown class>)

Allocate a new RequestedSize using the provided AutofreeScope.

The AutofreeScope manages the allocation lifetime. The most common usage is with memScoped.

Parameters

data

A client pointer

minimumSize

The minimum size needed for allocation in a given orientation

naturalSize

The natural size for allocation in a given orientation

scope

The AutofreeScope to allocate this structure in.


constructor(gtkRequestedSizePointer: <Error class: unknown class><<Error class: unknown class>>, cleaner: <Error class: unknown class>? = null)