[][src]Trait webkit2gtk_webextension::DOMMediaListExt

pub trait DOMMediaListExt: 'static {
    fn append_medium(&self, newMedium: &str) -> Result<(), Error>;
fn delete_medium(&self, oldMedium: &str) -> Result<(), Error>;
fn get_length(&self) -> c_ulong;
fn get_media_text(&self) -> Option<GString>;
fn item(&self, index: c_ulong) -> Option<GString>;
fn set_media_text(&self, value: &str) -> Result<(), Error>;
fn connect_property_length_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_media_text_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; }

Required methods

fn append_medium(&self, newMedium: &str) -> Result<(), Error>

fn delete_medium(&self, oldMedium: &str) -> Result<(), Error>

fn get_length(&self) -> c_ulong

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

fn item(&self, index: c_ulong) -> Option<GString>

fn set_media_text(&self, value: &str) -> Result<(), Error>

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

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

Loading content...

Implementors

impl<O: IsA<DOMMediaList>> DOMMediaListExt for O[src]

Loading content...