mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-25 13:25:37 +00:00
de34331936
* 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
24 lines
750 B
Plaintext
24 lines
750 B
Plaintext
// 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());
|
|
|