2010-05-26 14:17:14 -04:00
|
|
|
! Copyright (C) 2009 Anton Gorenko.
|
|
|
|
! See http://factorcode.org/license.txt for BSD license.
|
|
|
|
USING: alien alien.c-types alien.destructors alien.syntax
|
|
|
|
alien.libraries cairo.ffi combinators kernel system
|
2010-07-17 07:17:03 -04:00
|
|
|
gobject-introspection gdk.pixbuf.ffi gio.ffi glib.ffi gmodule.ffi
|
|
|
|
gobject.ffi pango.ffi ;
|
2010-05-26 14:17:14 -04:00
|
|
|
IN: gdk.ffi
|
|
|
|
|
|
|
|
<<
|
|
|
|
"gdk" {
|
|
|
|
{ [ os winnt? ] [ "libgdk-win32-2.0-0.dll" cdecl add-library ] }
|
|
|
|
{ [ os macosx? ] [ drop ] }
|
|
|
|
{ [ os unix? ] [ "libgdk-x11-2.0.so" cdecl add-library ] }
|
|
|
|
} cond
|
|
|
|
>>
|
|
|
|
|
|
|
|
TYPEDEF: guint32 GdkNativeWindow
|
|
|
|
TYPEDEF: guint32 GdkWChar
|
2010-05-31 02:42:05 -04:00
|
|
|
C-TYPE: GdkXEvent
|
2010-05-26 14:17:14 -04:00
|
|
|
|
2010-07-25 12:18:32 -04:00
|
|
|
REPLACE-C-TYPE: any gpointer
|
|
|
|
|
2010-05-26 14:17:14 -04:00
|
|
|
IMPLEMENT-STRUCTS: GdkEventAny GdkEventKey GdkEventButton
|
|
|
|
GdkEventScroll GdkEventMotion GdkEventExpose GdkEventVisibility
|
|
|
|
GdkEventCrossing GdkEventFocus GdkEventConfigure GdkEventProperty
|
|
|
|
GdkEventSelection GdkEventDND GdkEventProximity GdkEventClient
|
|
|
|
GdkEventNoExpose GdkEventWindowState GdkEventSetting
|
2010-06-10 16:35:08 -04:00
|
|
|
GdkEventOwnerChange GdkEventGrabBroken GdkRectangle ;
|
2010-05-26 14:17:14 -04:00
|
|
|
|
|
|
|
GIR: vocab:gdk/Gdk-2.0.gir
|
|
|
|
|
|
|
|
DESTRUCTOR: gdk_cursor_unref
|
|
|
|
|