pub(crate) struct Ime {
xconn: Arc<XConnection>,
inner: Box<ImeInner>,
}
Fields§
§xconn: Arc<XConnection>
§inner: Box<ImeInner>
Implementations§
source§impl Ime
impl Ime
pub fn new( xconn: Arc<XConnection>, event_sender: Sender<(Window, ImeEvent)> ) -> Result<Self, ImeCreationError>
pub fn is_destroyed(&self) -> bool
pub fn create_context( &mut self, window: Window, with_preedit: bool ) -> Result<bool, ImeContextCreationError>
pub fn get_context(&self, window: Window) -> Option<XIC>
pub fn remove_context(&mut self, window: Window) -> Result<bool, XError>
pub fn focus(&mut self, window: Window) -> Result<bool, XError>
pub fn unfocus(&mut self, window: Window) -> Result<bool, XError>
pub fn send_xim_spot(&mut self, window: Window, x: i16, y: i16)
pub fn set_ime_allowed(&mut self, window: Window, allowed: bool)
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Ime
impl !Send for Ime
impl !Sync for Ime
impl Unpin for Ime
impl UnwindSafe for Ime
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