Package: gtk

GBoxed gtk:target-list

Declaration

(glib:define-gboxed-opaque target-list "GtkTargetList"
  :export t
  :type-initializer "gtk_target_list_get_type"
  :alloc (%target-list-new (cffi:null-pointer) 0))  

Values

target
The string representation of the target type.
flags
The gtk:target-flags flags for DND.
info
The application assigned integer ID which will get passed as a parameter to, for example, the "selection-get" signal. It allows the application to identify the target type without extensive string compares.

Details

The gtk:target-list structure is used to represent a list of target entries. This structure should be treated as opaque. See the gtk:target-list-new function for an example.
 

See also

2025-07-11