Gravity

Defines the reference point of a surface and is used in GdkPopupLayout.

Entries

Link copied to clipboard

the reference point is at the top left corner.

Link copied to clipboard

the reference point is in the middle of the top edge.

Link copied to clipboard

the reference point is at the top right corner.

Link copied to clipboard

the reference point is at the middle of the left edge.

Link copied to clipboard

the reference point is at the center of the surface.

Link copied to clipboard

the reference point is at the middle of the right edge.

Link copied to clipboard

the reference point is at the lower left corner.

Link copied to clipboard

the reference point is at the middle of the lower edge.

Link copied to clipboard

the reference point is at the lower right corner.

Link copied to clipboard

the reference point is at the top left corner of the surface itself, ignoring window manager decorations.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
val nativeValue: <Error class: unknown class>
Link copied to clipboard

Functions

Link copied to clipboard
fun valueOf(value: String): Gravity

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.