Trait gstreamer_editing_services::prelude::UriClipExt[][src]

pub trait UriClipExt: 'static {
    fn 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 connect_is_image_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_mute_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_supported_formats_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; }

Trait containing all UriClip methods.

Implementors

crate::UriClip

Required methods

fn uri(&self) -> Option<GString>[src]

Get the location of the resource.

Returns

The location of the resource.

fn is_image(&self) -> bool[src]

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[src]

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)[src]

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)[src]

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

mute

true to mute self audio track, false to unmute it

fn connect_is_image_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

fn connect_mute_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId[src]

fn connect_supported_formats_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

Loading content...

Implementors

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

fn uri(&self) -> Option<GString>[src]

fn is_image(&self) -> bool[src]

fn is_muted(&self) -> bool[src]

fn set_is_image(&self, is_image: bool)[src]

fn set_mute(&self, mute: bool)[src]

fn connect_is_image_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

fn connect_mute_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId[src]

fn connect_supported_formats_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

Loading content...