pub trait VideoTransitionExt: IsA<VideoTransition> + Sealed + 'static {
    // Provided methods
    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

Trait containing all VideoTransition methods.

§Implementors

VideoTransition

Provided Methods§

source

fn border(&self) -> i32

👎Deprecated: 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).

source

fn transition_type(&self) -> VideoStandardTransitionType

Get the transition type used by self.

§Returns

The transition type used by self.

source

fn is_inverted(&self) -> bool

👎Deprecated: 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

source

fn set_border(&self, value: u32)

👎Deprecated: 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

source

fn set_inverted(&self, inverted: bool)

👎Deprecated: 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

true if the transition should be inverted false otherwise

source

fn set_transition_type(&self, type_: VideoStandardTransitionType) -> bool

Sets the transition being used to type_.

§type_

a VideoStandardTransitionType

§Returns

true if the transition type was properly changed, else false.

source

fn inverts(&self) -> bool

👎Deprecated: Since 1.20

This value represents the direction of the transition.

§Deprecated since 1.20

Use ges_timeline_element_[sg]et_child_property instead.

source

fn set_invert(&self, invert: bool)

👎Deprecated: Since 1.20

This value represents the direction of the transition.

§Deprecated since 1.20

Use ges_timeline_element_[sg]et_child_property instead.

source

fn connect_border_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId

source

fn connect_invert_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId

👎Deprecated: Since 1.20
source

fn connect_transition_type_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId

Object Safety§

This trait is not object safe.

Implementors§