StyleContext.stateIsRunning
bool stateIsRunning(gtk.types.StateType state, out double progress)Returns true if there is a transition animation running for the current region (see [gtk.style_context.StyleContext.pushAnimatableRegion]).
If progress is not null, the animation progress will be returned there, 0.0 means the state is closest to being unset, while 1.0 means it’s closest to being set. This means transition animation will run from 0 to 1 when state is being set and from 1 to 0 when it’s being unset.
Parameters
state | a widget state |
progress | return location for the transition progress |
Returns
true if there is a running transition animation for state.
Deprecated
This function always returns false