ConstraintGuide

open class ConstraintGuide(pointer: <Error class: unknown class><<Error class: unknown class>>) : ConstraintTarget

A GtkConstraintGuide is an invisible layout element in a GtkConstraintLayout.

The GtkConstraintLayout treats guides like widgets. They can be used as the source or target of a GtkConstraint.

Guides have a minimum, maximum and natural size. Depending on the constraints that are applied, they can act like a guideline that widgets can be aligned to, or like flexible space.

Unlike a GtkWidget, a GtkConstraintGuide will not be drawn.

Skipped during bindings generation

  • parameter width: width: Out parameter is not supported

  • parameter width: width: Out parameter is not supported

  • parameter width: width: Out parameter is not supported

  • method max-height: Property has no getter nor setter

  • method max-width: Property has no getter nor setter

  • method min-height: Property has no getter nor setter

  • method min-width: Property has no getter nor setter

  • method nat-height: Property has no getter nor setter

  • method nat-width: Property has no getter nor setter

Constructors

Link copied to clipboard
constructor()

Creates a new GtkConstraintGuide object.

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

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val gtkConstraintGuidePointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
open override val gtkConstraintTargetPointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
open var name: String?

A name that identifies the GtkConstraintGuide, for debugging.

Link copied to clipboard

The GtkConstraintStrength to be used for the constraint on the natural size of the guide.

Functions

Link copied to clipboard
open fun setMaxSize(width: <Error class: unknown class>, height: <Error class: unknown class>)

Sets the maximum size of @guide.

Link copied to clipboard
open fun setMinSize(width: <Error class: unknown class>, height: <Error class: unknown class>)

Sets the minimum size of @guide.

Link copied to clipboard
open fun setNatSize(width: <Error class: unknown class>, height: <Error class: unknown class>)

Sets the natural size of @guide.