Package: gdk

Type gdk:atom-as-string

Details

The gdk:atom-as-string type represents the C GAtom type which represents a string as an index into a table of strings on the X server. They are used to transfer strings efficiently between clients without having to transfer the entire string.

Lisp implementation

In the Lisp implementation, a C GAtom is automatically converted to a Lisp string and vice versa. No other functions are implemented for this type.

Examples

(cffi:convert-to-foreign "gboolean" 'gdk:atom-as-string)
=> #.(SB-SYS:INT-SAP #X00000081)
(cffi:convert-from-foreign * 'gdk:atom-as-string)
=> "gboolean"    
2024-3-23