1//
2// gdk/DragContext.custom
3//
4// Author: Ettore Perazzoli <ettore@ximian.com>
5//
6// Copyright (C) 2003 Novell, Inc.
7//
8// This program is free software; you can redistribute it and/or
9// modify it under the terms of version 2 of the Lesser GNU General
10// Public License as published by the Free Software Foundation.
11//
12// This program is distributed in the hope that it will be useful,
13// but WITHOUT ANY WARRANTY; without even the implied warranty of
14// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
15// Lesser General Public License for more details.
16//
17// You should have received a copy of the GNU Lesser General Public
18// License along with this program; if not, write to the
19// Free Software Foundation, Inc., 59 Temple Place - Suite 330,
20// Boston, MA 02111-1307, USA.
21
22
23[DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)]
24static extern IntPtr gtksharp_drag_context_get_targets (IntPtr ptr);
25
26public Atom [] Targets {
27	get {
28		GLib.List list = new GLib.List (gtksharp_drag_context_get_targets (this.Handle), typeof (Atom));
29		return GLib.Marshaller.ListToArray<Atom> (list);
30	}
31}
32