[][src]Struct gtk::EntryBuffer

pub struct EntryBuffer(_, _);

Implementations

impl EntryBuffer[src]

pub fn new(initial_chars: Option<&str>) -> EntryBuffer[src]

pub fn delete_text(&self, position: u16, n_chars: Option<u16>) -> 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(&self, max_length: Option<u16>)[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

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<'a, T> ToGlibContainerFromSlice<'a, *const GList> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

impl<'a, T> ToGlibContainerFromSlice<'a, *const GPtrArray> 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, *mut GList> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

impl<'a, T> ToGlibContainerFromSlice<'a, *mut GPtrArray> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[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.