From b3cbfd21544b9ed08e979fd7d194ecee49f42bc8 Mon Sep 17 00:00:00 2001 From: Chris Hubbard Date: Thu, 5 Mar 2015 13:07:35 -0500 Subject: [PATCH] Add NSTextInputContext methods Add KeyboardInputSources Add SelectedKeyboardInputSource --- src/appkit.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/appkit.cs b/src/appkit.cs index 5ee3390c8..89372d1ec 100644 --- a/src/appkit.cs +++ b/src/appkit.cs @@ -12829,6 +12829,12 @@ public partial interface NSTextInputContext { [Static] [Export ("localizedNameForInputSource:")] string LocalizedNameForInputSource (string inputSourceIdentifier); + + [Export ("keyboardInputSources")] + NSArray /* NSString [] */ KeyboardInputSources { get; } + + [Export ("selectedKeyboardInputSource")] + string SelectedKeyboardInputSource { get; set; } } [BaseType (typeof (NSObject))]