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
GtkIMContextInfo
instance.Declaration
Swift
var ptr: UnsafeMutableRawPointer! { get }
-
_ptr
Default implementationTyped pointer to the underlying
GtkIMContextInfo
instance.Default Implementation
Return the stored, untyped pointer as a typed pointer to the
GtkIMContextInfo
instance.Declaration
Swift
var _ptr: UnsafeMutablePointer<GtkIMContextInfo>! { get }
-
Required Initialiser for types conforming to
IMContextInfoProtocol
Declaration
Swift
init(raw: UnsafeMutableRawPointer)
-
contextID
Extension methodThe unique identification string of the input method.
Declaration
Swift
@inlinable var contextID: UnsafePointer<gchar>! { get set }
-
contextName
Extension methodThe human-readable name of the input method.
Declaration
Swift
@inlinable var contextName: UnsafePointer<gchar>! { get set }
-
domain
Extension methodTranslation domain to be used with
dgettext()
Declaration
Swift
@inlinable var domain: UnsafePointer<gchar>! { get set }
-
domainDirname
Extension methodName of locale directory for use with
bindtextdomain()
Declaration
Swift
@inlinable var domainDirname: UnsafePointer<gchar>! { get set }
-
defaultLocales
Extension 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 }