[][src]Trait webkit2gtk_webextension::DOMCSSStyleSheetExt

pub trait DOMCSSStyleSheetExt: 'static {
    fn add_rule(
        &self,
        selector: &str,
        style: &str,
        index: c_ulong
    ) -> Result<c_long, Error>;
fn delete_rule(&self, index: c_ulong) -> Result<(), Error>;
fn get_css_rules(&self) -> Option<DOMCSSRuleList>;
fn get_owner_rule(&self) -> Option<DOMCSSRule>;
fn get_rules(&self) -> Option<DOMCSSRuleList>;
fn insert_rule(&self, rule: &str, index: c_ulong) -> Result<c_ulong, Error>;
fn remove_rule(&self, index: c_ulong) -> Result<(), Error>;
fn connect_property_css_rules_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_owner_rule_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_rules_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; }

Required methods

fn add_rule(
    &self,
    selector: &str,
    style: &str,
    index: c_ulong
) -> Result<c_long, Error>

fn delete_rule(&self, index: c_ulong) -> Result<(), Error>

fn get_css_rules(&self) -> Option<DOMCSSRuleList>

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

fn get_rules(&self) -> Option<DOMCSSRuleList>

fn insert_rule(&self, rule: &str, index: c_ulong) -> Result<c_ulong, Error>

fn remove_rule(&self, index: c_ulong) -> Result<(), Error>

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

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

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

Loading content...

Implementors

impl<O: IsA<DOMCSSStyleSheet>> DOMCSSStyleSheetExt for O[src]

Loading content...