pub unsafe trait NSObjectIMKServerInput: ClassType {
// Provided methods
unsafe fn inputText_key_modifiers_client(
&self,
string: Option<&NSString>,
key_code: NSInteger,
flags: NSUInteger,
sender: Option<&AnyObject>
) -> bool
where Self: Sized + Message { ... }
unsafe fn inputText_client(
&self,
string: Option<&NSString>,
sender: Option<&AnyObject>
) -> bool
where Self: Sized + Message { ... }
unsafe fn handleEvent_client(
&self,
event: Option<&NSEvent>,
sender: Option<&AnyObject>
) -> bool
where Self: Sized + Message { ... }
unsafe fn didCommandBySelector_client(
&self,
a_selector: Option<Sel>,
sender: Option<&AnyObject>
) -> bool
where Self: Sized + Message { ... }
unsafe fn composedString(
&self,
sender: Option<&AnyObject>
) -> Option<Retained<AnyObject>>
where Self: Sized + Message { ... }
unsafe fn originalString(
&self,
sender: Option<&AnyObject>
) -> Option<Retained<NSAttributedString>>
where Self: Sized + Message { ... }
unsafe fn commitComposition(&self, sender: Option<&AnyObject>)
where Self: Sized + Message { ... }
unsafe fn candidates(
&self,
sender: Option<&AnyObject>
) -> Option<Retained<NSArray>>
where Self: Sized + Message { ... }
}
Available on crate feature
IMKInputController
only.Expand description
Category “IMKServerInput” on NSObject
.
Provided Methods§
unsafe fn inputText_key_modifiers_client( &self, string: Option<&NSString>, key_code: NSInteger, flags: NSUInteger, sender: Option<&AnyObject> ) -> bool
unsafe fn inputText_client( &self, string: Option<&NSString>, sender: Option<&AnyObject> ) -> bool
unsafe fn handleEvent_client( &self, event: Option<&NSEvent>, sender: Option<&AnyObject> ) -> bool
Available on crate feature
objc2-app-kit
only.unsafe fn didCommandBySelector_client( &self, a_selector: Option<Sel>, sender: Option<&AnyObject> ) -> bool
unsafe fn composedString( &self, sender: Option<&AnyObject> ) -> Option<Retained<AnyObject>>
unsafe fn originalString( &self, sender: Option<&AnyObject> ) -> Option<Retained<NSAttributedString>>
unsafe fn commitComposition(&self, sender: Option<&AnyObject>)
unsafe fn candidates( &self, sender: Option<&AnyObject> ) -> Option<Retained<NSArray>>
Object Safety§
This trait is not object safe.