Package: gtk

GBoxed gtk:selection-data

Declaration

(glib:define-gboxed-opaque selection-data "GtkSelectionData"
  :export t
  :type-initializer "gtk_selection_data_get_type"
  :alloc (error "GtkSelectionData cannot be created from the Lisp side."))  

Values

selection
The string for the selection.
target
The string for the target of the selection.
type
The string for the data type of the selection.
format
The integer for the format of the selection.
data
The foreign pointer to the raw data of the selection.
length
The integer for the length of the data.
display
The gdk:display object for the display of the selection.

Details

The gtk:selection-data structure is used to store a chunk of data along with the data type and other associated information. The fields of the gtk:selection-data structure are private and can only be retrieved with the corresponding accessor functions.
 

See also

2025-07-15