state_is_running


Description:

[ Version ( deprecated = true , deprecated_since = "3.6" , since = "3.0" ) ]
public bool state_is_running (StateType state, out double progress)

Warning: state_is_running is deprecated since 3.6.

Returns true if there is a transition animation running for the current region (see push_animatable_region).

Note:

Always returns false

If progress is not null, the animation progress will be returned there, 0.0 means the state is closest to being false, while 1.0 means it’s closest to being true. This means transition animations will run from 0 to 1 when state is being set to true and from 1 to 0 when it’s being set to false.

Parameters:

this

a ThemingEngine

state

a widget state

progress

return location for the transition progress

Returns:

true if there is a running transition animation for state.