Trait gtk4::prelude::EntryBufferExtManual
source · [−]pub trait EntryBufferExtManual: 'static {
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) -> 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);
}
Expand description
Trait containing manually implemented methods of EntryBuffer
.
Required Methods
source
fn max_length(&self) -> Option<u16>
source
fn insert_text(&self, position: u16, chars: &str) -> u16
source