![]() |
![]() |
![]() |
Libfm Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Signals |
struct FmDndSrc; struct FmDndSrcClass; enum FmDndSrcTarget; #define fm_dnd_src_add_targets (widget, targets, n) FmDndSrc * fm_dnd_src_new (GtkWidget *w
); void fm_dnd_src_set_file (FmDndSrc *ds
,FmFileInfo *file
); void fm_dnd_src_set_files (FmDndSrc *ds
,FmFileInfoList *files
); void fm_dnd_src_set_widget (FmDndSrc *ds
,GtkWidget *w
);
include
: libfm/fm-gtk.h
The FmDndSrc can be used by some widget to provide support for drag operations on FmFileInfo objects that are represented in that widget.
To use FmDndSrc the widget should create it with fm_dnd_src_new()
and
connect to the "data-get" signal of the created FmDndSrc
object.