IMContextInfoProtocol
public protocol IMContextInfoProtocol
Bookkeeping information about a loadable input method.
The IMContextInfoProtocol protocol exposes the methods and properties of an underlying GtkIMContextInfo instance.
The default implementation of these can be found in the protocol extension below.
For a concrete class that implements these methods and properties, see IMContextInfo.
Alternatively, use IMContextInfoRef as a lighweight, unowned reference if you already have an instance you just want to use.
-
Untyped pointer to the underlying
GtkIMContextInfoinstance.Declaration
Swift
var ptr: UnsafeMutableRawPointer! { get } -
_ptrDefault implementationTyped pointer to the underlying
GtkIMContextInfoinstance.Default Implementation
Return the stored, untyped pointer as a typed pointer to the
GtkIMContextInfoinstance.Declaration
Swift
var _ptr: UnsafeMutablePointer<GtkIMContextInfo>! { get } -
Required Initialiser for types conforming to
IMContextInfoProtocolDeclaration
Swift
init(raw: UnsafeMutableRawPointer)
-
contextIDExtension methodThe unique identification string of the input method.
Declaration
Swift
@inlinable var contextID: UnsafePointer<gchar>! { get set } -
contextNameExtension methodThe human-readable name of the input method.
Declaration
Swift
@inlinable var contextName: UnsafePointer<gchar>! { get set } -
domainExtension methodTranslation domain to be used with
dgettext()Declaration
Swift
@inlinable var domain: UnsafePointer<gchar>! { get set } -
domainDirnameExtension methodName of locale directory for use with
bindtextdomain()Declaration
Swift
@inlinable var domainDirname: UnsafePointer<gchar>! { get set } -
defaultLocalesExtension methodA colon-separated list of locales where this input method should be the default. The asterisk “*” sets the default for all locales.
Declaration
Swift
@inlinable var defaultLocales: UnsafePointer<gchar>! { get set }
View on GitHub
Install in Dash
IMContextInfoProtocol Protocol Reference