AtomProtocol
public protocol AtomProtocol
The AtomProtocol protocol exposes the methods and properties of an underlying GdkAtom 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 Atom.
Alternatively, use AtomRef as a lighweight, unowned reference if you already have an instance you just want to use.
An opaque type representing a string as an index into a table of strings on the X server.
-
Untyped pointer to the underlying
GdkAtominstance.Declaration
Swift
var ptr: UnsafeMutableRawPointer! { get } -
_ptrDefault implementationTyped pointer to the underlying
GdkAtominstance.Default Implementation
Return the stored, untyped pointer as a typed pointer to the
GdkAtominstance.Declaration
Swift
var _ptr: GdkAtom! { get } -
Required Initialiser for types conforming to
AtomProtocolDeclaration
Swift
init(raw: UnsafeMutableRawPointer)
-
name()Extension methodDetermines the string corresponding to an atom.
Declaration
Swift
@inlinable func name() -> String! -
selectionPropertyGet(requestor:Extension methoddata: property: propertyFormat: ) Retrieves selection data that was stored by the selection data in response to a call to
gdk_selection_convert(). This function will not be used by applications, who should use theGtkClipboardAPI instead.Declaration
Swift
@inlinable func selectionPropertyGet<WindowT>(requestor: WindowT, data: UnsafeMutablePointer<UnsafeMutablePointer<guchar>?>!, property _ptr: UnsafeMutablePointer<GdkAtom?>, propertyFormat: UnsafeMutablePointer<gint>!) -> Int where WindowT : WindowProtocol
View on GitHub
Install in Dash
AtomProtocol Protocol Reference