Package: gdk

Interface gdk:drag-surface

Superclasses

gobject:object, common-lisp:standard-object, common-lisp:t

Documented Subclasses

None

Direct Slots

None

Details

The gdk:drag-surface interface is an interface for surfaces used during DND.

Signal Details

The "compute-size" signal
lambda (surface size)    :run-last      
surface
The gdk:drag-surface object.
size
The gdk:drag-surface-size instance with the size of the drag surface.
Emitted when the size for the surface needs to be computed, when it is present. This signal will normally be emitted during the native surface layout cycle when the surface size needs to be recomputed. It is the responsibility of the drag surface user to handle this signal and compute the desired size of the surface, storing the computed size in the gdk:drag-surface-size instance that is passed to the signal handler, using the gdk:drag-surface-size-set-size function. Failing to set a size so will result in an arbitrary size being used as a result. Since 4.12
 

Inherited Slot Access Functions

See also

2024-11-7