set_duration


Description:

[ Version ( since = "3.34" ) ]
public void set_duration (Duration duration)

Sets the this duration for a relative trigger.

The function does nothing, when the this is an absolute trigger. The object is owned by this and it's valid until the this is freed or its relative duration changed.

Parameters:

this

an ComponentAlarmTrigger

duration

duration for a relative trigger, as an Duration




2022 vala-language.org