Defines | |
#define | rox_dnd_register_uris(w, f, u, d) rox_dnd_register_full(w, f, u, NULL, d) |
#define | rox_dnd_register_xds(w, f, x, d) rox_dnd_register_full(w, f, NULL, x, d) |
Typedefs | |
typedef gboolean(* | rox_dnd_handle_uris )(GtkWidget *widget, GSList *uris, gpointer data, gpointer udata) |
typedef gboolean(* | rox_dnd_handle_xds )(GtkWidget *widget, const gchar *path, gpointer data, gpointer udata) |
Functions | |
void | rox_dnd_init (void) |
void | rox_dnd_register_full (GtkWidget *widget, guint flags, rox_dnd_handle_uris, rox_dnd_handle_xds, gpointer udata) |
GSList * | rox_dnd_filter_local (GSList *uris) |
void | rox_dnd_local_free (GSList *paths) |
|
Register a handler for a widget that handles URIs only.
|
|
Register a handler for a widget that handles URIs only.
|
|
Function which responds to drop on a widget by processing a list of URIs.
|
|
Function which responds to drop on a widget by the XDS protocol. The system negotiates a temporary file to store the transfered file.
|
|
Given a list of URIs return only those which are local files. Uses rox_path_get_local().
|
|
Initialize the drag and drop system. Calling this function is optional, the other dnd functions will call this automatically if they detect that initialization has not been performed. |
|
Free a list of local files returned by rox_dnd_filter_local().
|
|
Register callback functions for handling drag and drop on a widget.
|