pub trait VideoTransitionExt: 'static {
fn border(&self) -> i32;
fn transition_type(&self) -> VideoStandardTransitionType;
fn is_inverted(&self) -> bool;
fn set_border(&self, value: u32);
fn set_inverted(&self, inverted: bool);
fn set_transition_type(&self, type_: VideoStandardTransitionType) -> bool;
fn inverts(&self) -> bool;
fn set_invert(&self, invert: bool);
fn connect_border_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_invert_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_transition_type_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
}
Expand description
Required methods
Since 1.20
Get the border property of self
, this value represents
the border width of the transition.
Deprecated since 1.20
Use ges_timeline_element_get_child_property instead.
Returns
The border values of self
or -1 if not meaningful
(this will happen when not using a smpte transition).
fn transition_type(&self) -> VideoStandardTransitionType
fn transition_type(&self) -> VideoStandardTransitionType
fn is_inverted(&self) -> bool
fn is_inverted(&self) -> bool
Since 1.20
Get the invert property of self
, this value represents
the direction of the transition.
Deprecated since 1.20
Use ges_timeline_element_get_child_property instead.
Returns
The invert value of self
fn set_border(&self, value: u32)
fn set_border(&self, value: u32)
Since 1.20
Set the border property of self
, this value represents
the border width of the transition. In case this value does
not make sense for the current transition type, it is cached
for later use.
Deprecated since 1.20
Use ges_timeline_element_set_child_property instead.
value
The value of the border to set on object
fn set_inverted(&self, inverted: bool)
fn set_inverted(&self, inverted: bool)
Since 1.20
Set the invert property of self
, this value represents
the direction of the transition. In case this value does
not make sense for the current transition type, it is cached
for later use.
Deprecated since 1.20
Use ges_timeline_element_set_child_property instead.
inverted
fn set_transition_type(&self, type_: VideoStandardTransitionType) -> bool
fn set_transition_type(&self, type_: VideoStandardTransitionType) -> bool
Since 1.20
This value represents the direction of the transition.
Deprecated since 1.20
Use ges_timeline_element_[sg]et_child_property instead.
fn set_invert(&self, invert: bool)
fn set_invert(&self, invert: bool)
Since 1.20
This value represents the direction of the transition.
Deprecated since 1.20
Use ges_timeline_element_[sg]et_child_property instead.
fn connect_border_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
fn connect_invert_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
fn connect_invert_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
Since 1.20