mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
30 lines
492 B
C
30 lines
492 B
C
#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);
|
|
void uris_set_file(char **uris, char *file, int n);
|
|
void uris_free(char **uris, int size);
|