31 lines
1.2 KiB
C#
31 lines
1.2 KiB
C#
// This file was generated by the Gtk# code generator.
|
|
// Any changes made will be lost if regenerated.
|
|
|
|
namespace Gdk {
|
|
|
|
using System;
|
|
using System.Runtime.InteropServices;
|
|
|
|
#region Autogenerated code
|
|
public partial class Drop {
|
|
|
|
[UnmanagedFunctionPointer (CallingConvention.Cdecl)]
|
|
delegate void d_gdk_drop_finish(IntPtr context, bool success, uint time_);
|
|
static d_gdk_drop_finish gdk_drop_finish = FuncLoader.LoadFunction<d_gdk_drop_finish>(FuncLoader.GetProcAddress(GLibrary.Load(Library.Gdk), "gdk_drop_finish"));
|
|
|
|
public static void Finish(Gdk.DragContext context, bool success, uint time_) {
|
|
gdk_drop_finish(context == null ? IntPtr.Zero : context.Handle, success, time_);
|
|
}
|
|
|
|
[UnmanagedFunctionPointer (CallingConvention.Cdecl)]
|
|
delegate void d_gdk_drop_reply(IntPtr context, bool accepted, uint time_);
|
|
static d_gdk_drop_reply gdk_drop_reply = FuncLoader.LoadFunction<d_gdk_drop_reply>(FuncLoader.GetProcAddress(GLibrary.Load(Library.Gdk), "gdk_drop_reply"));
|
|
|
|
public static void Reply(Gdk.DragContext context, bool accepted, uint time_) {
|
|
gdk_drop_reply(context == null ? IntPtr.Zero : context.Handle, accepted, time_);
|
|
}
|
|
|
|
#endregion
|
|
}
|
|
}
|