pub trait DOMHTMLSelectElementExt: 'static {
Show 37 methods
fn add(
&self,
element: &impl IsA<DOMHTMLElement>,
before: &impl IsA<DOMHTMLElement>
) -> Result<(), Error>;
fn is_autofocus(&self) -> bool;
fn is_disabled(&self) -> bool;
fn form(&self) -> Option<DOMHTMLFormElement>;
fn length(&self) -> c_ulong;
fn is_multiple(&self) -> bool;
fn name(&self) -> Option<GString>;
fn options(&self) -> Option<DOMHTMLOptionsCollection>;
fn select_type(&self) -> Option<GString>;
fn selected_index(&self) -> c_long;
fn size(&self) -> c_long;
fn value(&self) -> Option<GString>;
fn is_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 type_(&self) -> Option<GString>;
fn connect_autofocus_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_disabled_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_form_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_length_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_multiple_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_name_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_options_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_selected_index_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_size_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_type_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_value_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_will_validate_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
}
Expand description
Use JavaScriptCore API instead
A gboolean
Use JavaScriptCore API instead
A gboolean
Use JavaScriptCore API instead
A gulong
Use JavaScriptCore API instead
A gboolean
Use JavaScriptCore API instead
A gchar
Use JavaScriptCore API instead
A gchar
Use JavaScriptCore API instead
A glong
Use JavaScriptCore API instead
A glong
Use JavaScriptCore API instead
A gchar
Use JavaScriptCore API instead
A gboolean
Use JavaScriptCore API instead
A gulong
A DOMNode
Use JavaScriptCore API instead
A gchar
A DOMNode
Use JavaScriptCore API instead
A glong
Use JavaScriptCore API instead
A gboolean
Use JavaScriptCore API instead
A gboolean
Use JavaScriptCore API instead
A gulong
Use JavaScriptCore API instead
A gboolean
Use JavaScriptCore API instead
A gchar
Use JavaScriptCore API instead
A glong
Use JavaScriptCore API instead
A glong
Use JavaScriptCore API instead
A gchar