gtk4::prelude

Trait EntryBufferExtManual

Source
pub trait EntryBufferExtManual: 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§

Source

fn delete_text(&self, position: u16, n_chars: Option<u16>) -> u16

Source

fn bytes(&self) -> usize

Source

fn length(&self) -> u16

Source

fn max_length(&self) -> Option<u16>

Source

fn text(&self) -> GString

Source

fn insert_text(&self, position: u16, chars: impl IntoGStr) -> u16

Source

fn set_max_length(&self, max_length: Option<u16>)

Source

fn set_text(&self, chars: impl IntoGStr)

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§