Struct gtk4::builders::EntryBufferBuilder
source · pub struct EntryBufferBuilder { /* private fields */ }
Expand description
A builder-pattern type to construct EntryBuffer
objects.
Implementations§
source§impl EntryBufferBuilder
impl EntryBufferBuilder
sourcepub fn new() -> Self
pub fn new() -> Self
Create a new EntryBufferBuilder
.
sourcepub fn build(self) -> EntryBuffer
pub fn build(self) -> EntryBuffer
Build the EntryBuffer
.
sourcepub fn max_length(self, max_length: i32) -> Self
pub fn max_length(self, max_length: i32) -> Self
The maximum length (in characters) of the text in the buffer.
Trait Implementations§
source§impl Clone for EntryBufferBuilder
impl Clone for EntryBufferBuilder
source§fn clone(&self) -> EntryBufferBuilder
fn clone(&self) -> EntryBufferBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for EntryBufferBuilder
impl Default for EntryBufferBuilder
source§fn default() -> EntryBufferBuilder
fn default() -> EntryBufferBuilder
Returns the “default value” for a type. Read more