[][src]Trait gstreamer_editing_services::UriClipExt

pub trait UriClipExt: 'static {
    fn get_uri(&self) -> Option<GString>;
fn is_image(&self) -> bool;
fn is_muted(&self) -> bool;
fn set_is_image(&self, is_image: bool);
fn set_mute(&self, mute: bool);
fn get_property_is_image(&self) -> bool;
fn get_property_mute(&self) -> bool;
fn connect_property_is_image_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_mute_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_supported_formats_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; }

Trait containing all UriClip methods.

Implementors

UriClip

Required methods

fn get_uri(&self) -> Option<GString>

Get the location of the resource.

Returns

The location of the resource.

fn is_image(&self) -> bool

Lets you know if self is an image or not.

Returns

true if self is a still image false otherwise.

fn is_muted(&self) -> bool

Lets you know if the audio track of self is muted or not.

Returns

true if the audio track of self is muted, false otherwise.

fn set_is_image(&self, is_image: bool)

Sets whether the clip is a still image or not.

is_image

true if self is a still image, false otherwise

fn set_mute(&self, mute: bool)

Sets whether the audio track of this clip is muted or not.

mute

true to mute self audio track, false to unmute it

fn get_property_is_image(&self) -> bool

Whether this uri clip represents a still image or not. This must be set before create_track_elements is called.

fn get_property_mute(&self) -> bool

Whether the sound will be played or not.

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

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

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

Loading content...

Implementors

impl<O: IsA<UriClip>> UriClipExt for O[src]

Loading content...