pub struct IMContextSimpleBuilder { /* private fields */ }Expand description
A builder-pattern type to construct IMContextSimple objects.
Implementations§
Source§impl IMContextSimpleBuilder
impl IMContextSimpleBuilder
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.
Sourcepub fn build(self) -> IMContextSimple
pub fn build(self) -> IMContextSimple
Build the IMContextSimple.
Auto Trait Implementations§
impl Freeze for IMContextSimpleBuilder
impl RefUnwindSafe for IMContextSimpleBuilder
impl !Send for IMContextSimpleBuilder
impl !Sync for IMContextSimpleBuilder
impl Unpin for IMContextSimpleBuilder
impl UnwindSafe for IMContextSimpleBuilder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more