D-Bus: Emit cast to avoid C warning for signal handling in clients
[vala-lang.git] / vapi / packages / gdk-3.0 / gdk-3.0-custom.vala
blobd02ae1430fcc2265380ed30ccd85f42f7c5ca78a
1 /* gdk-2.0-custom.vala
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
19 * Author:
20 * Jürg Billeter <j@bitron.ch>
23 namespace Gdk {
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")]
29 public class Bitmap {
32 public struct Rectangle {
33 public int x;
34 public int y;
35 public int width;
36 public int height;
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_);