GtkSharp/gdk/Selection.custom
Mike Kestner de34331936 2003-07-11 Mike Kestner <mkestner@speakeasy.net>
* gdk/Selection.custom : add static fields for the  primary,
	secondary, and clipboard and clipboard selection Gdk.Atoms.
	* glue/Makefile.am : add selection.c
	* glue/selection.c : add glue to get the atoms.
	* gtk/TextBuffer.custom : add a PasteClipboard overload for
	pasting to the cursor location.

svn path=/trunk/gtk-sharp/; revision=16130
2003-07-12 04:09:00 +00:00

23 lines
750 B
Text

// Gdk.Selection.custom - Gdk Selection class customizations
//
// Author: Mike Kestner <mkestner@speakeasy.net>
//
// (c) 2003 Mike Kestner
//
// This code is inserted after the automatically generated code.
[DllImport("gtksharpglue")]
static extern IntPtr gtksharp_get_gdk_selection_primary ();
public static Gdk.Atom Primary = new Gdk.Atom (gtksharp_get_gdk_selection_primary());
[DllImport("gtksharpglue")]
static extern IntPtr gtksharp_get_gdk_selection_secondary ();
public static Gdk.Atom Secondary = new Gdk.Atom (gtksharp_get_gdk_selection_secondary());
[DllImport("gtksharpglue")]
static extern IntPtr gtksharp_get_gdk_selection_clipboard ();
public static Gdk.Atom Clipboard = new Gdk.Atom (gtksharp_get_gdk_selection_clipboard());