GtkSharp/gdk/glue/selection.c
Mike Kestner e83c55a242 2004-03-12 Mike Kestner <mkestner@ximian.com>
* */Makefile.am : automakify the build
	* */Makefile.in : kill
	* *.custom : remove System.Drawing dependencies
	* *.cs : remove System.Drawing dependencies
	* *-api.xml : mv to *-api.raw
	* glue/* : mv to lib specific gluelibs for glib, gdk, gtk, and glade.
	* gtk/gtk-symbols : alias GtkType to GType
	* sources/gtk-sharp-sources.xml : create .raw files. They are now
	transformed to .xml files by the metadata compilation step.

svn path=/trunk/gtk-sharp/; revision=23967
2004-03-12 21:18:11 +00:00

48 lines
1 KiB
C

/* selection.c : Glue to access GdkAtoms defined in gdkselection.h
*
* Author: Mike Kestner <mkestner@speakeasy.net>
*
* <c> 2003 Mike Kestner
*/
#include <gdk/gdkselection.h>
GdkAtom gtksharp_get_gdk_selection_primary (void);
GdkAtom gtksharp_get_gdk_selection_secondary (void);
GdkAtom gtksharp_get_gdk_selection_clipboard (void);
/* FIXME: These are still left to do
#define GDK_TARGET_BITMAP
#define GDK_TARGET_COLORMAP
#define GDK_TARGET_DRAWABLE
#define GDK_TARGET_PIXMAP
#define GDK_TARGET_STRING
#define GDK_SELECTION_TYPE_ATOM
#define GDK_SELECTION_TYPE_BITMAP
#define GDK_SELECTION_TYPE_COLORMAP
#define GDK_SELECTION_TYPE_DRAWABLE
#define GDK_SELECTION_TYPE_INTEGER
#define GDK_SELECTION_TYPE_PIXMAP
#define GDK_SELECTION_TYPE_WINDOW
#define GDK_SELECTION_TYPE_STRING
*/
GdkAtom
gtksharp_get_gdk_selection_primary ()
{
return GDK_SELECTION_PRIMARY;
}
GdkAtom
gtksharp_get_gdk_selection_secondary ()
{
return GDK_SELECTION_SECONDARY;
}
GdkAtom
gtksharp_get_gdk_selection_clipboard ()
{
return GDK_SELECTION_CLIPBOARD;
}