Struct gtk4::builders::IMMulticontextBuilder
source · pub struct IMMulticontextBuilder { /* private fields */ }
Expand description
A builder-pattern type to construct IMMulticontext
objects.
Implementations§
source§impl IMMulticontextBuilder
impl IMMulticontextBuilder
sourcepub fn new() -> Self
pub fn new() -> Self
Create a new IMMulticontextBuilder
.
sourcepub fn build(self) -> IMMulticontext
pub fn build(self) -> IMMulticontext
Build the IMMulticontext
.
sourcepub fn input_hints(self, input_hints: InputHints) -> Self
pub fn input_hints(self, input_hints: InputHints) -> Self
Additional hints that allow input methods to fine-tune their behaviour.
sourcepub fn input_purpose(self, input_purpose: InputPurpose) -> Self
pub fn input_purpose(self, input_purpose: InputPurpose) -> Self
The purpose of the text field that the `GtkIMContext is connected to.
This property can be used by on-screen keyboards and other input methods to adjust their behaviour.
Trait Implementations§
source§impl Clone for IMMulticontextBuilder
impl Clone for IMMulticontextBuilder
source§fn clone(&self) -> IMMulticontextBuilder
fn clone(&self) -> IMMulticontextBuilder
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 IMMulticontextBuilder
impl Default for IMMulticontextBuilder
source§fn default() -> IMMulticontextBuilder
fn default() -> IMMulticontextBuilder
Returns the “default value” for a type. Read more