the string specifying the condition
the parsed condition
Ratio conditions are specified as <type>: <width>[/<height>], where:
See adw.breakpoint_condition.BreakpointCondition.newRatio.
The ratio is represented as <width> divided by <height>.
If <height> is omitted, it's assumed to be 1.
The logical operators and, or can be used to compose a complex condition as follows:
Conditions can be further nested using parentheses, for example:
If parentheses are omitted, the first operator takes priority.
Parses a condition from a string.
Length conditions are specified as <type>: <value>[<unit>], where:
If the unit is omitted, px is assumed.
See adw.breakpoint_condition.BreakpointCondition.newLength.