Trait gtk4::prelude::EntryBufferExtManual
source · pub trait EntryBufferExtManual: Sealed + IsA<EntryBuffer> + 'static {
// Provided methods
fn delete_text(&self, position: u16, n_chars: Option<u16>) -> u16 { ... }
fn bytes(&self) -> usize { ... }
fn length(&self) -> u16 { ... }
fn max_length(&self) -> Option<u16> { ... }
fn text(&self) -> GString { ... }
fn insert_text(&self, position: u16, chars: impl IntoGStr) -> u16 { ... }
fn set_max_length(&self, max_length: Option<u16>) { ... }
fn set_text(&self, chars: impl IntoGStr) { ... }
}
Expand description
Trait containing manually implemented methods of
EntryBuffer
.
Provided Methods§
fn delete_text(&self, position: u16, n_chars: Option<u16>) -> u16
fn bytes(&self) -> usize
fn length(&self) -> u16
fn max_length(&self) -> Option<u16>
fn text(&self) -> GString
fn insert_text(&self, position: u16, chars: impl IntoGStr) -> u16
fn set_max_length(&self, max_length: Option<u16>)
fn set_text(&self, chars: impl IntoGStr)
Object Safety§
This trait is not object safe.