Function
AdwBreakpointConditionnew_ratio
unstable since: 1.4
Declaration [src]
AdwBreakpointCondition*
adw_breakpoint_condition_new_ratio (
AdwBreakpointConditionRatioType type,
int width,
int height
)
Description [src]
Creates a condition that triggers on ratio changes.
The ratio is represented as width divided by height.
Available since: 1.4
Parameters
type-
Type:
AdwBreakpointConditionRatioTypeThe ratio type.
width-
Type:
intRatio width.
height-
Type:
intRatio height.
Return value
Type: AdwBreakpointCondition
The newly created condition.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |