[][src]Trait webkit2gtk_webextension::DOMHTMLSelectElementExt

pub trait DOMHTMLSelectElementExt: 'static {
    fn add<P: IsA<DOMHTMLElement>, Q: IsA<DOMHTMLElement>>(
        &self,
        element: &P,
        before: &Q
    ) -> Result<(), Error>;
fn get_autofocus(&self) -> bool;
fn get_disabled(&self) -> bool;
fn get_form(&self) -> Option<DOMHTMLFormElement>;
fn get_length(&self) -> c_ulong;
fn get_multiple(&self) -> bool;
fn get_name(&self) -> Option<GString>;
fn get_options(&self) -> Option<DOMHTMLOptionsCollection>;
fn get_select_type(&self) -> Option<GString>;
fn get_selected_index(&self) -> c_long;
fn get_size(&self) -> c_long;
fn get_value(&self) -> Option<GString>;
fn get_will_validate(&self) -> bool;
fn item(&self, index: c_ulong) -> Option<DOMNode>;
fn named_item(&self, name: &str) -> Option<DOMNode>;
fn remove(&self, index: c_long);
fn set_autofocus(&self, value: bool);
fn set_disabled(&self, value: bool);
fn set_length(&self, value: c_ulong) -> Result<(), Error>;
fn set_multiple(&self, value: bool);
fn set_name(&self, value: &str);
fn set_selected_index(&self, value: c_long);
fn set_size(&self, value: c_long);
fn set_value(&self, value: &str);
fn get_property_type(&self) -> Option<GString>;
fn connect_property_autofocus_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_disabled_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_form_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_multiple_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_name_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_options_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_selected_index_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_size_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_type_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_value_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_will_validate_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; }

Required methods

fn add<P: IsA<DOMHTMLElement>, Q: IsA<DOMHTMLElement>>(
    &self,
    element: &P,
    before: &Q
) -> Result<(), Error>

fn get_autofocus(&self) -> bool

fn get_disabled(&self) -> bool

fn get_form(&self) -> Option<DOMHTMLFormElement>

fn get_length(&self) -> c_ulong

fn get_multiple(&self) -> bool

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

fn get_options(&self) -> Option<DOMHTMLOptionsCollection>

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

fn get_selected_index(&self) -> c_long

fn get_size(&self) -> c_long

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

fn get_will_validate(&self) -> bool

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

fn named_item(&self, name: &str) -> Option<DOMNode>

fn remove(&self, index: c_long)

fn set_autofocus(&self, value: bool)

fn set_disabled(&self, value: bool)

fn set_length(&self, value: c_ulong) -> Result<(), Error>

fn set_multiple(&self, value: bool)

fn set_name(&self, value: &str)

fn set_selected_index(&self, value: c_long)

fn set_size(&self, value: c_long)

fn set_value(&self, value: &str)

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

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

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

fn connect_property_form_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_multiple_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId

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

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

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

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

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

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

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

Loading content...

Implementors

impl<O: IsA<DOMHTMLSelectElement>> DOMHTMLSelectElementExt for O[src]

Loading content...