Struct gtk::EntryBuffer[][src]

pub struct EntryBuffer(_, _);

Implementations

impl EntryBuffer[src]

pub fn new<'a, I: Into<Option<&'a str>>>(initial_chars: I) -> EntryBuffer[src]

pub fn delete_text<I: Into<Option<u16>>>(
    &self,
    position: u16,
    n_chars: I
) -> u16
[src]

pub fn get_bytes(&self) -> u32[src]

pub fn get_length(&self) -> u16[src]

pub fn get_max_length(&self) -> Option<u16>[src]

pub fn get_text(&self) -> String[src]

pub fn insert_text(&self, position: u16, chars: &str) -> u16[src]

pub fn set_max_length<I: Into<Option<u16>>>(&self, max_length: I)[src]

pub fn set_text(&self, chars: &str)[src]

Trait Implementations

impl Clone for EntryBuffer[src]

impl Debug for EntryBuffer[src]

impl Eq for EntryBuffer[src]

impl Hash for EntryBuffer[src]

impl Ord for EntryBuffer[src]

impl<T: ObjectType> PartialEq<T> for EntryBuffer[src]

impl<T: ObjectType> PartialOrd<T> for EntryBuffer[src]

impl StaticType for EntryBuffer[src]

Auto Trait Implementations

impl RefUnwindSafe for EntryBuffer

impl !Send for EntryBuffer

impl !Sync for EntryBuffer

impl Unpin for EntryBuffer

impl UnwindSafe for EntryBuffer

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<Super, Sub> CanDowncast<Sub> for Super where
    Sub: IsA<Super>,
    Super: IsA<Super>, 
[src]

impl<T> Cast for T where
    T: ObjectType
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ObjectExt for T where
    T: ObjectType
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToValue for T where
    T: SetValue + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.