BreakpointCondition.newRatio

Creates a condition that triggers on ratio changes.

The ratio is represented as width divided by height.

Parameters

type adw.types.BreakpointConditionRatioType

the ratio type

width int

ratio width

height int

ratio height

Return Value

Type: adw.breakpoint_condition.BreakpointCondition

the newly created condition