mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-24 18:15:35 +00:00
e83c55a242
* */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
105 lines
2.2 KiB
Plaintext
105 lines
2.2 KiB
Plaintext
//
|
|
// gdk/DragContext.custom
|
|
//
|
|
// Author: Ettore Perazzoli <ettore@ximian.com>
|
|
//
|
|
// Copyright (C) 2003 Novell, Inc.
|
|
|
|
|
|
[DllImport("gdksharpglue")]
|
|
static extern DragProtocol gtksharp_drag_context_get_protocol (IntPtr ptr);
|
|
|
|
public unsafe DragProtocol DragProtocol {
|
|
get {
|
|
return gtksharp_drag_context_get_protocol (this.Handle);
|
|
}
|
|
}
|
|
|
|
|
|
[DllImport("gdksharpglue")]
|
|
static extern bool gtksharp_drag_context_get_is_source (IntPtr ptr);
|
|
|
|
public bool IsSource {
|
|
get {
|
|
return gtksharp_drag_context_get_is_source (this.Handle);
|
|
}
|
|
}
|
|
|
|
|
|
[DllImport("gdksharpglue")]
|
|
static extern IntPtr gtksharp_drag_context_get_source_window (IntPtr ptr);
|
|
|
|
public Gdk.Window SourceWindow {
|
|
get {
|
|
return GLib.Object.GetObject (gtksharp_drag_context_get_source_window (this.Handle), false) as Gdk.Window;
|
|
}
|
|
}
|
|
|
|
|
|
[DllImport("gdksharpglue")]
|
|
static extern IntPtr gtksharp_drag_context_get_dest_window (IntPtr ptr);
|
|
|
|
public Gdk.Window DestWindow {
|
|
get {
|
|
return GLib.Object.GetObject (gtksharp_drag_context_get_dest_window (this.Handle), false) as Gdk.Window;
|
|
}
|
|
}
|
|
|
|
|
|
[DllImport("gdksharpglue")]
|
|
static extern IntPtr gtksharp_drag_context_get_targets (IntPtr ptr);
|
|
|
|
public Atom [] Targets {
|
|
get {
|
|
GLib.List list = new GLib.List (gtksharp_drag_context_get_targets (this.Handle), typeof (Atom));
|
|
|
|
Atom [] entries = new Atom [list.Count];
|
|
|
|
int i = 0;
|
|
foreach (Atom a in list)
|
|
entries [i ++] = a;
|
|
|
|
return entries;
|
|
}
|
|
}
|
|
|
|
|
|
[DllImport("gdksharpglue")]
|
|
static extern DragAction gtksharp_drag_context_get_actions (IntPtr ptr);
|
|
|
|
public DragAction Actions {
|
|
get {
|
|
return gtksharp_drag_context_get_actions (this.Handle);
|
|
}
|
|
}
|
|
|
|
[DllImport("gdksharpglue")]
|
|
static extern DragAction gtksharp_drag_context_get_suggested_action (IntPtr ptr);
|
|
|
|
public DragAction SuggestedAction {
|
|
get {
|
|
return gtksharp_drag_context_get_suggested_action (this.Handle);
|
|
}
|
|
}
|
|
|
|
|
|
[DllImport("gdksharpglue")]
|
|
static extern DragAction gtksharp_drag_context_get_action (IntPtr ptr);
|
|
|
|
public DragAction Action {
|
|
get {
|
|
return gtksharp_drag_context_get_action (this.Handle);
|
|
}
|
|
}
|
|
|
|
|
|
[DllImport("gdksharpglue")]
|
|
static extern uint gtksharp_drag_context_get_start_time (IntPtr ptr);
|
|
|
|
public uint StartTime {
|
|
get {
|
|
return gtksharp_drag_context_get_start_time (this.Handle);
|
|
}
|
|
}
|
|
|