Struct gtk::ComboBoxText
[−]
pub struct ComboBoxText(_, _);
Methods
impl ComboBoxText
[src]
fn new() -> ComboBoxText
fn new_with_entry() -> ComboBoxText
fn append<'a, T: Into<Option<&'a str>>>(&self, id: T, text: &str)
fn append_text(&self, text: &str)
fn get_active_text(&self) -> Option<String>
fn insert<'a, T: Into<Option<&'a str>>>(&self, position: i32, id: T, text: &str)
fn insert_text(&self, position: i32, text: &str)
fn prepend<'a, T: Into<Option<&'a str>>>(&self, id: T, text: &str)
fn prepend_text(&self, text: &str)
fn remove(&self, position: i32)
fn remove_all(&self)
Trait Implementations
impl Clone for ComboBoxText
fn clone(&self) -> ComboBoxText
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for ComboBoxText
impl Hash for ComboBoxText
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher
1.3.0
Feeds a slice of this type into the state provided.
impl StaticType for ComboBoxText
fn static_type() -> Type
Returns the type identifier of Self
.
impl<T: IsA<Object>> PartialEq<T> for ComboBoxText
fn eq(&self, other: &T) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.