[][src]Trait webkit2gtk_webextension::DOMCSSStyleDeclarationExt

pub trait DOMCSSStyleDeclarationExt: 'static {
    fn get_css_text(&self) -> Option<GString>;
fn get_length(&self) -> c_ulong;
fn get_parent_rule(&self) -> Option<DOMCSSRule>;
fn get_property_priority(&self, propertyName: &str) -> Option<GString>;
fn get_property_shorthand(&self, propertyName: &str) -> Option<GString>;
fn get_property_value(&self, propertyName: &str) -> Option<GString>;
fn is_property_implicit(&self, propertyName: &str) -> bool;
fn item(&self, index: c_ulong) -> Option<GString>;
fn remove_property(&self, propertyName: &str) -> Result<GString, Error>;
fn set_css_text(&self, value: &str) -> Result<(), Error>;
fn set_property(
        &self,
        propertyName: &str,
        value: &str,
        priority: &str
    ) -> Result<(), Error>;
fn connect_property_css_text_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_length_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_parent_rule_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; }

Required methods

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

fn get_length(&self) -> c_ulong

fn get_parent_rule(&self) -> Option<DOMCSSRule>

fn get_property_priority(&self, propertyName: &str) -> Option<GString>

fn get_property_shorthand(&self, propertyName: &str) -> Option<GString>

fn get_property_value(&self, propertyName: &str) -> Option<GString>

fn is_property_implicit(&self, propertyName: &str) -> bool

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

fn remove_property(&self, propertyName: &str) -> Result<GString, Error>

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

fn set_property(
    &self,
    propertyName: &str,
    value: &str,
    priority: &str
) -> Result<(), Error>

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

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

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

Loading content...

Implementors

impl<O: IsA<DOMCSSStyleDeclaration>> DOMCSSStyleDeclarationExt for O[src]

Loading content...