2010-09-29 05:08:31 -04:00
|
|
|
! Copyright (C) 2010 Anton Gorenko.
|
2010-05-26 14:17:14 -04:00
|
|
|
! See http://factorcode.org/license.txt for BSD license.
|
2010-09-29 05:08:31 -04:00
|
|
|
USING: alien alien.c-types alien.destructors alien.libraries
|
|
|
|
alien.syntax combinators gobject-introspection
|
|
|
|
gobject-introspection.standard-types kernel pango.ffi system
|
|
|
|
vocabs.loader ;
|
2010-05-26 14:17:14 -04:00
|
|
|
IN: gtk.ffi
|
|
|
|
|
2010-09-29 05:08:31 -04:00
|
|
|
<<
|
|
|
|
"atk.ffi" require
|
|
|
|
"gdk.ffi" require
|
|
|
|
>>
|
|
|
|
|
|
|
|
LIBRARY: gtk
|
|
|
|
|
2010-05-26 14:17:14 -04:00
|
|
|
<<
|
|
|
|
"gtk" {
|
|
|
|
{ [ os winnt? ] [ "libgtk-win32-2.0-0.dll" cdecl add-library ] }
|
2011-02-27 17:36:01 -05:00
|
|
|
{ [ os unix? ] [ drop ] }
|
2010-05-26 14:17:14 -04:00
|
|
|
} cond
|
|
|
|
>>
|
|
|
|
|
|
|
|
IMPLEMENT-STRUCTS: GtkTreeIter ;
|
|
|
|
|
2010-09-29 05:08:31 -04:00
|
|
|
GIR: vocab:gtk/Gtk-3.0.gir
|
2010-05-26 14:17:14 -04:00
|
|
|
|
2010-06-16 02:48:46 -04:00
|
|
|
DESTRUCTOR: gtk_widget_destroy
|
|
|
|
|
2010-09-29 05:08:31 -04:00
|
|
|
! <workaround
|
|
|
|
FORGET: gtk_im_context_get_preedit_string
|
|
|
|
FUNCTION: void
|
|
|
|
gtk_im_context_get_preedit_string ( GtkIMContext* imcontext, gchar** str, PangoAttrList** attrs, gint* cursor_pos ) ;
|
|
|
|
! workaround>
|