neko/internal/desktop/drop/drop.h

30 lines
510 B
C
Raw Normal View History

2021-01-07 06:27:21 +13:00
#pragma once
#include <gtk/gtk.h>
enum {
TARGET_TYPE_TEXT,
TARGET_TYPE_URI
};
static void drag_data_get(
GtkWidget *widget,
GdkDragContext *context,
GtkSelectionData *data,
guint target_type,
guint time,
gpointer user_data
);
static void drag_end(
GtkWidget *widget,
GdkDragContext *context,
gpointer user_data
);
void drag_window(char **uris);
char **uris_make(int size);
2021-01-07 06:54:55 +13:00
void uris_set_file(char **uris, char *file, int n);
2021-01-07 06:27:21 +13:00
void uris_free(char **uris, int size);