neko/internal/desktop/gtk/gtk.h
2021-01-07 18:27:50 +01:00

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);