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 REPLACE-C-TYPE: any gpointer
23 IMPLEMENT-STRUCTS: GdkEventAny GdkEventKey GdkEventButton
24 GdkEventScroll GdkEventMotion GdkEventExpose GdkEventVisibility
25 GdkEventCrossing GdkEventFocus GdkEventConfigure GdkEventProperty
26 GdkEventSelection GdkEventDND GdkEventProximity GdkEventClient
27 GdkEventNoExpose GdkEventWindowState GdkEventSetting
28 GdkEventOwnerChange GdkEventGrabBroken GdkRectangle ;
30 GIR: vocab:gdk/Gdk-2.0.gir
32 DESTRUCTOR: gdk_cursor_unref