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 gobject-introspection gdk.pixbuf.ffi gio.ffi glib.ffi gmodule.ffi
6 gobject.ffi pango.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
21 IMPLEMENT-STRUCTS: GdkEventAny GdkEventKey GdkEventButton
22 GdkEventScroll GdkEventMotion GdkEventExpose GdkEventVisibility
23 GdkEventCrossing GdkEventFocus GdkEventConfigure GdkEventProperty
24 GdkEventSelection GdkEventDND GdkEventProximity GdkEventClient
25 GdkEventNoExpose GdkEventWindowState GdkEventSetting
26 GdkEventOwnerChange GdkEventGrabBroken GdkRectangle ;
28 GIR: vocab:gdk/Gdk-2.0.gir
30 DESTRUCTOR: gdk_cursor_unref