File: Gdk_Drop.cs

package info (click to toggle)
gnome-subtitles 1.8-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid
  • size: 103,144 kB
  • sloc: xml: 406,395; cs: 364,495; ansic: 3,104; perl: 1,477; sh: 769; python: 545; javascript: 500; makefile: 49
file content (28 lines) | stat: -rw-r--r-- 900 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// 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 {

		[DllImport("gdk-3-0.dll", CallingConvention = CallingConvention.Cdecl)]
		static extern void gdk_drop_finish(IntPtr context, bool success, uint time_);

		public static void Finish(Gdk.DragContext context, bool success, uint time_) {
			gdk_drop_finish(context == null ? IntPtr.Zero : context.Handle, success, time_);
		}

		[DllImport("gdk-3-0.dll", CallingConvention = CallingConvention.Cdecl)]
		static extern void gdk_drop_reply(IntPtr context, bool accepted, uint time_);

		public static void Reply(Gdk.DragContext context, bool accepted, uint time_) {
			gdk_drop_reply(context == null ? IntPtr.Zero : context.Handle, accepted, time_);
		}

#endregion
	}
}