1 ! Copyright (C) 2009 Anton Gorenko.
2 ! See http://factorcode.org/license.txt for BSD license.
3 USING: alien alien.c-types alien.destructors alien.syntax
4 alien.libraries cairo.ffi combinators kernel system
5 gir gdk.pixbuf.ffi gio.ffi glib.ffi gmodule.ffi gobject.ffi
11 { [ os winnt? ] [ "libgdk-win32-2.0-0.dll" cdecl add-library ] }
12 { [ os macosx? ] [ drop ] }
13 { [ os unix? ] [ "libgdk-x11-2.0.so" cdecl add-library ] }
17 TYPEDEF: guint32 GdkNativeWindow
18 TYPEDEF: guint32 GdkWChar
20 IMPLEMENT-STRUCTS: GdkEventAny GdkEventKey GdkEventButton
21 GdkEventScroll GdkEventMotion GdkEventExpose GdkEventVisibility
22 GdkEventCrossing GdkEventFocus GdkEventConfigure GdkEventProperty
23 GdkEventSelection GdkEventDND GdkEventProximity GdkEventClient
24 GdkEventNoExpose GdkEventWindowState GdkEventSetting
25 GdkEventOwnerChange GdkEventGrabBroken ;
27 GIR: vocab:gdk/Gdk-2.0.gir
29 DESTRUCTOR: gdk_cursor_unref