pub trait DOMHTMLOptionElementExt: 'static {
Show 21 methods
fn is_default_selected(&self) -> bool;
fn is_disabled(&self) -> bool;
fn form(&self) -> Option<DOMHTMLFormElement>;
fn index(&self) -> c_long;
fn label(&self) -> Option<GString>;
fn is_selected(&self) -> bool;
fn text(&self) -> Option<GString>;
fn value(&self) -> Option<GString>;
fn set_default_selected(&self, value: bool);
fn set_disabled(&self, value: bool);
fn set_label(&self, value: &str);
fn set_selected(&self, value: bool);
fn set_value(&self, value: &str);
fn connect_default_selected_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_index_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_label_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_selected_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_text_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_value_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 glong
Use JavaScriptCore API instead
A gchar
Use JavaScriptCore API instead
A gboolean
Use JavaScriptCore API instead
A gchar
Use JavaScriptCore API instead
A gchar
Use JavaScriptCore API instead
A gboolean
Use JavaScriptCore API instead
A gboolean
Use JavaScriptCore API instead
A gchar
Use JavaScriptCore API instead
A gboolean
Use JavaScriptCore API instead
A gchar