BreakpointCondition.newRatio
adw.breakpoint_condition.BreakpointCondition newRatio(adw.types.BreakpointConditionRatioType type, int width, int height)Creates a condition that triggers on ratio changes.
The ratio is represented as width divided by height.
Parameters
type | the ratio type |
width | ratio width |
height | ratio height |
Returns
the newly created condition