Companion

object Companion

Functions

Link copied to clipboard
fun getType(): <Error class: unknown class>

Get the GType of BreakpointCondition

Link copied to clipboard

Creates a condition that triggers when @condition_1 and @condition_2 are both true.

Link copied to clipboard
fun newLength(type: BreakpointConditionLengthType, value: <Error class: unknown class>, unit: LengthUnit): BreakpointCondition

Creates a condition that triggers on length changes.

Link copied to clipboard

Creates a condition that triggers when either @condition_1 or @condition_2 is true.

Link copied to clipboard
fun newRatio(type: BreakpointConditionRatioType, width: <Error class: unknown class>, height: <Error class: unknown class>): BreakpointCondition

Creates a condition that triggers on ratio changes.

Link copied to clipboard

Parses a condition from a string.