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.

  • ptr

    Untyped pointer to the underlying GtkIMContextInfo instance.

    Declaration

    Swift

    var ptr: UnsafeMutableRawPointer! { get }
  • _ptr Default implementation

    Typed 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)

IMContextInfo Record: IMContextInfoProtocol extension (methods and fields)

  • contextID Extension method

    The unique identification string of the input method.

    Declaration

    Swift

    @inlinable
    var contextID: UnsafePointer<gchar>! { get set }
  • contextName Extension method

    The human-readable name of the input method.

    Declaration

    Swift

    @inlinable
    var contextName: UnsafePointer<gchar>! { get set }
  • domain Extension method

    Translation domain to be used with dgettext()

    Declaration

    Swift

    @inlinable
    var domain: UnsafePointer<gchar>! { get set }
  • domainDirname Extension method

    Name of locale directory for use with bindtextdomain()

    Declaration

    Swift

    @inlinable
    var domainDirname: UnsafePointer<gchar>! { get set }
  • defaultLocales Extension method

    A 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 }