[]Struct gtk::EntryBuffer

pub struct EntryBuffer(_, _);

Methods

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

impl Eq for EntryBuffer

impl Ord for EntryBuffer

impl<T: ObjectType> PartialEq<T> for EntryBuffer

impl<T: ObjectType> PartialOrd<T> for EntryBuffer

impl Debug for EntryBuffer

impl Hash for EntryBuffer

impl StaticType for EntryBuffer

Auto Trait Implementations

impl !Send for EntryBuffer

impl !Sync for EntryBuffer

impl Unpin for EntryBuffer

impl UnwindSafe for EntryBuffer

impl RefUnwindSafe for EntryBuffer

Blanket Implementations

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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.

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

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

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

impl<'a, T> ToGlibContainerFromSlice<'a, *mut GList> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

impl<'a, T> ToGlibContainerFromSlice<'a, *mut GArray> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

impl<'a, T> ToGlibContainerFromSlice<'a, *const GList> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

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

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

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

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