File: xfixes.vapi

package info (click to toggle)
plank 0.11.89-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 5,660 kB
  • sloc: sh: 4,959; makefile: 1,076; cpp: 404; xml: 33; ansic: 31; python: 22; sed: 16
file content (40 lines) | stat: -rw-r--r-- 1,711 bytes parent folder | download | duplicates (5)
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
29
30
31
32
33
34
35
36
37
38
39
40
/* xfixes.vapi
 *
 * Copyright (C) 2014  Rico Tzschichholz
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301  USA
 *
 * Authors:
 * 	Rico Tzschichholz <ricotz@ubuntu.com>
 */

[CCode (cheader_filename = "X11/extensions/Xfixes.h")]
namespace XFixes {
	[CCode (cname = "XFixesQueryExtension")]
	public static bool query_extension (X.Display display, out int event_base, out int error_base);
	[CCode (cname = "XFixesQueryVersion")]
	public static X.Status query_version (X.Display display, out int major_version, out int minor_version);

	[SimpleType]
	[CCode (cname = "PointerBarrier", has_type_id = false)]
	public struct PointerBarrier : X.ID	{
	}
	[CCode (cname = "XFixesCreatePointerBarrier")]
	public static XFixes.PointerBarrier create_pointer_barrier (X.Display display, X.Window window,
		int x1, int y1, int x2, int y2, int directions, int num_devices, int *devices);
	[CCode (cname = "XFixesDestroyPointerBarrier")]
	public static void destroy_pointer_barrier (X.Display display, XFixes.PointerBarrier barrier);
}