Struct gtk::EntryBuffer
[−]
pub struct EntryBuffer(_, _);
Methods
impl EntryBuffer
[src]
fn new(initial_chars: Option<&str>) -> EntryBuffer
fn delete_text(&self, position: u16, n_chars: Option<u16>) -> u16
fn get_bytes(&self) -> u32
fn get_length(&self) -> u16
fn get_max_length(&self) -> Option<u16>
fn get_text(&self) -> String
fn insert_text(&self, position: u16, chars: &str) -> u16
fn set_max_length(&self, max_length: Option<u16>)
fn set_text(&self, chars: &str)
Trait Implementations
impl Clone for EntryBuffer
fn clone(&self) -> EntryBuffer
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 EntryBuffer
impl Hash for EntryBuffer
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl StaticType for EntryBuffer
fn static_type() -> Type
Returns the type identifier of Self
.
impl<T: IsA<Object>> PartialEq<T> for EntryBuffer
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 !=
.