![]() |
![]() |
![]() |
libfm Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Signals |
FmDndDest; FmDndDestClass; FmDndDest* fm_dnd_dest_new (GtkWidget *w
); void fm_dnd_dest_set_widget (FmDndDest *dd
,GtkWidget *w
); FmList* fm_dnd_dest_get_src_files (FmDndDest *dd
); void fm_dnd_dest_set_dest_file (FmDndDest *dd
,FmFileInfo *dest_file
); FmFileInfo* fm_dnd_dest_get_dest_file (FmDndDest *dd
); FmPath* fm_dnd_dest_get_dest_path (FmDndDest *dd
); #define fm_drag_context_has_target (ctx, target) #define fm_drag_context_has_target_name (ctx, name) gboolean fm_dnd_dest_drag_data_received (FmDndDest *dd
,GdkDragContext *drag_context
,gint x
,gint y
,GtkSelectionData *sel_data
,guint info
,guint time
); gboolean fm_dnd_dest_is_target_supported (FmDndDest *dd
,GdkAtom target
); GdkAtom fm_dnd_dest_find_target (FmDndDest *dd
,GdkDragContext *drag_context
); gboolean fm_dnd_dest_drag_drop (FmDndDest *dd
,GdkDragContext *drag_context
,GdkAtom target
,int x
,int y
,guint time
); GdkDragAction fm_dnd_dest_get_default_action (FmDndDest *dd
,GdkDragContext *drag_context
,GdkTarget target
); void fm_dnd_dest_drag_leave (FmDndDest *dd
,GdkDragContext *drag_context
,guint time
);
typedef struct { GObjectClass parent_class; gboolean (*files_dropped)(FmDndDest* dd, int x, int y, guint action, guint info_type, FmFileInfoList* files); } FmDndDestClass;
void fm_dnd_dest_set_dest_file (FmDndDest *dd
,FmFileInfo *dest_file
);
|
|
|
gboolean fm_dnd_dest_drag_data_received (FmDndDest *dd
,GdkDragContext *drag_context
,gint x
,gint y
,GtkSelectionData *sel_data
,guint info
,guint time
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Returns : |
gboolean fm_dnd_dest_is_target_supported (FmDndDest *dd
,GdkAtom target
);
|
|
|
|
Returns : |
GdkAtom fm_dnd_dest_find_target (FmDndDest *dd
,GdkDragContext *drag_context
);
|
|
|
|
Returns : |
gboolean fm_dnd_dest_drag_drop (FmDndDest *dd
,GdkDragContext *drag_context
,GdkAtom target
,int x
,int y
,guint time
);
|
|
|
|
|
|
|
|
|
|
|
|
Returns : |
GdkDragAction fm_dnd_dest_get_default_action (FmDndDest *dd
,GdkDragContext *drag_context
,GdkTarget target
);
|
|
|
|
|
|
Returns : |
the default action to take for the dragged files. |
void fm_dnd_dest_drag_leave (FmDndDest *dd
,GdkDragContext *drag_context
,guint time
);
|
|
|
|
|
"files-dropped"
signalgboolean user_function (FmDndDest *fmdnddest, gint arg1, gint arg2, guint arg3, guint arg4, gpointer arg5, gpointer user_data) : Run Last
|
the object which received the signal. |
|
|
|
|
|
|
|
|
|
|
|
user data set when the signal handler was connected. |
Returns : |