Struct gtk4::builders::IMContextSimpleBuilder
source · pub struct IMContextSimpleBuilder { /* private fields */ }
Expand description
A builder-pattern type to construct IMContextSimple
objects.
Implementations§
source§impl IMContextSimpleBuilder
impl IMContextSimpleBuilder
sourcepub fn new() -> Self
pub fn new() -> Self
Create a new IMContextSimpleBuilder
.
sourcepub fn build(self) -> IMContextSimple
pub fn build(self) -> IMContextSimple
Build the IMContextSimple
.
pub fn input_hints(self, input_hints: InputHints) -> Self
pub fn input_purpose(self, input_purpose: InputPurpose) -> Self
Trait Implementations§
source§impl Clone for IMContextSimpleBuilder
impl Clone for IMContextSimpleBuilder
source§fn clone(&self) -> IMContextSimpleBuilder
fn clone(&self) -> IMContextSimpleBuilder
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 IMContextSimpleBuilder
impl Default for IMContextSimpleBuilder
source§fn default() -> IMContextSimpleBuilder
fn default() -> IMContextSimpleBuilder
Returns the “default value” for a type. Read more