RequestedSize

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

Represents a request of a screen object in a given orientation. These are primarily used in container implementations when allocating a natural size for children calling. See func@distribute_natural_allocation.

Constructors

Link copied to clipboard
constructor()

Allocate a new RequestedSize.

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

Allocate a new RequestedSize using the provided AutofreeScope.

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

Allocate a new RequestedSize.

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.

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

Properties

Link copied to clipboard
var data: <Error class: unknown class>

A client pointer

Link copied to clipboard
val gtkRequestedSizePointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
var minimumSize: <Error class: unknown class>

The minimum size needed for allocation in a given orientation

Link copied to clipboard
var naturalSize: <Error class: unknown class>

The natural size for allocation in a given orientation

Functions

Link copied to clipboard
open override fun toString(): String