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
|
2016-03-29 02:55:49 -04:00
|
|
|
alien.syntax combinators gobject-introspection
|
|
|
|
gobject-introspection.standard-types kernel pango.ffi system
|
|
|
|
vocabs ;
|
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
|
|
|
|
|
2016-03-29 02:55:49 -04:00
|
|
|
<<
|
|
|
|
"gtk" {
|
|
|
|
{ [ os windows? ] [ "libgtk-win32-2.0-0.dll" cdecl add-library ] }
|
|
|
|
{ [ os linux? ] [ "libgtk-x11-2.0.so" cdecl add-library ] }
|
|
|
|
[ drop ]
|
|
|
|
} cond
|
|
|
|
>>
|
2010-05-26 14:17:14 -04:00
|
|
|
|
|
|
|
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
|
2015-07-19 19:25:30 -04:00
|
|
|
gtk_im_context_get_preedit_string ( GtkIMContext* imcontext, gchar** str, PangoAttrList** attrs, gint* cursor_pos )
|
2010-09-29 05:08:31 -04:00
|
|
|
! workaround>
|