Package: gtk

Function gtk:drag-icon-create-widget-for-value

Lambda List

gtk:drag-icon-create-widget-for-value (value)

Arguments

gvalue -- a g:value instance

Return Value

The new gtk:widget object for displaying gvalue as a drag icon.

Details

Creates a widget that can be used as a drag icon for the given gvalue. Supported types include strings, gdk:rgba instances and gtk:text-buffer objects. If GTK does not know how to create a widget for a given value, it will return nil.

This method is used to set the default drag icon on drag and drop operations started by the gtk:drag-source object, so you do not need to set a drag icon using this function there.

 

See also

#2023-7-31