3 * Copyright (C) 2008 Jürg Billeter
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2.1 of the License, or (at your option) any later version.
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20 * Jürg Billeter <j@bitron.ch>
24 public const Atom SELECTION_PRIMARY
;
25 public const Atom SELECTION_SECONDARY
;
26 public const Atom SELECTION_CLIPBOARD
;
28 [CCode (ref_function
= "g_object_ref", unref_function
= "g_object_unref")]
32 public struct Rectangle
{
39 [Deprecated (since
= "vala-0.12", replacement
= "Selection.convert")]
40 public static void selection_convert (Gdk
.Window requestor
, Gdk
.Atom selection
, Gdk
.Atom target
, uint32 time_
);
41 [Deprecated (since
= "vala-0.12", replacement
= "Selection.owner_get")]
42 public static unowned Gdk
.Window
selection_owner_get (Gdk
.Atom selection
);
43 [Deprecated (since
= "vala-0.12", replacement
= "Selection.owner_get_for_display")]
44 public static unowned Gdk
.Window
selection_owner_get_for_display (Gdk
.Display display
, Gdk
.Atom selection
);
45 [Deprecated (since
= "vala-0.12", replacement
= "Selection.owner_set")]
46 public static bool selection_owner_set (Gdk
.Window owner
, Gdk
.Atom selection
, uint32 time_
, bool send_event
);
47 [Deprecated (since
= "vala-0.12", replacement
= "Selection.owner_set_for_display")]
48 public static bool selection_owner_set_for_display (Gdk
.Display display
, Gdk
.Window owner
, Gdk
.Atom selection
, uint32 time_
, bool send_event
);
49 [Deprecated (since
= "vala-0.12", replacement
= "Selection.property_get")]
50 public static int selection_property_get (Gdk
.Window requestor
, uchar[] data
, out Gdk
.Atom prop_type
, int prop_format
);
51 [Deprecated (since
= "vala-0.12", replacement
= "Selection.send_notify")]
52 public static void selection_send_notify (Gdk
.NativeWindow requestor
, Gdk
.Atom selection
, Gdk
.Atom target
, Gdk
.Atom property
, uint32 time_
);
53 [Deprecated (since
= "vala-0.12", replacement
= "Selection.send_notify_for_display")]
54 public static void selection_send_notify_for_display (Gdk
.Display display
, Gdk
.NativeWindow requestor
, Gdk
.Atom selection
, Gdk
.Atom target
, Gdk
.Atom property
, uint32 time_
);