text: /* -*- buffer-read-only: t -*- vi: set ro: */
  /* ----------------------------------------------------------------------------
   * This file was automatically generated by SWIG (http://www.swig.org).
   * Version 1.3.33
   * 
   * This file is not intended to be easily readable and contains a number of 
   * coding conventions designed to improve portability and efficiency. Do not make
   * changes to this file unless you know what you are doing--modify the SWIG 
   * interface file instead. 
   * ----------------------------------------------------------------------------- */
  
  /* -----------------------------------------------------------------------------
   *  This section contains generic SWIG labels for method/variable
   *  declarations/attributes, and other compiler dependent labels.
   * ----------------------------------------------------------------------------- */
  
  /* template workaround for compilers that cannot correctly implement the C++ standard */
  #ifndef SWIGTEMPLATEDISAMBIGUATOR
  # if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
  #  define SWIGTEMPLATEDISAMBIGUATOR template
  # elif defined(__HP_aCC)
  /* Needed even with `aCC -AA' when `aCC -V' reports HP ANSI C++ B3910B A.03.55 */
  /* If we find a maximum version that requires this, the test would be __HP_aCC <= 35500 for A.03.55 */
  #  define SWIGTEMPLATEDISAMBIGUATOR template
  # else
  #  define SWIGTEMPLATEDISAMBIGUATOR
  # endif
  #endif
  
  /* inline attribute */
  #ifndef SWIGINLINE
  # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
  #   define SWIGINLINE inline
  # else
  #   define SWIGINLINE
  # endif
  #endif
  
  /* attribute recognised by some compilers to avoid 'unused' warnings */
  #ifndef SWIGUNUSED
  # if defined(__GNUC__)
  #   if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
  #     define SWIGUNUSED __attribute__ ((__unused__)) 
  #   else
  #     define SWIGUNUSED
  #   endif
  # elif defined(__ICC)
  #   define SWIGUNUSED __attribute__ ((__unused__)) 
  # else
  #   define SWIGUNUSED 
  # endif
  #endif
  
  #ifndef SWIGUNUSEDPARM
  # ifdef __cplusplus
  #   define SWIGUNUSEDPARM(p)
  # else
  #   define SWIGUNUSEDPARM(p) p SWIGUNUSED 
  # endif
  #endif
  
  /* internal SWIG method */
  #ifndef SWIGINTERN
  # define SWIGINTERN static SWIGUNUSED
  #endif
  
  /* internal inline SWIG method */
  #ifndef SWIGINTERNINLINE
  # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
  #endif
  
  /* exporting methods */
  #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
  #  ifndef GCC_HASCLASSVISIBILITY
  #    define GCC_HASCLASSVISIBILITY
  #  endif
  #endif
  
  #ifndef SWIGEXPORT
  # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
  #   if defined(STATIC_LINKED)
  #     define SWIGEXPORT
  #   else
  #     define SWIGEXPORT __declspec(dllexport)
  #   endif
  # else
  #   if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
  #     define SWIGEXPORT __attribute__ ((visibility("default")))
  #   else
  #     define SWIGEXPORT
  #   endif
  # endif
  #endif
  
  /* calling conventions for Windows */
  #ifndef SWIGSTDCALL
  # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
  #   define SWIGSTDCALL __stdcall
  # else
  #   define SWIGSTDCALL
  # endif 
  #endif
  
  /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
  #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE)
  # define _CRT_SECURE_NO_DEPRECATE
  #endif
  
  /* Deal with Microsoft's attempt at deprecating methods in the standard C++ library */
  #if !defined(SWIG_NO_SCL_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_SCL_SECURE_NO_DEPRECATE)
  # define _SCL_SECURE_NO_DEPRECATE
  #endif
  
  
  /* -----------------------------------------------------------------------------
   * See the LICENSE file for information on copyright, usage and redistribution
   * of SWIG, and the README file for authors - http://www.swig.org/release.html.
   *
   * syxrun.swg
   * ----------------------------------------------------------------------------- */
  
  #include <syx/syx.h>
  
  #define _SWIG_APPEND_RESULT(oop) SYX_OBJECT_DATA(result_oop)[num_values++] = (oop)
  #define _SWIG_SET_RESULT(oop) result_oop = (oop)
  #define SWIG_APPEND_VALUE _SWIG_SET_RESULT
  
  #define SWIG_FIRST_SELF(arg,ltype,oop)		\
    if (SYX_IS_NIL (oop))				\
      arg = NULL;					\
    else						\
      arg = (ltype) SYX_OBJECT_VARS(oop)[0];
  
  
  #include <glib.h>
  
  
  typedef union {
      char   pad[40];
      double dummy_double;
      void  *dummy_pointer;
      long   dummy_long;
    } _GStaticMutex_static_mutex;
  
  
  
  typedef struct {
      guint mantissa : 23;
      guint biased_exponent : 8;
      guint sign : 1;
    } _GFloatIEEE754_mpn;
  
  
  
  typedef struct {
      guint mantissa_low : 32;
      guint mantissa_high : 20;
      guint biased_exponent : 11;
      guint sign : 1;
    } _GDoubleIEEE754_mpn;
  
  
  
  #include <glib-object.h>
  #include "syx-gobject.h"
  
  
  #include <gdk/gdk.h>
  
  
  typedef union {
      char b[20];
      short s[10];
      long l[5];
    } _GdkEventClient_data;
  
  
  
  #include <gtk/gtk.h>
  
  /* Module: Gtk Function: new__GStaticMutex */
  SYX_FUNC_PRIMITIVE(Gtk_new__GStaticMutex)
  {
    struct _GStaticMutex *result = 0 ;
    SyxOop result_oop;
    
    result = (struct _GStaticMutex *)(struct _GStaticMutex *) calloc(1, sizeof(struct _GStaticMutex));
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: delete__GStaticMutex */
  SYX_FUNC_PRIMITIVE(Gtk_delete__GStaticMutex)
  {
    struct _GStaticMutex *arg1 = (struct _GStaticMutex *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, struct _GStaticMutex *, es->message_receiver)
    free((char *) arg1);
    
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: new__GStaticMutex_static_mutex */
  SYX_FUNC_PRIMITIVE(Gtk_new__GStaticMutex_static_mutex)
  {
    _GStaticMutex_static_mutex *result = 0 ;
    SyxOop result_oop;
    
    result = (_GStaticMutex_static_mutex *)(_GStaticMutex_static_mutex *) calloc(1, sizeof(_GStaticMutex_static_mutex));
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: delete__GStaticMutex_static_mutex */
  SYX_FUNC_PRIMITIVE(Gtk_delete__GStaticMutex_static_mutex)
  {
    _GStaticMutex_static_mutex *arg1 = (_GStaticMutex_static_mutex *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, _GStaticMutex_static_mutex *, es->message_receiver)
    free((char *) arg1);
    
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: new__GSystemThread */
  SYX_FUNC_PRIMITIVE(Gtk_new__GSystemThread)
  {
    union _GSystemThread *result = 0 ;
    SyxOop result_oop;
    
    result = (union _GSystemThread *)(union _GSystemThread *) calloc(1, sizeof(union _GSystemThread));
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: delete__GSystemThread */
  SYX_FUNC_PRIMITIVE(Gtk_delete__GSystemThread)
  {
    union _GSystemThread *arg1 = (union _GSystemThread *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, union _GSystemThread *, es->message_receiver)
    free((char *) arg1);
    
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: new__GFloatIEEE754 */
  SYX_FUNC_PRIMITIVE(Gtk_new__GFloatIEEE754)
  {
    union _GFloatIEEE754 *result = 0 ;
    SyxOop result_oop;
    
    result = (union _GFloatIEEE754 *)(union _GFloatIEEE754 *) calloc(1, sizeof(union _GFloatIEEE754));
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: delete__GFloatIEEE754 */
  SYX_FUNC_PRIMITIVE(Gtk_delete__GFloatIEEE754)
  {
    union _GFloatIEEE754 *arg1 = (union _GFloatIEEE754 *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, union _GFloatIEEE754 *, es->message_receiver)
    free((char *) arg1);
    
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: new__GFloatIEEE754_mpn */
  SYX_FUNC_PRIMITIVE(Gtk_new__GFloatIEEE754_mpn)
  {
    _GFloatIEEE754_mpn *result = 0 ;
    SyxOop result_oop;
    
    result = (_GFloatIEEE754_mpn *)(_GFloatIEEE754_mpn *) calloc(1, sizeof(_GFloatIEEE754_mpn));
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: delete__GFloatIEEE754_mpn */
  SYX_FUNC_PRIMITIVE(Gtk_delete__GFloatIEEE754_mpn)
  {
    _GFloatIEEE754_mpn *arg1 = (_GFloatIEEE754_mpn *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, _GFloatIEEE754_mpn *, es->message_receiver)
    free((char *) arg1);
    
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: new__GDoubleIEEE754 */
  SYX_FUNC_PRIMITIVE(Gtk_new__GDoubleIEEE754)
  {
    union _GDoubleIEEE754 *result = 0 ;
    SyxOop result_oop;
    
    result = (union _GDoubleIEEE754 *)(union _GDoubleIEEE754 *) calloc(1, sizeof(union _GDoubleIEEE754));
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: delete__GDoubleIEEE754 */
  SYX_FUNC_PRIMITIVE(Gtk_delete__GDoubleIEEE754)
  {
    union _GDoubleIEEE754 *arg1 = (union _GDoubleIEEE754 *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, union _GDoubleIEEE754 *, es->message_receiver)
    free((char *) arg1);
    
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: new__GDoubleIEEE754_mpn */
  SYX_FUNC_PRIMITIVE(Gtk_new__GDoubleIEEE754_mpn)
  {
    _GDoubleIEEE754_mpn *result = 0 ;
    SyxOop result_oop;
    
    result = (_GDoubleIEEE754_mpn *)(_GDoubleIEEE754_mpn *) calloc(1, sizeof(_GDoubleIEEE754_mpn));
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: delete__GDoubleIEEE754_mpn */
  SYX_FUNC_PRIMITIVE(Gtk_delete__GDoubleIEEE754_mpn)
  {
    _GDoubleIEEE754_mpn *arg1 = (_GDoubleIEEE754_mpn *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, _GDoubleIEEE754_mpn *, es->message_receiver)
    free((char *) arg1);
    
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: new__GTimeVal */
  SYX_FUNC_PRIMITIVE(Gtk_new__GTimeVal)
  {
    struct _GTimeVal *result = 0 ;
    SyxOop result_oop;
    
    result = (struct _GTimeVal *)(struct _GTimeVal *) calloc(1, sizeof(struct _GTimeVal));
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: delete__GTimeVal */
  SYX_FUNC_PRIMITIVE(Gtk_delete__GTimeVal)
  {
    struct _GTimeVal *arg1 = (struct _GTimeVal *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, struct _GTimeVal *, es->message_receiver)
    free((char *) arg1);
    
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_quark_try_string */
  SYX_FUNC_PRIMITIVE(Gtk_g_quark_try_string)
  {
    gchar *arg1 = (gchar *) 0 ;
    GQuark result;
    SyxOop result_oop;
    
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    result = (GQuark)g_quark_try_string((char const *)arg1);
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_quark_from_static_string */
  SYX_FUNC_PRIMITIVE(Gtk_g_quark_from_static_string)
  {
    gchar *arg1 = (gchar *) 0 ;
    GQuark result;
    SyxOop result_oop;
    
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    result = (GQuark)g_quark_from_static_string((char const *)arg1);
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_quark_from_string */
  SYX_FUNC_PRIMITIVE(Gtk_g_quark_from_string)
  {
    gchar *arg1 = (gchar *) 0 ;
    GQuark result;
    SyxOop result_oop;
    
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    result = (GQuark)g_quark_from_string((char const *)arg1);
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_quark_to_string */
  SYX_FUNC_PRIMITIVE(Gtk_g_quark_to_string)
  {
    GQuark arg1 ;
    gchar *result = 0 ;
    SyxOop result_oop;
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    result = (gchar *)g_quark_to_string(arg1);
    SWIG_APPEND_VALUE (syx_string_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_intern_string */
  SYX_FUNC_PRIMITIVE(Gtk_g_intern_string)
  {
    gchar *arg1 = (gchar *) 0 ;
    gchar *result = 0 ;
    SyxOop result_oop;
    
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    result = (gchar *)g_intern_string((char const *)arg1);
    SWIG_APPEND_VALUE (syx_string_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_intern_static_string */
  SYX_FUNC_PRIMITIVE(Gtk_g_intern_static_string)
  {
    gchar *arg1 = (gchar *) 0 ;
    gchar *result = 0 ;
    SyxOop result_oop;
    
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    result = (gchar *)g_intern_static_string((char const *)arg1);
    SWIG_APPEND_VALUE (syx_string_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_get_charset */
  SYX_FUNC_PRIMITIVE(Gtk_g_get_charset)
  {
    char **arg1 = (char **) 0 ;
    gboolean result;
    char const *temp1 ;
    SyxOop result_oop;
    
    
    temp1 = (const char *) SYX_OBJECT_STRING(es->message_arguments[0]);
    arg1 = &temp1;
    
  #undef SWIG_APPEND_VALUE
  #define SWIG_APPEND_VALUE _SWIG_APPEND_RESULT
    int num_values = 0;
    result_oop = syx_array_new_size (2);
    result = g_get_charset((char const **)arg1);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SWIG_APPEND_VALUE (syx_string_new(*arg1));
    SYX_PRIM_RETURN (result_oop);
  #undef SWIG_APPEND_VALUE
  #define SWIG_APPEND_VALUE _SWIG_SET_RESULT
  }
  
  
  /* Module: Gtk Function: g_unichar_isalnum */
  SYX_FUNC_PRIMITIVE(Gtk_g_unichar_isalnum)
  {
    gunichar arg1 ;
    gboolean result;
    SyxOop result_oop;
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    result = g_unichar_isalnum(arg1);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_unichar_isalpha */
  SYX_FUNC_PRIMITIVE(Gtk_g_unichar_isalpha)
  {
    gunichar arg1 ;
    gboolean result;
    SyxOop result_oop;
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    result = g_unichar_isalpha(arg1);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_unichar_iscntrl */
  SYX_FUNC_PRIMITIVE(Gtk_g_unichar_iscntrl)
  {
    gunichar arg1 ;
    gboolean result;
    SyxOop result_oop;
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    result = g_unichar_iscntrl(arg1);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_unichar_isdigit */
  SYX_FUNC_PRIMITIVE(Gtk_g_unichar_isdigit)
  {
    gunichar arg1 ;
    gboolean result;
    SyxOop result_oop;
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    result = g_unichar_isdigit(arg1);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_unichar_isgraph */
  SYX_FUNC_PRIMITIVE(Gtk_g_unichar_isgraph)
  {
    gunichar arg1 ;
    gboolean result;
    SyxOop result_oop;
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    result = g_unichar_isgraph(arg1);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_unichar_islower */
  SYX_FUNC_PRIMITIVE(Gtk_g_unichar_islower)
  {
    gunichar arg1 ;
    gboolean result;
    SyxOop result_oop;
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    result = g_unichar_islower(arg1);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_unichar_isprint */
  SYX_FUNC_PRIMITIVE(Gtk_g_unichar_isprint)
  {
    gunichar arg1 ;
    gboolean result;
    SyxOop result_oop;
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    result = g_unichar_isprint(arg1);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_unichar_ispunct */
  SYX_FUNC_PRIMITIVE(Gtk_g_unichar_ispunct)
  {
    gunichar arg1 ;
    gboolean result;
    SyxOop result_oop;
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    result = g_unichar_ispunct(arg1);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_unichar_isspace */
  SYX_FUNC_PRIMITIVE(Gtk_g_unichar_isspace)
  {
    gunichar arg1 ;
    gboolean result;
    SyxOop result_oop;
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    result = g_unichar_isspace(arg1);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_unichar_isupper */
  SYX_FUNC_PRIMITIVE(Gtk_g_unichar_isupper)
  {
    gunichar arg1 ;
    gboolean result;
    SyxOop result_oop;
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    result = g_unichar_isupper(arg1);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_unichar_isxdigit */
  SYX_FUNC_PRIMITIVE(Gtk_g_unichar_isxdigit)
  {
    gunichar arg1 ;
    gboolean result;
    SyxOop result_oop;
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    result = g_unichar_isxdigit(arg1);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_unichar_istitle */
  SYX_FUNC_PRIMITIVE(Gtk_g_unichar_istitle)
  {
    gunichar arg1 ;
    gboolean result;
    SyxOop result_oop;
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    result = g_unichar_istitle(arg1);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_unichar_isdefined */
  SYX_FUNC_PRIMITIVE(Gtk_g_unichar_isdefined)
  {
    gunichar arg1 ;
    gboolean result;
    SyxOop result_oop;
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    result = g_unichar_isdefined(arg1);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_unichar_iswide */
  SYX_FUNC_PRIMITIVE(Gtk_g_unichar_iswide)
  {
    gunichar arg1 ;
    gboolean result;
    SyxOop result_oop;
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    result = g_unichar_iswide(arg1);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_unichar_iswide_cjk */
  SYX_FUNC_PRIMITIVE(Gtk_g_unichar_iswide_cjk)
  {
    gunichar arg1 ;
    gboolean result;
    SyxOop result_oop;
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    result = g_unichar_iswide_cjk(arg1);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_unichar_iszerowidth */
  SYX_FUNC_PRIMITIVE(Gtk_g_unichar_iszerowidth)
  {
    gunichar arg1 ;
    gboolean result;
    SyxOop result_oop;
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    result = g_unichar_iszerowidth(arg1);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_unichar_ismark */
  SYX_FUNC_PRIMITIVE(Gtk_g_unichar_ismark)
  {
    gunichar arg1 ;
    gboolean result;
    SyxOop result_oop;
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    result = g_unichar_ismark(arg1);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_unichar_toupper */
  SYX_FUNC_PRIMITIVE(Gtk_g_unichar_toupper)
  {
    gunichar arg1 ;
    gunichar result;
    SyxOop result_oop;
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    result = (gunichar)g_unichar_toupper(arg1);
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_unichar_tolower */
  SYX_FUNC_PRIMITIVE(Gtk_g_unichar_tolower)
  {
    gunichar arg1 ;
    gunichar result;
    SyxOop result_oop;
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    result = (gunichar)g_unichar_tolower(arg1);
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_unichar_totitle */
  SYX_FUNC_PRIMITIVE(Gtk_g_unichar_totitle)
  {
    gunichar arg1 ;
    gunichar result;
    SyxOop result_oop;
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    result = (gunichar)g_unichar_totitle(arg1);
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_unichar_digit_value */
  SYX_FUNC_PRIMITIVE(Gtk_g_unichar_digit_value)
  {
    gunichar arg1 ;
    gint result;
    SyxOop result_oop;
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    result = (gint)g_unichar_digit_value(arg1);
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_unichar_xdigit_value */
  SYX_FUNC_PRIMITIVE(Gtk_g_unichar_xdigit_value)
  {
    gunichar arg1 ;
    gint result;
    SyxOop result_oop;
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    result = (gint)g_unichar_xdigit_value(arg1);
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_unichar_type */
  SYX_FUNC_PRIMITIVE(Gtk_g_unichar_type)
  {
    gunichar arg1 ;
    GUnicodeType result;
    SyxOop result_oop;
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    result = (GUnicodeType)g_unichar_type(arg1);
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_unichar_break_type */
  SYX_FUNC_PRIMITIVE(Gtk_g_unichar_break_type)
  {
    gunichar arg1 ;
    GUnicodeBreakType result;
    SyxOop result_oop;
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    result = (GUnicodeBreakType)g_unichar_break_type(arg1);
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_unichar_combining_class */
  SYX_FUNC_PRIMITIVE(Gtk_g_unichar_combining_class)
  {
    gunichar arg1 ;
    gint result;
    SyxOop result_oop;
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    result = (gint)g_unichar_combining_class(arg1);
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_unicode_canonical_ordering */
  SYX_FUNC_PRIMITIVE(Gtk_g_unicode_canonical_ordering)
  {
    gunichar *arg1 = (gunichar *) 0 ;
    gsize arg2 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, gunichar *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    g_unicode_canonical_ordering(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_unicode_canonical_decomposition */
  SYX_FUNC_PRIMITIVE(Gtk_g_unicode_canonical_decomposition)
  {
    gunichar arg1 ;
    gsize *arg2 = (gsize *) 0 ;
    gunichar *result = 0 ;
    SyxOop result_oop;
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    SWIG_FIRST_SELF(arg2, gsize *, es->message_arguments[1])
    result = (gunichar *)g_unicode_canonical_decomposition(arg1,arg2);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  SYX_FUNC_PRIMITIVE(Gtk_var_g_utf8_skip)
  {
    SyxOop result_oop;
    
    SWIG_APPEND_VALUE (syx_string_new(g_utf8_skip));
    
    return result_oop;
  }
  
  
  /* Module: Gtk Function: g_utf8_get_char */
  SYX_FUNC_PRIMITIVE(Gtk_g_utf8_get_char)
  {
    gchar *arg1 = (gchar *) 0 ;
    gunichar result;
    SyxOop result_oop;
    
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    result = (gunichar)g_utf8_get_char((char const *)arg1);
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_utf8_get_char_validated */
  SYX_FUNC_PRIMITIVE(Gtk_g_utf8_get_char_validated)
  {
    gchar *arg1 = (gchar *) 0 ;
    gssize arg2 ;
    gunichar result;
    SyxOop result_oop;
    
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    result = (gunichar)g_utf8_get_char_validated((char const *)arg1,arg2);
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_utf8_offset_to_pointer */
  SYX_FUNC_PRIMITIVE(Gtk_g_utf8_offset_to_pointer)
  {
    gchar *arg1 = (gchar *) 0 ;
    glong arg2 ;
    gchar *result = 0 ;
    SyxOop result_oop;
    
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    result = (gchar *)g_utf8_offset_to_pointer((char const *)arg1,arg2);
    SWIG_APPEND_VALUE (syx_string_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_utf8_pointer_to_offset */
  SYX_FUNC_PRIMITIVE(Gtk_g_utf8_pointer_to_offset)
  {
    gchar *arg1 = (gchar *) 0 ;
    gchar *arg2 = (gchar *) 0 ;
    glong result;
    SyxOop result_oop;
    
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_OBJECT_STRING(es->message_arguments[1]);
    
    result = (glong)g_utf8_pointer_to_offset((char const *)arg1,(char const *)arg2);
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_utf8_prev_char */
  SYX_FUNC_PRIMITIVE(Gtk_g_utf8_prev_char)
  {
    gchar *arg1 = (gchar *) 0 ;
    gchar *result = 0 ;
    SyxOop result_oop;
    
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    result = (gchar *)g_utf8_prev_char((char const *)arg1);
    SWIG_APPEND_VALUE (syx_string_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_utf8_find_next_char */
  SYX_FUNC_PRIMITIVE(Gtk_g_utf8_find_next_char)
  {
    gchar *arg1 = (gchar *) 0 ;
    gchar *arg2 = (gchar *) 0 ;
    gchar *result = 0 ;
    SyxOop result_oop;
    
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_OBJECT_STRING(es->message_arguments[1]);
    
    result = (gchar *)g_utf8_find_next_char((char const *)arg1,(char const *)arg2);
    SWIG_APPEND_VALUE (syx_string_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_utf8_find_prev_char */
  SYX_FUNC_PRIMITIVE(Gtk_g_utf8_find_prev_char)
  {
    gchar *arg1 = (gchar *) 0 ;
    gchar *arg2 = (gchar *) 0 ;
    gchar *result = 0 ;
    SyxOop result_oop;
    
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_OBJECT_STRING(es->message_arguments[1]);
    
    result = (gchar *)g_utf8_find_prev_char((char const *)arg1,(char const *)arg2);
    SWIG_APPEND_VALUE (syx_string_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_utf8_strlen */
  SYX_FUNC_PRIMITIVE(Gtk_g_utf8_strlen)
  {
    gchar *arg1 = (gchar *) 0 ;
    gssize arg2 ;
    glong result;
    SyxOop result_oop;
    
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    result = (glong)g_utf8_strlen((char const *)arg1,arg2);
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_utf8_strncpy */
  SYX_FUNC_PRIMITIVE(Gtk_g_utf8_strncpy)
  {
    gchar *arg1 = (gchar *) 0 ;
    gchar *arg2 = (gchar *) 0 ;
    gsize arg3 ;
    gchar *result = 0 ;
    SyxOop result_oop;
    
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_OBJECT_STRING(es->message_arguments[1]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[2]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg3 = SYX_SMALL_INTEGER(es->message_arguments[2]);
    
    result = (gchar *)g_utf8_strncpy(arg1,(char const *)arg2,arg3);
    SWIG_APPEND_VALUE (syx_string_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_utf8_strchr */
  SYX_FUNC_PRIMITIVE(Gtk_g_utf8_strchr)
  {
    gchar *arg1 = (gchar *) 0 ;
    gssize arg2 ;
    gunichar arg3 ;
    gchar *result = 0 ;
    SyxOop result_oop;
    
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[2]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg3 = SYX_SMALL_INTEGER(es->message_arguments[2]);
    
    result = (gchar *)g_utf8_strchr((char const *)arg1,arg2,arg3);
    SWIG_APPEND_VALUE (syx_string_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_utf8_strrchr */
  SYX_FUNC_PRIMITIVE(Gtk_g_utf8_strrchr)
  {
    gchar *arg1 = (gchar *) 0 ;
    gssize arg2 ;
    gunichar arg3 ;
    gchar *result = 0 ;
    SyxOop result_oop;
    
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[2]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg3 = SYX_SMALL_INTEGER(es->message_arguments[2]);
    
    result = (gchar *)g_utf8_strrchr((char const *)arg1,arg2,arg3);
    SWIG_APPEND_VALUE (syx_string_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_utf8_strreverse */
  SYX_FUNC_PRIMITIVE(Gtk_g_utf8_strreverse)
  {
    gchar *arg1 = (gchar *) 0 ;
    gssize arg2 ;
    gchar *result = 0 ;
    SyxOop result_oop;
    
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    result = (gchar *)g_utf8_strreverse((char const *)arg1,arg2);
    SWIG_APPEND_VALUE (syx_string_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_utf8_to_utf16 */
  SYX_FUNC_PRIMITIVE(Gtk_g_utf8_to_utf16)
  {
    gchar *arg1 = (gchar *) 0 ;
    glong arg2 ;
    glong *arg3 = (glong *) 0 ;
    glong *arg4 = (glong *) 0 ;
    GError **arg5 = (GError **) 0 ;
    gunichar2 *result = 0 ;
    SyxOop result_oop;
    
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    SWIG_FIRST_SELF(arg3, glong *, es->message_arguments[2])
    SWIG_FIRST_SELF(arg4, glong *, es->message_arguments[3])
    SWIG_FIRST_SELF(arg5, GError **, es->message_arguments[4])
    result = (gunichar2 *)g_utf8_to_utf16((char const *)arg1,arg2,arg3,arg4,arg5);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_utf8_to_ucs4 */
  SYX_FUNC_PRIMITIVE(Gtk_g_utf8_to_ucs4)
  {
    gchar *arg1 = (gchar *) 0 ;
    glong arg2 ;
    glong *arg3 = (glong *) 0 ;
    glong *arg4 = (glong *) 0 ;
    GError **arg5 = (GError **) 0 ;
    gunichar *result = 0 ;
    SyxOop result_oop;
    
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    SWIG_FIRST_SELF(arg3, glong *, es->message_arguments[2])
    SWIG_FIRST_SELF(arg4, glong *, es->message_arguments[3])
    SWIG_FIRST_SELF(arg5, GError **, es->message_arguments[4])
    result = (gunichar *)g_utf8_to_ucs4((char const *)arg1,arg2,arg3,arg4,arg5);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_utf8_to_ucs4_fast */
  SYX_FUNC_PRIMITIVE(Gtk_g_utf8_to_ucs4_fast)
  {
    gchar *arg1 = (gchar *) 0 ;
    glong arg2 ;
    glong *arg3 = (glong *) 0 ;
    gunichar *result = 0 ;
    SyxOop result_oop;
    
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    SWIG_FIRST_SELF(arg3, glong *, es->message_arguments[2])
    result = (gunichar *)g_utf8_to_ucs4_fast((char const *)arg1,arg2,arg3);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_utf16_to_ucs4 */
  SYX_FUNC_PRIMITIVE(Gtk_g_utf16_to_ucs4)
  {
    gunichar2 *arg1 = (gunichar2 *) 0 ;
    glong arg2 ;
    glong *arg3 = (glong *) 0 ;
    glong *arg4 = (glong *) 0 ;
    GError **arg5 = (GError **) 0 ;
    gunichar *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, gunichar2 *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    SWIG_FIRST_SELF(arg3, glong *, es->message_arguments[1])
    SWIG_FIRST_SELF(arg4, glong *, es->message_arguments[2])
    SWIG_FIRST_SELF(arg5, GError **, es->message_arguments[3])
    result = (gunichar *)g_utf16_to_ucs4((unsigned short const *)arg1,arg2,arg3,arg4,arg5);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_utf16_to_utf8 */
  SYX_FUNC_PRIMITIVE(Gtk_g_utf16_to_utf8)
  {
    gunichar2 *arg1 = (gunichar2 *) 0 ;
    glong arg2 ;
    glong *arg3 = (glong *) 0 ;
    glong *arg4 = (glong *) 0 ;
    GError **arg5 = (GError **) 0 ;
    gchar *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, gunichar2 *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    SWIG_FIRST_SELF(arg3, glong *, es->message_arguments[1])
    SWIG_FIRST_SELF(arg4, glong *, es->message_arguments[2])
    SWIG_FIRST_SELF(arg5, GError **, es->message_arguments[3])
    result = (gchar *)g_utf16_to_utf8((unsigned short const *)arg1,arg2,arg3,arg4,arg5);
    SWIG_APPEND_VALUE (syx_string_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_ucs4_to_utf16 */
  SYX_FUNC_PRIMITIVE(Gtk_g_ucs4_to_utf16)
  {
    gunichar *arg1 = (gunichar *) 0 ;
    glong arg2 ;
    glong *arg3 = (glong *) 0 ;
    glong *arg4 = (glong *) 0 ;
    GError **arg5 = (GError **) 0 ;
    gunichar2 *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, gunichar *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    SWIG_FIRST_SELF(arg3, glong *, es->message_arguments[1])
    SWIG_FIRST_SELF(arg4, glong *, es->message_arguments[2])
    SWIG_FIRST_SELF(arg5, GError **, es->message_arguments[3])
    result = (gunichar2 *)g_ucs4_to_utf16((unsigned int const *)arg1,arg2,arg3,arg4,arg5);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_ucs4_to_utf8 */
  SYX_FUNC_PRIMITIVE(Gtk_g_ucs4_to_utf8)
  {
    gunichar *arg1 = (gunichar *) 0 ;
    glong arg2 ;
    glong *arg3 = (glong *) 0 ;
    glong *arg4 = (glong *) 0 ;
    GError **arg5 = (GError **) 0 ;
    gchar *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, gunichar *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    SWIG_FIRST_SELF(arg3, glong *, es->message_arguments[1])
    SWIG_FIRST_SELF(arg4, glong *, es->message_arguments[2])
    SWIG_FIRST_SELF(arg5, GError **, es->message_arguments[3])
    result = (gchar *)g_ucs4_to_utf8((unsigned int const *)arg1,arg2,arg3,arg4,arg5);
    SWIG_APPEND_VALUE (syx_string_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_unichar_to_utf8 */
  SYX_FUNC_PRIMITIVE(Gtk_g_unichar_to_utf8)
  {
    gunichar arg1 ;
    gchar *arg2 = (gchar *) 0 ;
    gint result;
    SyxOop result_oop;
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_OBJECT_STRING(es->message_arguments[1]);
    
    result = (gint)g_unichar_to_utf8(arg1,arg2);
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_utf8_validate */
  SYX_FUNC_PRIMITIVE(Gtk_g_utf8_validate)
  {
    gchar *arg1 = (gchar *) 0 ;
    gssize arg2 ;
    gchar **arg3 = (gchar **) 0 ;
    gboolean result;
    char const *temp3 ;
    SyxOop result_oop;
    
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    
    temp3 = (const char *) SYX_OBJECT_STRING(es->message_arguments[2]);
    arg3 = &temp3;
    
  #undef SWIG_APPEND_VALUE
  #define SWIG_APPEND_VALUE _SWIG_APPEND_RESULT
    int num_values = 0;
    result_oop = syx_array_new_size (2);
    result = g_utf8_validate((char const *)arg1,arg2,(char const **)arg3);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SWIG_APPEND_VALUE (syx_string_new(*arg3));
    SYX_PRIM_RETURN (result_oop);
  #undef SWIG_APPEND_VALUE
  #define SWIG_APPEND_VALUE _SWIG_SET_RESULT
  }
  
  
  /* Module: Gtk Function: g_unichar_validate */
  SYX_FUNC_PRIMITIVE(Gtk_g_unichar_validate)
  {
    gunichar arg1 ;
    gboolean result;
    SyxOop result_oop;
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    result = g_unichar_validate(arg1);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_utf8_strup */
  SYX_FUNC_PRIMITIVE(Gtk_g_utf8_strup)
  {
    gchar *arg1 = (gchar *) 0 ;
    gssize arg2 ;
    gchar *result = 0 ;
    SyxOop result_oop;
    
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    result = (gchar *)g_utf8_strup((char const *)arg1,arg2);
    SWIG_APPEND_VALUE (syx_string_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_utf8_strdown */
  SYX_FUNC_PRIMITIVE(Gtk_g_utf8_strdown)
  {
    gchar *arg1 = (gchar *) 0 ;
    gssize arg2 ;
    gchar *result = 0 ;
    SyxOop result_oop;
    
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    result = (gchar *)g_utf8_strdown((char const *)arg1,arg2);
    SWIG_APPEND_VALUE (syx_string_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_utf8_casefold */
  SYX_FUNC_PRIMITIVE(Gtk_g_utf8_casefold)
  {
    gchar *arg1 = (gchar *) 0 ;
    gssize arg2 ;
    gchar *result = 0 ;
    SyxOop result_oop;
    
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    result = (gchar *)g_utf8_casefold((char const *)arg1,arg2);
    SWIG_APPEND_VALUE (syx_string_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_utf8_normalize */
  SYX_FUNC_PRIMITIVE(Gtk_g_utf8_normalize)
  {
    gchar *arg1 = (gchar *) 0 ;
    gssize arg2 ;
    GNormalizeMode arg3 ;
    gchar *result = 0 ;
    SyxOop result_oop;
    
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[2]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg3 = SYX_SMALL_INTEGER(es->message_arguments[2]);
    
    result = (gchar *)g_utf8_normalize((char const *)arg1,arg2,arg3);
    SWIG_APPEND_VALUE (syx_string_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_utf8_collate */
  SYX_FUNC_PRIMITIVE(Gtk_g_utf8_collate)
  {
    gchar *arg1 = (gchar *) 0 ;
    gchar *arg2 = (gchar *) 0 ;
    gint result;
    SyxOop result_oop;
    
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_OBJECT_STRING(es->message_arguments[1]);
    
    result = (gint)g_utf8_collate((char const *)arg1,(char const *)arg2);
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_utf8_collate_key */
  SYX_FUNC_PRIMITIVE(Gtk_g_utf8_collate_key)
  {
    gchar *arg1 = (gchar *) 0 ;
    gssize arg2 ;
    gchar *result = 0 ;
    SyxOop result_oop;
    
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    result = (gchar *)g_utf8_collate_key((char const *)arg1,arg2);
    SWIG_APPEND_VALUE (syx_string_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_utf8_collate_key_for_filename */
  SYX_FUNC_PRIMITIVE(Gtk_g_utf8_collate_key_for_filename)
  {
    gchar *arg1 = (gchar *) 0 ;
    gssize arg2 ;
    gchar *result = 0 ;
    SyxOop result_oop;
    
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    result = (gchar *)g_utf8_collate_key_for_filename((char const *)arg1,arg2);
    SWIG_APPEND_VALUE (syx_string_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_unichar_get_mirror_char */
  SYX_FUNC_PRIMITIVE(Gtk_g_unichar_get_mirror_char)
  {
    gunichar arg1 ;
    gunichar *arg2 = (gunichar *) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    SWIG_FIRST_SELF(arg2, gunichar *, es->message_arguments[1])
    result = g_unichar_get_mirror_char(arg1,arg2);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_unichar_get_script */
  SYX_FUNC_PRIMITIVE(Gtk_g_unichar_get_script)
  {
    gunichar arg1 ;
    GUnicodeScript result;
    SyxOop result_oop;
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    result = (GUnicodeScript)g_unichar_get_script(arg1);
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: new__GTypeClass */
  SYX_FUNC_PRIMITIVE(Gtk_new__GTypeClass)
  {
    struct _GTypeClass *result = 0 ;
    SyxOop result_oop;
    
    result = (struct _GTypeClass *)(struct _GTypeClass *) calloc(1, sizeof(struct _GTypeClass));
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: delete__GTypeClass */
  SYX_FUNC_PRIMITIVE(Gtk_delete__GTypeClass)
  {
    struct _GTypeClass *arg1 = (struct _GTypeClass *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, struct _GTypeClass *, es->message_receiver)
    free((char *) arg1);
    
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: new__GTypeInstance */
  SYX_FUNC_PRIMITIVE(Gtk_new__GTypeInstance)
  {
    struct _GTypeInstance *result = 0 ;
    SyxOop result_oop;
    
    result = (struct _GTypeInstance *)(struct _GTypeInstance *) calloc(1, sizeof(struct _GTypeInstance));
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: delete__GTypeInstance */
  SYX_FUNC_PRIMITIVE(Gtk_delete__GTypeInstance)
  {
    struct _GTypeInstance *arg1 = (struct _GTypeInstance *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, struct _GTypeInstance *, es->message_receiver)
    free((char *) arg1);
    
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: new__GTypeInterface */
  SYX_FUNC_PRIMITIVE(Gtk_new__GTypeInterface)
  {
    struct _GTypeInterface *result = 0 ;
    SyxOop result_oop;
    
    result = (struct _GTypeInterface *)(struct _GTypeInterface *) calloc(1, sizeof(struct _GTypeInterface));
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: delete__GTypeInterface */
  SYX_FUNC_PRIMITIVE(Gtk_delete__GTypeInterface)
  {
    struct _GTypeInterface *arg1 = (struct _GTypeInterface *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, struct _GTypeInterface *, es->message_receiver)
    free((char *) arg1);
    
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: new__GTypeQuery */
  SYX_FUNC_PRIMITIVE(Gtk_new__GTypeQuery)
  {
    struct _GTypeQuery *result = 0 ;
    SyxOop result_oop;
    
    result = (struct _GTypeQuery *)(struct _GTypeQuery *) calloc(1, sizeof(struct _GTypeQuery));
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: delete__GTypeQuery */
  SYX_FUNC_PRIMITIVE(Gtk_delete__GTypeQuery)
  {
    struct _GTypeQuery *arg1 = (struct _GTypeQuery *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, struct _GTypeQuery *, es->message_receiver)
    free((char *) arg1);
    
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_type_name */
  SYX_FUNC_PRIMITIVE(Gtk_g_type_name)
  {
    GType arg1 ;
    gchar *result = 0 ;
    SyxOop result_oop;
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    result = (gchar *)g_type_name(arg1);
    SWIG_APPEND_VALUE (syx_string_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_type_qname */
  SYX_FUNC_PRIMITIVE(Gtk_g_type_qname)
  {
    GType arg1 ;
    GQuark result;
    SyxOop result_oop;
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    result = (GQuark)g_type_qname(arg1);
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_type_from_name */
  SYX_FUNC_PRIMITIVE(Gtk_g_type_from_name)
  {
    gchar *arg1 = (gchar *) 0 ;
    GType result;
    SyxOop result_oop;
    
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    result = (GType)g_type_from_name((char const *)arg1);
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_type_parent */
  SYX_FUNC_PRIMITIVE(Gtk_g_type_parent)
  {
    GType arg1 ;
    GType result;
    SyxOop result_oop;
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    result = (GType)g_type_parent(arg1);
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_type_depth */
  SYX_FUNC_PRIMITIVE(Gtk_g_type_depth)
  {
    GType arg1 ;
    guint result;
    SyxOop result_oop;
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    result = (guint)g_type_depth(arg1);
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_type_next_base */
  SYX_FUNC_PRIMITIVE(Gtk_g_type_next_base)
  {
    GType arg1 ;
    GType arg2 ;
    GType result;
    SyxOop result_oop;
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    result = (GType)g_type_next_base(arg1,arg2);
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_type_is_a */
  SYX_FUNC_PRIMITIVE(Gtk_g_type_is_a)
  {
    GType arg1 ;
    GType arg2 ;
    gboolean result;
    SyxOop result_oop;
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    result = g_type_is_a(arg1,arg2);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_type_class_ref */
  SYX_FUNC_PRIMITIVE(Gtk_g_type_class_ref)
  {
    GType arg1 ;
    gpointer result;
    SyxOop result_oop;
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    result = (gpointer)g_type_class_ref(arg1);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_type_class_peek */
  SYX_FUNC_PRIMITIVE(Gtk_g_type_class_peek)
  {
    GType arg1 ;
    gpointer result;
    SyxOop result_oop;
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    result = (gpointer)g_type_class_peek(arg1);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_type_class_peek_static */
  SYX_FUNC_PRIMITIVE(Gtk_g_type_class_peek_static)
  {
    GType arg1 ;
    gpointer result;
    SyxOop result_oop;
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    result = (gpointer)g_type_class_peek_static(arg1);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_type_class_unref */
  SYX_FUNC_PRIMITIVE(Gtk_g_type_class_unref)
  {
    gpointer arg1 = (gpointer) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, gpointer, es->message_receiver)
    g_type_class_unref(arg1);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_type_class_peek_parent */
  SYX_FUNC_PRIMITIVE(Gtk_g_type_class_peek_parent)
  {
    gpointer arg1 = (gpointer) 0 ;
    gpointer result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, gpointer, es->message_receiver)
    result = (gpointer)g_type_class_peek_parent(arg1);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_type_interface_peek */
  SYX_FUNC_PRIMITIVE(Gtk_g_type_interface_peek)
  {
    gpointer arg1 = (gpointer) 0 ;
    GType arg2 ;
    gpointer result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, gpointer, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    result = (gpointer)g_type_interface_peek(arg1,arg2);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_type_interface_peek_parent */
  SYX_FUNC_PRIMITIVE(Gtk_g_type_interface_peek_parent)
  {
    gpointer arg1 = (gpointer) 0 ;
    gpointer result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, gpointer, es->message_receiver)
    result = (gpointer)g_type_interface_peek_parent(arg1);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_type_default_interface_ref */
  SYX_FUNC_PRIMITIVE(Gtk_g_type_default_interface_ref)
  {
    GType arg1 ;
    gpointer result;
    SyxOop result_oop;
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    result = (gpointer)g_type_default_interface_ref(arg1);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_type_default_interface_peek */
  SYX_FUNC_PRIMITIVE(Gtk_g_type_default_interface_peek)
  {
    GType arg1 ;
    gpointer result;
    SyxOop result_oop;
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    result = (gpointer)g_type_default_interface_peek(arg1);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_type_default_interface_unref */
  SYX_FUNC_PRIMITIVE(Gtk_g_type_default_interface_unref)
  {
    gpointer arg1 = (gpointer) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, gpointer, es->message_receiver)
    g_type_default_interface_unref(arg1);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_type_children */
  SYX_FUNC_PRIMITIVE(Gtk_g_type_children)
  {
    GType arg1 ;
    guint *arg2 = (guint *) 0 ;
    GType *result = 0 ;
    SyxOop result_oop;
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    SWIG_FIRST_SELF(arg2, guint *, es->message_arguments[1])
    result = (GType *)g_type_children(arg1,arg2);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_type_interfaces */
  SYX_FUNC_PRIMITIVE(Gtk_g_type_interfaces)
  {
    GType arg1 ;
    guint *arg2 = (guint *) 0 ;
    GType *result = 0 ;
    SyxOop result_oop;
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    SWIG_FIRST_SELF(arg2, guint *, es->message_arguments[1])
    result = (GType *)g_type_interfaces(arg1,arg2);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_type_set_qdata */
  SYX_FUNC_PRIMITIVE(Gtk_g_type_set_qdata)
  {
    GType arg1 ;
    GQuark arg2 ;
    gpointer arg3 = (gpointer) 0 ;
    SyxOop result_oop;
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    SWIG_FIRST_SELF(arg3, gpointer, es->message_arguments[2])
    g_type_set_qdata(arg1,arg2,arg3);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_type_get_qdata */
  SYX_FUNC_PRIMITIVE(Gtk_g_type_get_qdata)
  {
    GType arg1 ;
    GQuark arg2 ;
    gpointer result;
    SyxOop result_oop;
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    result = (gpointer)g_type_get_qdata(arg1,arg2);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_type_query */
  SYX_FUNC_PRIMITIVE(Gtk_g_type_query)
  {
    GType arg1 ;
    GTypeQuery *arg2 = (GTypeQuery *) 0 ;
    SyxOop result_oop;
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    SWIG_FIRST_SELF(arg2, GTypeQuery *, es->message_arguments[1])
    g_type_query(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: new__GTypeInfo */
  SYX_FUNC_PRIMITIVE(Gtk_new__GTypeInfo)
  {
    struct _GTypeInfo *result = 0 ;
    SyxOop result_oop;
    
    result = (struct _GTypeInfo *)(struct _GTypeInfo *) calloc(1, sizeof(struct _GTypeInfo));
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: delete__GTypeInfo */
  SYX_FUNC_PRIMITIVE(Gtk_delete__GTypeInfo)
  {
    struct _GTypeInfo *arg1 = (struct _GTypeInfo *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, struct _GTypeInfo *, es->message_receiver)
    free((char *) arg1);
    
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: new__GTypeFundamentalInfo */
  SYX_FUNC_PRIMITIVE(Gtk_new__GTypeFundamentalInfo)
  {
    struct _GTypeFundamentalInfo *result = 0 ;
    SyxOop result_oop;
    
    result = (struct _GTypeFundamentalInfo *)(struct _GTypeFundamentalInfo *) calloc(1, sizeof(struct _GTypeFundamentalInfo));
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: delete__GTypeFundamentalInfo */
  SYX_FUNC_PRIMITIVE(Gtk_delete__GTypeFundamentalInfo)
  {
    struct _GTypeFundamentalInfo *arg1 = (struct _GTypeFundamentalInfo *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, struct _GTypeFundamentalInfo *, es->message_receiver)
    free((char *) arg1);
    
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: new__GInterfaceInfo */
  SYX_FUNC_PRIMITIVE(Gtk_new__GInterfaceInfo)
  {
    struct _GInterfaceInfo *result = 0 ;
    SyxOop result_oop;
    
    result = (struct _GInterfaceInfo *)(struct _GInterfaceInfo *) calloc(1, sizeof(struct _GInterfaceInfo));
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: delete__GInterfaceInfo */
  SYX_FUNC_PRIMITIVE(Gtk_delete__GInterfaceInfo)
  {
    struct _GInterfaceInfo *arg1 = (struct _GInterfaceInfo *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, struct _GInterfaceInfo *, es->message_receiver)
    free((char *) arg1);
    
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: new__GTypeValueTable */
  SYX_FUNC_PRIMITIVE(Gtk_new__GTypeValueTable)
  {
    struct _GTypeValueTable *result = 0 ;
    SyxOop result_oop;
    
    result = (struct _GTypeValueTable *)(struct _GTypeValueTable *) calloc(1, sizeof(struct _GTypeValueTable));
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: delete__GTypeValueTable */
  SYX_FUNC_PRIMITIVE(Gtk_delete__GTypeValueTable)
  {
    struct _GTypeValueTable *arg1 = (struct _GTypeValueTable *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, struct _GTypeValueTable *, es->message_receiver)
    free((char *) arg1);
    
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_type_register_static */
  SYX_FUNC_PRIMITIVE(Gtk_g_type_register_static)
  {
    GType arg1 ;
    gchar *arg2 = (gchar *) 0 ;
    GTypeInfo *arg3 = (GTypeInfo *) 0 ;
    GTypeFlags arg4 ;
    GType result;
    SyxOop result_oop;
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_OBJECT_STRING(es->message_arguments[1]);
    
    SWIG_FIRST_SELF(arg3, GTypeInfo *, es->message_arguments[2])
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[3]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg4 = SYX_SMALL_INTEGER(es->message_arguments[3]);
    
    result = (GType)g_type_register_static(arg1,(char const *)arg2,(struct _GTypeInfo const *)arg3,arg4);
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_type_register_static_simple */
  SYX_FUNC_PRIMITIVE(Gtk_g_type_register_static_simple)
  {
    GType arg1 ;
    gchar *arg2 = (gchar *) 0 ;
    guint arg3 ;
    GClassInitFunc arg4 = (GClassInitFunc) 0 ;
    guint arg5 ;
    GInstanceInitFunc arg6 = (GInstanceInitFunc) 0 ;
    GTypeFlags arg7 ;
    GType result;
    SyxOop result_oop;
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_OBJECT_STRING(es->message_arguments[1]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[2]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg3 = SYX_SMALL_INTEGER(es->message_arguments[2]);
    
    SWIG_FIRST_SELF(arg4, GClassInitFunc, es->message_arguments[3])
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[4]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg5 = SYX_SMALL_INTEGER(es->message_arguments[4]);
    
    SWIG_FIRST_SELF(arg6, GInstanceInitFunc, es->message_arguments[5])
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[6]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg7 = SYX_SMALL_INTEGER(es->message_arguments[6]);
    
    result = (GType)g_type_register_static_simple(arg1,(char const *)arg2,arg3,arg4,arg5,arg6,arg7);
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_type_register_dynamic */
  SYX_FUNC_PRIMITIVE(Gtk_g_type_register_dynamic)
  {
    GType arg1 ;
    gchar *arg2 = (gchar *) 0 ;
    GTypePlugin *arg3 = (GTypePlugin *) 0 ;
    GTypeFlags arg4 ;
    GType result;
    SyxOop result_oop;
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_OBJECT_STRING(es->message_arguments[1]);
    
    SWIG_FIRST_SELF(arg3, GTypePlugin *, es->message_arguments[2])
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[3]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg4 = SYX_SMALL_INTEGER(es->message_arguments[3]);
    
    result = (GType)g_type_register_dynamic(arg1,(char const *)arg2,arg3,arg4);
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_type_register_fundamental */
  SYX_FUNC_PRIMITIVE(Gtk_g_type_register_fundamental)
  {
    GType arg1 ;
    gchar *arg2 = (gchar *) 0 ;
    GTypeInfo *arg3 = (GTypeInfo *) 0 ;
    GTypeFundamentalInfo *arg4 = (GTypeFundamentalInfo *) 0 ;
    GTypeFlags arg5 ;
    GType result;
    SyxOop result_oop;
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_OBJECT_STRING(es->message_arguments[1]);
    
    SWIG_FIRST_SELF(arg3, GTypeInfo *, es->message_arguments[2])
    SWIG_FIRST_SELF(arg4, GTypeFundamentalInfo *, es->message_arguments[3])
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[4]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg5 = SYX_SMALL_INTEGER(es->message_arguments[4]);
    
    result = (GType)g_type_register_fundamental(arg1,(char const *)arg2,(struct _GTypeInfo const *)arg3,(struct _GTypeFundamentalInfo const *)arg4,arg5);
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_type_add_interface_static */
  SYX_FUNC_PRIMITIVE(Gtk_g_type_add_interface_static)
  {
    GType arg1 ;
    GType arg2 ;
    GInterfaceInfo *arg3 = (GInterfaceInfo *) 0 ;
    SyxOop result_oop;
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    SWIG_FIRST_SELF(arg3, GInterfaceInfo *, es->message_arguments[2])
    g_type_add_interface_static(arg1,arg2,(struct _GInterfaceInfo const *)arg3);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_type_add_interface_dynamic */
  SYX_FUNC_PRIMITIVE(Gtk_g_type_add_interface_dynamic)
  {
    GType arg1 ;
    GType arg2 ;
    GTypePlugin *arg3 = (GTypePlugin *) 0 ;
    SyxOop result_oop;
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    SWIG_FIRST_SELF(arg3, GTypePlugin *, es->message_arguments[2])
    g_type_add_interface_dynamic(arg1,arg2,arg3);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_type_interface_add_prerequisite */
  SYX_FUNC_PRIMITIVE(Gtk_g_type_interface_add_prerequisite)
  {
    GType arg1 ;
    GType arg2 ;
    SyxOop result_oop;
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    g_type_interface_add_prerequisite(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_type_interface_prerequisites */
  SYX_FUNC_PRIMITIVE(Gtk_g_type_interface_prerequisites)
  {
    GType arg1 ;
    guint *arg2 = (guint *) 0 ;
    GType *result = 0 ;
    SyxOop result_oop;
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    SWIG_FIRST_SELF(arg2, guint *, es->message_arguments[1])
    result = (GType *)g_type_interface_prerequisites(arg1,arg2);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_type_class_add_private */
  SYX_FUNC_PRIMITIVE(Gtk_g_type_class_add_private)
  {
    gpointer arg1 = (gpointer) 0 ;
    gsize arg2 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, gpointer, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    g_type_class_add_private(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_type_instance_get_private */
  SYX_FUNC_PRIMITIVE(Gtk_g_type_instance_get_private)
  {
    GTypeInstance *arg1 = (GTypeInstance *) 0 ;
    GType arg2 ;
    gpointer result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GTypeInstance *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    result = (gpointer)g_type_instance_get_private(arg1,arg2);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_type_get_plugin */
  SYX_FUNC_PRIMITIVE(Gtk_g_type_get_plugin)
  {
    GType arg1 ;
    GTypePlugin *result = 0 ;
    SyxOop result_oop;
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    result = (GTypePlugin *)g_type_get_plugin(arg1);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_type_interface_get_plugin */
  SYX_FUNC_PRIMITIVE(Gtk_g_type_interface_get_plugin)
  {
    GType arg1 ;
    GType arg2 ;
    GTypePlugin *result = 0 ;
    SyxOop result_oop;
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    result = (GTypePlugin *)g_type_interface_get_plugin(arg1,arg2);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_type_fundamental_next */
  SYX_FUNC_PRIMITIVE(Gtk_g_type_fundamental_next)
  {
    GType result;
    SyxOop result_oop;
    
    result = (GType)g_type_fundamental_next();
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_type_fundamental */
  SYX_FUNC_PRIMITIVE(Gtk_g_type_fundamental)
  {
    GType arg1 ;
    GType result;
    SyxOop result_oop;
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    result = (GType)g_type_fundamental(arg1);
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_type_create_instance */
  SYX_FUNC_PRIMITIVE(Gtk_g_type_create_instance)
  {
    GType arg1 ;
    GTypeInstance *result = 0 ;
    SyxOop result_oop;
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    result = (GTypeInstance *)g_type_create_instance(arg1);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_type_free_instance */
  SYX_FUNC_PRIMITIVE(Gtk_g_type_free_instance)
  {
    GTypeInstance *arg1 = (GTypeInstance *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GTypeInstance *, es->message_receiver)
    g_type_free_instance(arg1);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_type_add_class_cache_func */
  SYX_FUNC_PRIMITIVE(Gtk_g_type_add_class_cache_func)
  {
    gpointer arg1 = (gpointer) 0 ;
    GTypeClassCacheFunc arg2 = (GTypeClassCacheFunc) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, gpointer, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GTypeClassCacheFunc, es->message_arguments[0])
    g_type_add_class_cache_func(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_type_remove_class_cache_func */
  SYX_FUNC_PRIMITIVE(Gtk_g_type_remove_class_cache_func)
  {
    gpointer arg1 = (gpointer) 0 ;
    GTypeClassCacheFunc arg2 = (GTypeClassCacheFunc) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, gpointer, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GTypeClassCacheFunc, es->message_arguments[0])
    g_type_remove_class_cache_func(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_type_class_unref_uncached */
  SYX_FUNC_PRIMITIVE(Gtk_g_type_class_unref_uncached)
  {
    gpointer arg1 = (gpointer) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, gpointer, es->message_receiver)
    g_type_class_unref_uncached(arg1);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_type_add_interface_check */
  SYX_FUNC_PRIMITIVE(Gtk_g_type_add_interface_check)
  {
    gpointer arg1 = (gpointer) 0 ;
    GTypeInterfaceCheckFunc arg2 = (GTypeInterfaceCheckFunc) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, gpointer, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GTypeInterfaceCheckFunc, es->message_arguments[0])
    g_type_add_interface_check(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_type_remove_interface_check */
  SYX_FUNC_PRIMITIVE(Gtk_g_type_remove_interface_check)
  {
    gpointer arg1 = (gpointer) 0 ;
    GTypeInterfaceCheckFunc arg2 = (GTypeInterfaceCheckFunc) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, gpointer, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GTypeInterfaceCheckFunc, es->message_arguments[0])
    g_type_remove_interface_check(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_type_value_table_peek */
  SYX_FUNC_PRIMITIVE(Gtk_g_type_value_table_peek)
  {
    GType arg1 ;
    GTypeValueTable *result = 0 ;
    SyxOop result_oop;
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    result = (GTypeValueTable *)g_type_value_table_peek(arg1);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_type_check_instance */
  SYX_FUNC_PRIMITIVE(Gtk_g_type_check_instance)
  {
    GTypeInstance *arg1 = (GTypeInstance *) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GTypeInstance *, es->message_receiver)
    result = g_type_check_instance(arg1);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_type_check_instance_cast */
  SYX_FUNC_PRIMITIVE(Gtk_g_type_check_instance_cast)
  {
    GTypeInstance *arg1 = (GTypeInstance *) 0 ;
    GType arg2 ;
    GTypeInstance *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GTypeInstance *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    result = (GTypeInstance *)g_type_check_instance_cast(arg1,arg2);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_type_check_instance_is_a */
  SYX_FUNC_PRIMITIVE(Gtk_g_type_check_instance_is_a)
  {
    GTypeInstance *arg1 = (GTypeInstance *) 0 ;
    GType arg2 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GTypeInstance *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    result = g_type_check_instance_is_a(arg1,arg2);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_type_check_class_cast */
  SYX_FUNC_PRIMITIVE(Gtk_g_type_check_class_cast)
  {
    GTypeClass *arg1 = (GTypeClass *) 0 ;
    GType arg2 ;
    GTypeClass *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GTypeClass *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    result = (GTypeClass *)g_type_check_class_cast(arg1,arg2);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_type_check_class_is_a */
  SYX_FUNC_PRIMITIVE(Gtk_g_type_check_class_is_a)
  {
    GTypeClass *arg1 = (GTypeClass *) 0 ;
    GType arg2 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GTypeClass *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    result = g_type_check_class_is_a(arg1,arg2);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_type_check_is_value_type */
  SYX_FUNC_PRIMITIVE(Gtk_g_type_check_is_value_type)
  {
    GType arg1 ;
    gboolean result;
    SyxOop result_oop;
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    result = g_type_check_is_value_type(arg1);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_type_check_value */
  SYX_FUNC_PRIMITIVE(Gtk_g_type_check_value)
  {
    GValue *arg1 = (GValue *) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GValue *, es->message_receiver)
    result = g_type_check_value(arg1);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_type_check_value_holds */
  SYX_FUNC_PRIMITIVE(Gtk_g_type_check_value_holds)
  {
    GValue *arg1 = (GValue *) 0 ;
    GType arg2 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GValue *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    result = g_type_check_value_holds(arg1,arg2);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_type_test_flags */
  SYX_FUNC_PRIMITIVE(Gtk_g_type_test_flags)
  {
    GType arg1 ;
    guint arg2 ;
    gboolean result;
    SyxOop result_oop;
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    result = g_type_test_flags(arg1,arg2);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_type_name_from_instance */
  SYX_FUNC_PRIMITIVE(Gtk_g_type_name_from_instance)
  {
    GTypeInstance *arg1 = (GTypeInstance *) 0 ;
    gchar *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GTypeInstance *, es->message_receiver)
    result = (gchar *)g_type_name_from_instance(arg1);
    SWIG_APPEND_VALUE (syx_string_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_type_name_from_class */
  SYX_FUNC_PRIMITIVE(Gtk_g_type_name_from_class)
  {
    GTypeClass *arg1 = (GTypeClass *) 0 ;
    gchar *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GTypeClass *, es->message_receiver)
    result = (gchar *)g_type_name_from_class(arg1);
    SWIG_APPEND_VALUE (syx_string_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: new__GClosureNotifyData */
  SYX_FUNC_PRIMITIVE(Gtk_new__GClosureNotifyData)
  {
    struct _GClosureNotifyData *result = 0 ;
    SyxOop result_oop;
    
    result = (struct _GClosureNotifyData *)(struct _GClosureNotifyData *) calloc(1, sizeof(struct _GClosureNotifyData));
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: delete__GClosureNotifyData */
  SYX_FUNC_PRIMITIVE(Gtk_delete__GClosureNotifyData)
  {
    struct _GClosureNotifyData *arg1 = (struct _GClosureNotifyData *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, struct _GClosureNotifyData *, es->message_receiver)
    free((char *) arg1);
    
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: new__GClosure */
  SYX_FUNC_PRIMITIVE(Gtk_new__GClosure)
  {
    struct _GClosure *result = 0 ;
    SyxOop result_oop;
    
    result = (struct _GClosure *)(struct _GClosure *) calloc(1, sizeof(struct _GClosure));
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: delete__GClosure */
  SYX_FUNC_PRIMITIVE(Gtk_delete__GClosure)
  {
    struct _GClosure *arg1 = (struct _GClosure *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, struct _GClosure *, es->message_receiver)
    free((char *) arg1);
    
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: new__GCClosure */
  SYX_FUNC_PRIMITIVE(Gtk_new__GCClosure)
  {
    struct _GCClosure *result = 0 ;
    SyxOop result_oop;
    
    result = (struct _GCClosure *)(struct _GCClosure *) calloc(1, sizeof(struct _GCClosure));
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: delete__GCClosure */
  SYX_FUNC_PRIMITIVE(Gtk_delete__GCClosure)
  {
    struct _GCClosure *arg1 = (struct _GCClosure *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, struct _GCClosure *, es->message_receiver)
    free((char *) arg1);
    
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_cclosure_new */
  SYX_FUNC_PRIMITIVE(Gtk_g_cclosure_new)
  {
    GCallback arg1 = (GCallback) 0 ;
    gpointer arg2 = (gpointer) 0 ;
    GClosureNotify arg3 = (GClosureNotify) 0 ;
    GClosure *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GCallback, es->message_receiver)
    SWIG_FIRST_SELF(arg2, gpointer, es->message_arguments[0])
    SWIG_FIRST_SELF(arg3, GClosureNotify, es->message_arguments[1])
    result = (GClosure *)g_cclosure_new(arg1,arg2,arg3);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_cclosure_new_swap */
  SYX_FUNC_PRIMITIVE(Gtk_g_cclosure_new_swap)
  {
    GCallback arg1 = (GCallback) 0 ;
    gpointer arg2 = (gpointer) 0 ;
    GClosureNotify arg3 = (GClosureNotify) 0 ;
    GClosure *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GCallback, es->message_receiver)
    SWIG_FIRST_SELF(arg2, gpointer, es->message_arguments[0])
    SWIG_FIRST_SELF(arg3, GClosureNotify, es->message_arguments[1])
    result = (GClosure *)g_cclosure_new_swap(arg1,arg2,arg3);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_signal_type_cclosure_new */
  SYX_FUNC_PRIMITIVE(Gtk_g_signal_type_cclosure_new)
  {
    GType arg1 ;
    guint arg2 ;
    GClosure *result = 0 ;
    SyxOop result_oop;
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    result = (GClosure *)g_signal_type_cclosure_new(arg1,arg2);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_closure_ref */
  SYX_FUNC_PRIMITIVE(Gtk_g_closure_ref)
  {
    GClosure *arg1 = (GClosure *) 0 ;
    GClosure *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GClosure *, es->message_receiver)
    result = (GClosure *)g_closure_ref(arg1);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_closure_sink */
  SYX_FUNC_PRIMITIVE(Gtk_g_closure_sink)
  {
    GClosure *arg1 = (GClosure *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GClosure *, es->message_receiver)
    g_closure_sink(arg1);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_closure_unref */
  SYX_FUNC_PRIMITIVE(Gtk_g_closure_unref)
  {
    GClosure *arg1 = (GClosure *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GClosure *, es->message_receiver)
    g_closure_unref(arg1);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_closure_new_simple */
  SYX_FUNC_PRIMITIVE(Gtk_g_closure_new_simple)
  {
    guint arg1 ;
    gpointer arg2 = (gpointer) 0 ;
    GClosure *result = 0 ;
    SyxOop result_oop;
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    SWIG_FIRST_SELF(arg2, gpointer, es->message_arguments[1])
    result = (GClosure *)g_closure_new_simple(arg1,arg2);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_closure_add_finalize_notifier */
  SYX_FUNC_PRIMITIVE(Gtk_g_closure_add_finalize_notifier)
  {
    GClosure *arg1 = (GClosure *) 0 ;
    gpointer arg2 = (gpointer) 0 ;
    GClosureNotify arg3 = (GClosureNotify) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GClosure *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, gpointer, es->message_arguments[0])
    SWIG_FIRST_SELF(arg3, GClosureNotify, es->message_arguments[1])
    g_closure_add_finalize_notifier(arg1,arg2,arg3);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_closure_remove_finalize_notifier */
  SYX_FUNC_PRIMITIVE(Gtk_g_closure_remove_finalize_notifier)
  {
    GClosure *arg1 = (GClosure *) 0 ;
    gpointer arg2 = (gpointer) 0 ;
    GClosureNotify arg3 = (GClosureNotify) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GClosure *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, gpointer, es->message_arguments[0])
    SWIG_FIRST_SELF(arg3, GClosureNotify, es->message_arguments[1])
    g_closure_remove_finalize_notifier(arg1,arg2,arg3);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_closure_add_invalidate_notifier */
  SYX_FUNC_PRIMITIVE(Gtk_g_closure_add_invalidate_notifier)
  {
    GClosure *arg1 = (GClosure *) 0 ;
    gpointer arg2 = (gpointer) 0 ;
    GClosureNotify arg3 = (GClosureNotify) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GClosure *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, gpointer, es->message_arguments[0])
    SWIG_FIRST_SELF(arg3, GClosureNotify, es->message_arguments[1])
    g_closure_add_invalidate_notifier(arg1,arg2,arg3);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_closure_remove_invalidate_notifier */
  SYX_FUNC_PRIMITIVE(Gtk_g_closure_remove_invalidate_notifier)
  {
    GClosure *arg1 = (GClosure *) 0 ;
    gpointer arg2 = (gpointer) 0 ;
    GClosureNotify arg3 = (GClosureNotify) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GClosure *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, gpointer, es->message_arguments[0])
    SWIG_FIRST_SELF(arg3, GClosureNotify, es->message_arguments[1])
    g_closure_remove_invalidate_notifier(arg1,arg2,arg3);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_closure_add_marshal_guards */
  SYX_FUNC_PRIMITIVE(Gtk_g_closure_add_marshal_guards)
  {
    GClosure *arg1 = (GClosure *) 0 ;
    gpointer arg2 = (gpointer) 0 ;
    GClosureNotify arg3 = (GClosureNotify) 0 ;
    gpointer arg4 = (gpointer) 0 ;
    GClosureNotify arg5 = (GClosureNotify) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GClosure *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, gpointer, es->message_arguments[0])
    SWIG_FIRST_SELF(arg3, GClosureNotify, es->message_arguments[1])
    SWIG_FIRST_SELF(arg4, gpointer, es->message_arguments[2])
    SWIG_FIRST_SELF(arg5, GClosureNotify, es->message_arguments[3])
    g_closure_add_marshal_guards(arg1,arg2,arg3,arg4,arg5);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_closure_set_marshal */
  SYX_FUNC_PRIMITIVE(Gtk_g_closure_set_marshal)
  {
    GClosure *arg1 = (GClosure *) 0 ;
    GClosureMarshal arg2 = (GClosureMarshal) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GClosure *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GClosureMarshal, es->message_arguments[0])
    g_closure_set_marshal(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_closure_set_meta_marshal */
  SYX_FUNC_PRIMITIVE(Gtk_g_closure_set_meta_marshal)
  {
    GClosure *arg1 = (GClosure *) 0 ;
    gpointer arg2 = (gpointer) 0 ;
    GClosureMarshal arg3 = (GClosureMarshal) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GClosure *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, gpointer, es->message_arguments[0])
    SWIG_FIRST_SELF(arg3, GClosureMarshal, es->message_arguments[1])
    g_closure_set_meta_marshal(arg1,arg2,arg3);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_closure_invalidate */
  SYX_FUNC_PRIMITIVE(Gtk_g_closure_invalidate)
  {
    GClosure *arg1 = (GClosure *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GClosure *, es->message_receiver)
    g_closure_invalidate(arg1);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_closure_invoke */
  SYX_FUNC_PRIMITIVE(Gtk_g_closure_invoke)
  {
    GClosure *arg1 = (GClosure *) 0 ;
    GValue *arg2 = (GValue *) 0 ;
    guint arg3 ;
    GValue *arg4 = (GValue *) 0 ;
    gpointer arg5 = (gpointer) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GClosure *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GValue *, es->message_arguments[0])
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg3 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    SWIG_FIRST_SELF(arg4, GValue *, es->message_arguments[2])
    SWIG_FIRST_SELF(arg5, gpointer, es->message_arguments[3])
    g_closure_invoke(arg1,arg2,arg3,(struct _GValue const *)arg4,arg5);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: new__GSignalInvocationHint */
  SYX_FUNC_PRIMITIVE(Gtk_new__GSignalInvocationHint)
  {
    struct _GSignalInvocationHint *result = 0 ;
    SyxOop result_oop;
    
    result = (struct _GSignalInvocationHint *)(struct _GSignalInvocationHint *) calloc(1, sizeof(struct _GSignalInvocationHint));
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: delete__GSignalInvocationHint */
  SYX_FUNC_PRIMITIVE(Gtk_delete__GSignalInvocationHint)
  {
    struct _GSignalInvocationHint *arg1 = (struct _GSignalInvocationHint *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, struct _GSignalInvocationHint *, es->message_receiver)
    free((char *) arg1);
    
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: new__GSignalQuery */
  SYX_FUNC_PRIMITIVE(Gtk_new__GSignalQuery)
  {
    struct _GSignalQuery *result = 0 ;
    SyxOop result_oop;
    
    result = (struct _GSignalQuery *)(struct _GSignalQuery *) calloc(1, sizeof(struct _GSignalQuery));
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: delete__GSignalQuery */
  SYX_FUNC_PRIMITIVE(Gtk_delete__GSignalQuery)
  {
    struct _GSignalQuery *arg1 = (struct _GSignalQuery *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, struct _GSignalQuery *, es->message_receiver)
    free((char *) arg1);
    
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_signal_newv */
  SYX_FUNC_PRIMITIVE(Gtk_g_signal_newv)
  {
    gchar *arg1 = (gchar *) 0 ;
    GType arg2 ;
    GSignalFlags arg3 ;
    GClosure *arg4 = (GClosure *) 0 ;
    GSignalAccumulator arg5 = (GSignalAccumulator) 0 ;
    gpointer arg6 = (gpointer) 0 ;
    GSignalCMarshaller arg7 = (GSignalCMarshaller) 0 ;
    GType arg8 ;
    guint arg9 ;
    GType *arg10 = (GType *) 0 ;
    guint result;
    SyxOop result_oop;
    
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[2]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg3 = SYX_SMALL_INTEGER(es->message_arguments[2]);
    
    SWIG_FIRST_SELF(arg4, GClosure *, es->message_arguments[3])
    SWIG_FIRST_SELF(arg5, GSignalAccumulator, es->message_arguments[4])
    SWIG_FIRST_SELF(arg6, gpointer, es->message_arguments[5])
    SWIG_FIRST_SELF(arg7, GSignalCMarshaller, es->message_arguments[6])
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[7]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg8 = SYX_SMALL_INTEGER(es->message_arguments[7]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[8]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg9 = SYX_SMALL_INTEGER(es->message_arguments[8]);
    
    SWIG_FIRST_SELF(arg10, GType *, es->message_arguments[9])
    result = (guint)g_signal_newv((char const *)arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_signal_new_valist */
  SYX_FUNC_PRIMITIVE(Gtk_g_signal_new_valist)
  {
    gchar *arg1 = (gchar *) 0 ;
    GType arg2 ;
    GSignalFlags arg3 ;
    GClosure *arg4 = (GClosure *) 0 ;
    GSignalAccumulator arg5 = (GSignalAccumulator) 0 ;
    gpointer arg6 = (gpointer) 0 ;
    GSignalCMarshaller arg7 = (GSignalCMarshaller) 0 ;
    GType arg8 ;
    guint arg9 ;
    va_list arg10 ;
    guint result;
    SyxOop result_oop;
    
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[2]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg3 = SYX_SMALL_INTEGER(es->message_arguments[2]);
    
    SWIG_FIRST_SELF(arg4, GClosure *, es->message_arguments[3])
    SWIG_FIRST_SELF(arg5, GSignalAccumulator, es->message_arguments[4])
    SWIG_FIRST_SELF(arg6, gpointer, es->message_arguments[5])
    SWIG_FIRST_SELF(arg7, GSignalCMarshaller, es->message_arguments[6])
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[7]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg8 = SYX_SMALL_INTEGER(es->message_arguments[7]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[8]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg9 = SYX_SMALL_INTEGER(es->message_arguments[8]);
    
    result = (guint)g_signal_new_valist((char const *)arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_signal_new */
  SYX_FUNC_PRIMITIVE(Gtk_g_signal_new)
  {
    gchar *arg1 = (gchar *) 0 ;
    GType arg2 ;
    GSignalFlags arg3 ;
    guint arg4 ;
    GSignalAccumulator arg5 = (GSignalAccumulator) 0 ;
    gpointer arg6 = (gpointer) 0 ;
    GSignalCMarshaller arg7 = (GSignalCMarshaller) 0 ;
    GType arg8 ;
    guint arg9 ;
    void *arg10 = 0 ;
    guint result;
    SyxOop result_oop;
    
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[2]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg3 = SYX_SMALL_INTEGER(es->message_arguments[2]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[3]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg4 = SYX_SMALL_INTEGER(es->message_arguments[3]);
    
    SWIG_FIRST_SELF(arg5, GSignalAccumulator, es->message_arguments[4])
    SWIG_FIRST_SELF(arg6, gpointer, es->message_arguments[5])
    SWIG_FIRST_SELF(arg7, GSignalCMarshaller, es->message_arguments[6])
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[7]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg8 = SYX_SMALL_INTEGER(es->message_arguments[7]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[8]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg9 = SYX_SMALL_INTEGER(es->message_arguments[8]);
    
    result = (guint)g_signal_new((char const *)arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_signal_emitv */
  SYX_FUNC_PRIMITIVE(Gtk_g_signal_emitv)
  {
    GValue *arg1 = (GValue *) 0 ;
    guint arg2 ;
    GQuark arg3 ;
    GValue *arg4 = (GValue *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GValue *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg3 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    SWIG_FIRST_SELF(arg4, GValue *, es->message_arguments[2])
    g_signal_emitv((struct _GValue const *)arg1,arg2,arg3,arg4);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_signal_emit_valist */
  SYX_FUNC_PRIMITIVE(Gtk_g_signal_emit_valist)
  {
    gpointer arg1 = (gpointer) 0 ;
    guint arg2 ;
    GQuark arg3 ;
    va_list arg4 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, gpointer, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg3 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    g_signal_emit_valist(arg1,arg2,arg3,arg4);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_signal_emit */
  SYX_FUNC_PRIMITIVE(Gtk_g_signal_emit)
  {
    gpointer arg1 = (gpointer) 0 ;
    guint arg2 ;
    GQuark arg3 ;
    void *arg4 = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, gpointer, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg3 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    g_signal_emit(arg1,arg2,arg3,arg4);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_signal_emit_by_name */
  SYX_FUNC_PRIMITIVE(Gtk_g_signal_emit_by_name)
  {
    gpointer arg1 = (gpointer) 0 ;
    gchar *arg2 = (gchar *) 0 ;
    void *arg3 = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, gpointer, es->message_receiver)
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    g_signal_emit_by_name(arg1,(char const *)arg2,arg3);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_signal_lookup */
  SYX_FUNC_PRIMITIVE(Gtk_g_signal_lookup)
  {
    gchar *arg1 = (gchar *) 0 ;
    GType arg2 ;
    guint result;
    SyxOop result_oop;
    
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    result = (guint)g_signal_lookup((char const *)arg1,arg2);
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_signal_name */
  SYX_FUNC_PRIMITIVE(Gtk_g_signal_name)
  {
    guint arg1 ;
    gchar *result = 0 ;
    SyxOop result_oop;
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    result = (gchar *)g_signal_name(arg1);
    SWIG_APPEND_VALUE (syx_string_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_signal_query */
  SYX_FUNC_PRIMITIVE(Gtk_g_signal_query)
  {
    guint arg1 ;
    GSignalQuery *arg2 = (GSignalQuery *) 0 ;
    SyxOop result_oop;
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    SWIG_FIRST_SELF(arg2, GSignalQuery *, es->message_arguments[1])
    g_signal_query(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_signal_list_ids */
  SYX_FUNC_PRIMITIVE(Gtk_g_signal_list_ids)
  {
    GType arg1 ;
    guint *arg2 = (guint *) 0 ;
    guint *result = 0 ;
    SyxOop result_oop;
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    SWIG_FIRST_SELF(arg2, guint *, es->message_arguments[1])
    result = (guint *)g_signal_list_ids(arg1,arg2);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_signal_parse_name */
  SYX_FUNC_PRIMITIVE(Gtk_g_signal_parse_name)
  {
    gchar *arg1 = (gchar *) 0 ;
    GType arg2 ;
    guint *arg3 = (guint *) 0 ;
    GQuark *arg4 = (GQuark *) 0 ;
    gboolean arg5 ;
    gboolean result;
    SyxOop result_oop;
    
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    SWIG_FIRST_SELF(arg3, guint *, es->message_arguments[2])
    SWIG_FIRST_SELF(arg4, GQuark *, es->message_arguments[3])
    
    if (!SYX_IS_BOOLEAN(es->message_arguments[4]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg5 = SYX_IS_TRUE(es->message_arguments[4]);
    
    result = g_signal_parse_name((char const *)arg1,arg2,arg3,arg4,arg5);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_signal_get_invocation_hint */
  SYX_FUNC_PRIMITIVE(Gtk_g_signal_get_invocation_hint)
  {
    gpointer arg1 = (gpointer) 0 ;
    GSignalInvocationHint *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, gpointer, es->message_receiver)
    result = (GSignalInvocationHint *)g_signal_get_invocation_hint(arg1);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_signal_stop_emission */
  SYX_FUNC_PRIMITIVE(Gtk_g_signal_stop_emission)
  {
    gpointer arg1 = (gpointer) 0 ;
    guint arg2 ;
    GQuark arg3 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, gpointer, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg3 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    g_signal_stop_emission(arg1,arg2,arg3);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_signal_stop_emission_by_name */
  SYX_FUNC_PRIMITIVE(Gtk_g_signal_stop_emission_by_name)
  {
    gpointer arg1 = (gpointer) 0 ;
    gchar *arg2 = (gchar *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, gpointer, es->message_receiver)
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    g_signal_stop_emission_by_name(arg1,(char const *)arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_signal_add_emission_hook */
  SYX_FUNC_PRIMITIVE(Gtk_g_signal_add_emission_hook)
  {
    guint arg1 ;
    GQuark arg2 ;
    GSignalEmissionHook arg3 = (GSignalEmissionHook) 0 ;
    gpointer arg4 = (gpointer) 0 ;
    GDestroyNotify arg5 = (GDestroyNotify) 0 ;
    gulong result;
    SyxOop result_oop;
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    SWIG_FIRST_SELF(arg3, GSignalEmissionHook, es->message_arguments[2])
    SWIG_FIRST_SELF(arg4, gpointer, es->message_arguments[3])
    SWIG_FIRST_SELF(arg5, GDestroyNotify, es->message_arguments[4])
    result = (gulong)g_signal_add_emission_hook(arg1,arg2,arg3,arg4,arg5);
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_signal_remove_emission_hook */
  SYX_FUNC_PRIMITIVE(Gtk_g_signal_remove_emission_hook)
  {
    guint arg1 ;
    gulong arg2 ;
    SyxOop result_oop;
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    g_signal_remove_emission_hook(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_signal_has_handler_pending */
  SYX_FUNC_PRIMITIVE(Gtk_g_signal_has_handler_pending)
  {
    gpointer arg1 = (gpointer) 0 ;
    guint arg2 ;
    GQuark arg3 ;
    gboolean arg4 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, gpointer, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg3 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    
    if (!SYX_IS_BOOLEAN(es->message_arguments[2]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg4 = SYX_IS_TRUE(es->message_arguments[2]);
    
    result = g_signal_has_handler_pending(arg1,arg2,arg3,arg4);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_signal_connect_closure_by_id */
  SYX_FUNC_PRIMITIVE(Gtk_g_signal_connect_closure_by_id)
  {
    gpointer arg1 = (gpointer) 0 ;
    guint arg2 ;
    GQuark arg3 ;
    GClosure *arg4 = (GClosure *) 0 ;
    gboolean arg5 ;
    gulong result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, gpointer, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg3 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    SWIG_FIRST_SELF(arg4, GClosure *, es->message_arguments[2])
    
    if (!SYX_IS_BOOLEAN(es->message_arguments[3]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg5 = SYX_IS_TRUE(es->message_arguments[3]);
    
    result = (gulong)g_signal_connect_closure_by_id(arg1,arg2,arg3,arg4,arg5);
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_signal_connect_closure */
  SYX_FUNC_PRIMITIVE(Gtk_g_signal_connect_closure)
  {
    gpointer arg1 = (gpointer) 0 ;
    gchar *arg2 = (gchar *) 0 ;
    GClosure *arg3 = (GClosure *) 0 ;
    gboolean arg4 ;
    gulong result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, gpointer, es->message_receiver)
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    SWIG_FIRST_SELF(arg3, GClosure *, es->message_arguments[1])
    
    if (!SYX_IS_BOOLEAN(es->message_arguments[2]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg4 = SYX_IS_TRUE(es->message_arguments[2]);
    
    result = (gulong)g_signal_connect_closure(arg1,(char const *)arg2,arg3,arg4);
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_signal_connect_data */
  SYX_FUNC_PRIMITIVE(Gtk_g_signal_connect_data)
  {
    gpointer arg1 = (gpointer) 0 ;
    gchar *arg2 = (gchar *) 0 ;
    GCallback arg3 = (GCallback) 0 ;
    gpointer arg4 = (gpointer) 0 ;
    GClosureNotify arg5 = (GClosureNotify) 0 ;
    GConnectFlags arg6 ;
    gulong result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, gpointer, es->message_receiver)
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    SWIG_FIRST_SELF(arg3, GCallback, es->message_arguments[1])
    SWIG_FIRST_SELF(arg4, gpointer, es->message_arguments[2])
    SWIG_FIRST_SELF(arg5, GClosureNotify, es->message_arguments[3])
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[4]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg6 = SYX_SMALL_INTEGER(es->message_arguments[4]);
    
    result = (gulong)g_signal_connect_data(arg1,(char const *)arg2,arg3,arg4,arg5,arg6);
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_signal_handler_block */
  SYX_FUNC_PRIMITIVE(Gtk_g_signal_handler_block)
  {
    gpointer arg1 = (gpointer) 0 ;
    gulong arg2 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, gpointer, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    g_signal_handler_block(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_signal_handler_unblock */
  SYX_FUNC_PRIMITIVE(Gtk_g_signal_handler_unblock)
  {
    gpointer arg1 = (gpointer) 0 ;
    gulong arg2 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, gpointer, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    g_signal_handler_unblock(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_signal_handler_disconnect */
  SYX_FUNC_PRIMITIVE(Gtk_g_signal_handler_disconnect)
  {
    gpointer arg1 = (gpointer) 0 ;
    gulong arg2 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, gpointer, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    g_signal_handler_disconnect(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_signal_handler_is_connected */
  SYX_FUNC_PRIMITIVE(Gtk_g_signal_handler_is_connected)
  {
    gpointer arg1 = (gpointer) 0 ;
    gulong arg2 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, gpointer, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    result = g_signal_handler_is_connected(arg1,arg2);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_signal_handler_find */
  SYX_FUNC_PRIMITIVE(Gtk_g_signal_handler_find)
  {
    gpointer arg1 = (gpointer) 0 ;
    GSignalMatchType arg2 ;
    guint arg3 ;
    GQuark arg4 ;
    GClosure *arg5 = (GClosure *) 0 ;
    gpointer arg6 = (gpointer) 0 ;
    gpointer arg7 = (gpointer) 0 ;
    gulong result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, gpointer, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg3 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[2]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg4 = SYX_SMALL_INTEGER(es->message_arguments[2]);
    
    SWIG_FIRST_SELF(arg5, GClosure *, es->message_arguments[3])
    SWIG_FIRST_SELF(arg6, gpointer, es->message_arguments[4])
    SWIG_FIRST_SELF(arg7, gpointer, es->message_arguments[5])
    result = (gulong)g_signal_handler_find(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_signal_handlers_block_matched */
  SYX_FUNC_PRIMITIVE(Gtk_g_signal_handlers_block_matched)
  {
    gpointer arg1 = (gpointer) 0 ;
    GSignalMatchType arg2 ;
    guint arg3 ;
    GQuark arg4 ;
    GClosure *arg5 = (GClosure *) 0 ;
    gpointer arg6 = (gpointer) 0 ;
    gpointer arg7 = (gpointer) 0 ;
    guint result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, gpointer, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg3 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[2]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg4 = SYX_SMALL_INTEGER(es->message_arguments[2]);
    
    SWIG_FIRST_SELF(arg5, GClosure *, es->message_arguments[3])
    SWIG_FIRST_SELF(arg6, gpointer, es->message_arguments[4])
    SWIG_FIRST_SELF(arg7, gpointer, es->message_arguments[5])
    result = (guint)g_signal_handlers_block_matched(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_signal_handlers_unblock_matched */
  SYX_FUNC_PRIMITIVE(Gtk_g_signal_handlers_unblock_matched)
  {
    gpointer arg1 = (gpointer) 0 ;
    GSignalMatchType arg2 ;
    guint arg3 ;
    GQuark arg4 ;
    GClosure *arg5 = (GClosure *) 0 ;
    gpointer arg6 = (gpointer) 0 ;
    gpointer arg7 = (gpointer) 0 ;
    guint result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, gpointer, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg3 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[2]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg4 = SYX_SMALL_INTEGER(es->message_arguments[2]);
    
    SWIG_FIRST_SELF(arg5, GClosure *, es->message_arguments[3])
    SWIG_FIRST_SELF(arg6, gpointer, es->message_arguments[4])
    SWIG_FIRST_SELF(arg7, gpointer, es->message_arguments[5])
    result = (guint)g_signal_handlers_unblock_matched(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_signal_handlers_disconnect_matched */
  SYX_FUNC_PRIMITIVE(Gtk_g_signal_handlers_disconnect_matched)
  {
    gpointer arg1 = (gpointer) 0 ;
    GSignalMatchType arg2 ;
    guint arg3 ;
    GQuark arg4 ;
    GClosure *arg5 = (GClosure *) 0 ;
    gpointer arg6 = (gpointer) 0 ;
    gpointer arg7 = (gpointer) 0 ;
    guint result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, gpointer, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg3 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[2]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg4 = SYX_SMALL_INTEGER(es->message_arguments[2]);
    
    SWIG_FIRST_SELF(arg5, GClosure *, es->message_arguments[3])
    SWIG_FIRST_SELF(arg6, gpointer, es->message_arguments[4])
    SWIG_FIRST_SELF(arg7, gpointer, es->message_arguments[5])
    result = (guint)g_signal_handlers_disconnect_matched(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_signal_override_class_closure */
  SYX_FUNC_PRIMITIVE(Gtk_g_signal_override_class_closure)
  {
    guint arg1 ;
    GType arg2 ;
    GClosure *arg3 = (GClosure *) 0 ;
    SyxOop result_oop;
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    SWIG_FIRST_SELF(arg3, GClosure *, es->message_arguments[2])
    g_signal_override_class_closure(arg1,arg2,arg3);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_signal_chain_from_overridden */
  SYX_FUNC_PRIMITIVE(Gtk_g_signal_chain_from_overridden)
  {
    GValue *arg1 = (GValue *) 0 ;
    GValue *arg2 = (GValue *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GValue *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GValue *, es->message_arguments[0])
    g_signal_chain_from_overridden((struct _GValue const *)arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_signal_accumulator_true_handled */
  SYX_FUNC_PRIMITIVE(Gtk_g_signal_accumulator_true_handled)
  {
    GSignalInvocationHint *arg1 = (GSignalInvocationHint *) 0 ;
    GValue *arg2 = (GValue *) 0 ;
    GValue *arg3 = (GValue *) 0 ;
    gpointer arg4 = (gpointer) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GSignalInvocationHint *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GValue *, es->message_arguments[0])
    SWIG_FIRST_SELF(arg3, GValue *, es->message_arguments[1])
    SWIG_FIRST_SELF(arg4, gpointer, es->message_arguments[2])
    result = g_signal_accumulator_true_handled(arg1,arg2,(struct _GValue const *)arg3,arg4);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_signal_handlers_destroy */
  SYX_FUNC_PRIMITIVE(Gtk_g_signal_handlers_destroy)
  {
    gpointer arg1 = (gpointer) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, gpointer, es->message_receiver)
    g_signal_handlers_destroy(arg1);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: new__GObject */
  SYX_FUNC_PRIMITIVE(Gtk_new__GObject)
  {
    struct _GObject *result = 0 ;
    SyxOop result_oop;
    
    result = (struct _GObject *)(struct _GObject *) calloc(1, sizeof(struct _GObject));
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: delete__GObject */
  SYX_FUNC_PRIMITIVE(Gtk_delete__GObject)
  {
    struct _GObject *arg1 = (struct _GObject *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, struct _GObject *, es->message_receiver)
    free((char *) arg1);
    
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: new__GObjectClass */
  SYX_FUNC_PRIMITIVE(Gtk_new__GObjectClass)
  {
    struct _GObjectClass *result = 0 ;
    SyxOop result_oop;
    
    result = (struct _GObjectClass *)(struct _GObjectClass *) calloc(1, sizeof(struct _GObjectClass));
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: delete__GObjectClass */
  SYX_FUNC_PRIMITIVE(Gtk_delete__GObjectClass)
  {
    struct _GObjectClass *arg1 = (struct _GObjectClass *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, struct _GObjectClass *, es->message_receiver)
    free((char *) arg1);
    
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: new__GObjectConstructParam */
  SYX_FUNC_PRIMITIVE(Gtk_new__GObjectConstructParam)
  {
    struct _GObjectConstructParam *result = 0 ;
    SyxOop result_oop;
    
    result = (struct _GObjectConstructParam *)(struct _GObjectConstructParam *) calloc(1, sizeof(struct _GObjectConstructParam));
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: delete__GObjectConstructParam */
  SYX_FUNC_PRIMITIVE(Gtk_delete__GObjectConstructParam)
  {
    struct _GObjectConstructParam *arg1 = (struct _GObjectConstructParam *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, struct _GObjectConstructParam *, es->message_receiver)
    free((char *) arg1);
    
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_initially_unowned_get_type */
  SYX_FUNC_PRIMITIVE(Gtk_g_initially_unowned_get_type)
  {
    GType result;
    SyxOop result_oop;
    
    result = (GType)g_initially_unowned_get_type();
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_object_class_install_property */
  SYX_FUNC_PRIMITIVE(Gtk_g_object_class_install_property)
  {
    GObjectClass *arg1 = (GObjectClass *) 0 ;
    guint arg2 ;
    GParamSpec *arg3 = (GParamSpec *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GObjectClass *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    SWIG_FIRST_SELF(arg3, GParamSpec *, es->message_arguments[1])
    g_object_class_install_property(arg1,arg2,arg3);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_object_class_find_property */
  SYX_FUNC_PRIMITIVE(Gtk_g_object_class_find_property)
  {
    GObjectClass *arg1 = (GObjectClass *) 0 ;
    gchar *arg2 = (gchar *) 0 ;
    GParamSpec *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GObjectClass *, es->message_receiver)
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    result = (GParamSpec *)g_object_class_find_property(arg1,(char const *)arg2);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_object_class_list_properties */
  SYX_FUNC_PRIMITIVE(Gtk_g_object_class_list_properties)
  {
    GObjectClass *arg1 = (GObjectClass *) 0 ;
    guint *arg2 = (guint *) 0 ;
    GParamSpec **result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GObjectClass *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, guint *, es->message_arguments[0])
    result = (GParamSpec **)g_object_class_list_properties(arg1,arg2);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_object_class_override_property */
  SYX_FUNC_PRIMITIVE(Gtk_g_object_class_override_property)
  {
    GObjectClass *arg1 = (GObjectClass *) 0 ;
    guint arg2 ;
    gchar *arg3 = (gchar *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GObjectClass *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg3 = SYX_OBJECT_STRING(es->message_arguments[1]);
    
    g_object_class_override_property(arg1,arg2,(char const *)arg3);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_object_interface_install_property */
  SYX_FUNC_PRIMITIVE(Gtk_g_object_interface_install_property)
  {
    gpointer arg1 = (gpointer) 0 ;
    GParamSpec *arg2 = (GParamSpec *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, gpointer, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GParamSpec *, es->message_arguments[0])
    g_object_interface_install_property(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_object_interface_find_property */
  SYX_FUNC_PRIMITIVE(Gtk_g_object_interface_find_property)
  {
    gpointer arg1 = (gpointer) 0 ;
    gchar *arg2 = (gchar *) 0 ;
    GParamSpec *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, gpointer, es->message_receiver)
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    result = (GParamSpec *)g_object_interface_find_property(arg1,(char const *)arg2);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_object_interface_list_properties */
  SYX_FUNC_PRIMITIVE(Gtk_g_object_interface_list_properties)
  {
    gpointer arg1 = (gpointer) 0 ;
    guint *arg2 = (guint *) 0 ;
    GParamSpec **result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, gpointer, es->message_receiver)
    SWIG_FIRST_SELF(arg2, guint *, es->message_arguments[0])
    result = (GParamSpec **)g_object_interface_list_properties(arg1,arg2);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_object_new */
  SYX_FUNC_PRIMITIVE(Gtk_g_object_new)
  {
    GType arg1 ;
    gchar *arg2 = (gchar *) 0 ;
    void *arg3 = 0 ;
    gpointer result;
    SyxOop result_oop;
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_OBJECT_STRING(es->message_arguments[1]);
    
    result = (gpointer)g_object_new(arg1,(char const *)arg2,arg3);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_object_newv */
  SYX_FUNC_PRIMITIVE(Gtk_g_object_newv)
  {
    GType arg1 ;
    guint arg2 ;
    GParameter *arg3 = (GParameter *) 0 ;
    gpointer result;
    SyxOop result_oop;
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    SWIG_FIRST_SELF(arg3, GParameter *, es->message_arguments[2])
    result = (gpointer)g_object_newv(arg1,arg2,arg3);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_object_new_valist */
  SYX_FUNC_PRIMITIVE(Gtk_g_object_new_valist)
  {
    GType arg1 ;
    gchar *arg2 = (gchar *) 0 ;
    va_list arg3 ;
    GObject *result = 0 ;
    SyxOop result_oop;
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_OBJECT_STRING(es->message_arguments[1]);
    
    result = (GObject *)g_object_new_valist(arg1,(char const *)arg2,arg3);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_object_set */
  SYX_FUNC_PRIMITIVE(Gtk_g_object_set)
  {
    gpointer arg1 = (gpointer) 0 ;
    gchar *arg2 = (gchar *) 0 ;
    void *arg3 = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, gpointer, es->message_receiver)
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    g_object_set(arg1,(char const *)arg2,arg3);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_object_get */
  SYX_FUNC_PRIMITIVE(Gtk_g_object_get)
  {
    gpointer arg1 = (gpointer) 0 ;
    gchar *arg2 = (gchar *) 0 ;
    void *arg3 = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, gpointer, es->message_receiver)
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    g_object_get(arg1,(char const *)arg2,arg3);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_object_connect */
  SYX_FUNC_PRIMITIVE(Gtk_g_object_connect)
  {
    gpointer arg1 = (gpointer) 0 ;
    gchar *arg2 = (gchar *) 0 ;
    void *arg3 = 0 ;
    gpointer result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, gpointer, es->message_receiver)
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    result = (gpointer)g_object_connect(arg1,(char const *)arg2,arg3);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_object_disconnect */
  SYX_FUNC_PRIMITIVE(Gtk_g_object_disconnect)
  {
    gpointer arg1 = (gpointer) 0 ;
    gchar *arg2 = (gchar *) 0 ;
    void *arg3 = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, gpointer, es->message_receiver)
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    g_object_disconnect(arg1,(char const *)arg2,arg3);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_object_set_valist */
  SYX_FUNC_PRIMITIVE(Gtk_g_object_set_valist)
  {
    GObject *arg1 = (GObject *) 0 ;
    gchar *arg2 = (gchar *) 0 ;
    va_list arg3 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GObject *, es->message_receiver)
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    g_object_set_valist(arg1,(char const *)arg2,arg3);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_object_get_valist */
  SYX_FUNC_PRIMITIVE(Gtk_g_object_get_valist)
  {
    GObject *arg1 = (GObject *) 0 ;
    gchar *arg2 = (gchar *) 0 ;
    va_list arg3 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GObject *, es->message_receiver)
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    g_object_get_valist(arg1,(char const *)arg2,arg3);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_object_set_property */
  SYX_FUNC_PRIMITIVE(Gtk_g_object_set_property)
  {
    GObject *arg1 = (GObject *) 0 ;
    gchar *arg2 = (gchar *) 0 ;
    GValue *arg3 = (GValue *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GObject *, es->message_receiver)
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    SWIG_FIRST_SELF(arg3, GValue *, es->message_arguments[1])
    g_object_set_property(arg1,(char const *)arg2,(struct _GValue const *)arg3);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_object_get_property */
  SYX_FUNC_PRIMITIVE(Gtk_g_object_get_property)
  {
    GObject *arg1 = (GObject *) 0 ;
    gchar *arg2 = (gchar *) 0 ;
    GValue *arg3 = (GValue *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GObject *, es->message_receiver)
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    SWIG_FIRST_SELF(arg3, GValue *, es->message_arguments[1])
    g_object_get_property(arg1,(char const *)arg2,arg3);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_object_freeze_notify */
  SYX_FUNC_PRIMITIVE(Gtk_g_object_freeze_notify)
  {
    GObject *arg1 = (GObject *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GObject *, es->message_receiver)
    g_object_freeze_notify(arg1);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_object_notify */
  SYX_FUNC_PRIMITIVE(Gtk_g_object_notify)
  {
    GObject *arg1 = (GObject *) 0 ;
    gchar *arg2 = (gchar *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GObject *, es->message_receiver)
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    g_object_notify(arg1,(char const *)arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_object_thaw_notify */
  SYX_FUNC_PRIMITIVE(Gtk_g_object_thaw_notify)
  {
    GObject *arg1 = (GObject *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GObject *, es->message_receiver)
    g_object_thaw_notify(arg1);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_object_is_floating */
  SYX_FUNC_PRIMITIVE(Gtk_g_object_is_floating)
  {
    gpointer arg1 = (gpointer) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, gpointer, es->message_receiver)
    result = g_object_is_floating(arg1);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_object_ref_sink */
  SYX_FUNC_PRIMITIVE(Gtk_g_object_ref_sink)
  {
    gpointer arg1 = (gpointer) 0 ;
    gpointer result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, gpointer, es->message_receiver)
    result = (gpointer)g_object_ref_sink(arg1);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_object_ref */
  SYX_FUNC_PRIMITIVE(Gtk_g_object_ref)
  {
    gpointer arg1 = (gpointer) 0 ;
    gpointer result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, gpointer, es->message_receiver)
    result = (gpointer)g_object_ref(arg1);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_object_unref */
  SYX_FUNC_PRIMITIVE(Gtk_g_object_unref)
  {
    gpointer arg1 = (gpointer) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, gpointer, es->message_receiver)
    g_object_unref(arg1);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_object_weak_ref */
  SYX_FUNC_PRIMITIVE(Gtk_g_object_weak_ref)
  {
    GObject *arg1 = (GObject *) 0 ;
    GWeakNotify arg2 = (GWeakNotify) 0 ;
    gpointer arg3 = (gpointer) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GObject *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GWeakNotify, es->message_arguments[0])
    SWIG_FIRST_SELF(arg3, gpointer, es->message_arguments[1])
    g_object_weak_ref(arg1,arg2,arg3);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_object_weak_unref */
  SYX_FUNC_PRIMITIVE(Gtk_g_object_weak_unref)
  {
    GObject *arg1 = (GObject *) 0 ;
    GWeakNotify arg2 = (GWeakNotify) 0 ;
    gpointer arg3 = (gpointer) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GObject *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GWeakNotify, es->message_arguments[0])
    SWIG_FIRST_SELF(arg3, gpointer, es->message_arguments[1])
    g_object_weak_unref(arg1,arg2,arg3);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_object_add_weak_pointer */
  SYX_FUNC_PRIMITIVE(Gtk_g_object_add_weak_pointer)
  {
    GObject *arg1 = (GObject *) 0 ;
    gpointer *arg2 = (gpointer *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GObject *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, gpointer *, es->message_arguments[0])
    g_object_add_weak_pointer(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_object_remove_weak_pointer */
  SYX_FUNC_PRIMITIVE(Gtk_g_object_remove_weak_pointer)
  {
    GObject *arg1 = (GObject *) 0 ;
    gpointer *arg2 = (gpointer *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GObject *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, gpointer *, es->message_arguments[0])
    g_object_remove_weak_pointer(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_object_add_toggle_ref */
  SYX_FUNC_PRIMITIVE(Gtk_g_object_add_toggle_ref)
  {
    GObject *arg1 = (GObject *) 0 ;
    GToggleNotify arg2 = (GToggleNotify) 0 ;
    gpointer arg3 = (gpointer) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GObject *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GToggleNotify, es->message_arguments[0])
    SWIG_FIRST_SELF(arg3, gpointer, es->message_arguments[1])
    g_object_add_toggle_ref(arg1,arg2,arg3);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_object_remove_toggle_ref */
  SYX_FUNC_PRIMITIVE(Gtk_g_object_remove_toggle_ref)
  {
    GObject *arg1 = (GObject *) 0 ;
    GToggleNotify arg2 = (GToggleNotify) 0 ;
    gpointer arg3 = (gpointer) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GObject *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GToggleNotify, es->message_arguments[0])
    SWIG_FIRST_SELF(arg3, gpointer, es->message_arguments[1])
    g_object_remove_toggle_ref(arg1,arg2,arg3);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_object_get_qdata */
  SYX_FUNC_PRIMITIVE(Gtk_g_object_get_qdata)
  {
    GObject *arg1 = (GObject *) 0 ;
    GQuark arg2 ;
    gpointer result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GObject *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    result = (gpointer)g_object_get_qdata(arg1,arg2);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_object_set_qdata */
  SYX_FUNC_PRIMITIVE(Gtk_g_object_set_qdata)
  {
    GObject *arg1 = (GObject *) 0 ;
    GQuark arg2 ;
    gpointer arg3 = (gpointer) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GObject *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    SWIG_FIRST_SELF(arg3, gpointer, es->message_arguments[1])
    g_object_set_qdata(arg1,arg2,arg3);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_object_set_qdata_full */
  SYX_FUNC_PRIMITIVE(Gtk_g_object_set_qdata_full)
  {
    GObject *arg1 = (GObject *) 0 ;
    GQuark arg2 ;
    gpointer arg3 = (gpointer) 0 ;
    GDestroyNotify arg4 = (GDestroyNotify) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GObject *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    SWIG_FIRST_SELF(arg3, gpointer, es->message_arguments[1])
    SWIG_FIRST_SELF(arg4, GDestroyNotify, es->message_arguments[2])
    g_object_set_qdata_full(arg1,arg2,arg3,arg4);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_object_steal_qdata */
  SYX_FUNC_PRIMITIVE(Gtk_g_object_steal_qdata)
  {
    GObject *arg1 = (GObject *) 0 ;
    GQuark arg2 ;
    gpointer result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GObject *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    result = (gpointer)g_object_steal_qdata(arg1,arg2);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_object_get_data */
  SYX_FUNC_PRIMITIVE(Gtk_g_object_get_data)
  {
    GObject *arg1 = (GObject *) 0 ;
    gchar *arg2 = (gchar *) 0 ;
    gpointer result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GObject *, es->message_receiver)
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    result = (gpointer)g_object_get_data(arg1,(char const *)arg2);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_object_set_data */
  SYX_FUNC_PRIMITIVE(Gtk_g_object_set_data)
  {
    GObject *arg1 = (GObject *) 0 ;
    gchar *arg2 = (gchar *) 0 ;
    gpointer arg3 = (gpointer) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GObject *, es->message_receiver)
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    SWIG_FIRST_SELF(arg3, gpointer, es->message_arguments[1])
    g_object_set_data(arg1,(char const *)arg2,arg3);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_object_set_data_full */
  SYX_FUNC_PRIMITIVE(Gtk_g_object_set_data_full)
  {
    GObject *arg1 = (GObject *) 0 ;
    gchar *arg2 = (gchar *) 0 ;
    gpointer arg3 = (gpointer) 0 ;
    GDestroyNotify arg4 = (GDestroyNotify) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GObject *, es->message_receiver)
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    SWIG_FIRST_SELF(arg3, gpointer, es->message_arguments[1])
    SWIG_FIRST_SELF(arg4, GDestroyNotify, es->message_arguments[2])
    g_object_set_data_full(arg1,(char const *)arg2,arg3,arg4);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_object_steal_data */
  SYX_FUNC_PRIMITIVE(Gtk_g_object_steal_data)
  {
    GObject *arg1 = (GObject *) 0 ;
    gchar *arg2 = (gchar *) 0 ;
    gpointer result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GObject *, es->message_receiver)
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    result = (gpointer)g_object_steal_data(arg1,(char const *)arg2);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_object_watch_closure */
  SYX_FUNC_PRIMITIVE(Gtk_g_object_watch_closure)
  {
    GObject *arg1 = (GObject *) 0 ;
    GClosure *arg2 = (GClosure *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GObject *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GClosure *, es->message_arguments[0])
    g_object_watch_closure(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_cclosure_new_object */
  SYX_FUNC_PRIMITIVE(Gtk_g_cclosure_new_object)
  {
    GCallback arg1 = (GCallback) 0 ;
    GObject *arg2 = (GObject *) 0 ;
    GClosure *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GCallback, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GObject *, es->message_arguments[0])
    result = (GClosure *)g_cclosure_new_object(arg1,arg2);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_cclosure_new_object_swap */
  SYX_FUNC_PRIMITIVE(Gtk_g_cclosure_new_object_swap)
  {
    GCallback arg1 = (GCallback) 0 ;
    GObject *arg2 = (GObject *) 0 ;
    GClosure *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GCallback, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GObject *, es->message_arguments[0])
    result = (GClosure *)g_cclosure_new_object_swap(arg1,arg2);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_closure_new_object */
  SYX_FUNC_PRIMITIVE(Gtk_g_closure_new_object)
  {
    guint arg1 ;
    GObject *arg2 = (GObject *) 0 ;
    GClosure *result = 0 ;
    SyxOop result_oop;
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    SWIG_FIRST_SELF(arg2, GObject *, es->message_arguments[1])
    result = (GClosure *)g_closure_new_object(arg1,arg2);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_value_set_object */
  SYX_FUNC_PRIMITIVE(Gtk_g_value_set_object)
  {
    GValue *arg1 = (GValue *) 0 ;
    gpointer arg2 = (gpointer) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GValue *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, gpointer, es->message_arguments[0])
    g_value_set_object(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_value_get_object */
  SYX_FUNC_PRIMITIVE(Gtk_g_value_get_object)
  {
    GValue *arg1 = (GValue *) 0 ;
    gpointer result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GValue *, es->message_receiver)
    result = (gpointer)g_value_get_object((struct _GValue const *)arg1);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_value_dup_object */
  SYX_FUNC_PRIMITIVE(Gtk_g_value_dup_object)
  {
    GValue *arg1 = (GValue *) 0 ;
    gpointer result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GValue *, es->message_receiver)
    result = (gpointer)g_value_dup_object((struct _GValue const *)arg1);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_signal_connect_object */
  SYX_FUNC_PRIMITIVE(Gtk_g_signal_connect_object)
  {
    gpointer arg1 = (gpointer) 0 ;
    gchar *arg2 = (gchar *) 0 ;
    GCallback arg3 = (GCallback) 0 ;
    gpointer arg4 = (gpointer) 0 ;
    GConnectFlags arg5 ;
    gulong result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, gpointer, es->message_receiver)
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    SWIG_FIRST_SELF(arg3, GCallback, es->message_arguments[1])
    SWIG_FIRST_SELF(arg4, gpointer, es->message_arguments[2])
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[3]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg5 = SYX_SMALL_INTEGER(es->message_arguments[3]);
    
    result = (gulong)g_signal_connect_object(arg1,(char const *)arg2,arg3,arg4,arg5);
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_object_force_floating */
  SYX_FUNC_PRIMITIVE(Gtk_g_object_force_floating)
  {
    GObject *arg1 = (GObject *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GObject *, es->message_receiver)
    g_object_force_floating(arg1);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_object_run_dispose */
  SYX_FUNC_PRIMITIVE(Gtk_g_object_run_dispose)
  {
    GObject *arg1 = (GObject *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GObject *, es->message_receiver)
    g_object_run_dispose(arg1);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_value_take_object */
  SYX_FUNC_PRIMITIVE(Gtk_g_value_take_object)
  {
    GValue *arg1 = (GValue *) 0 ;
    gpointer arg2 = (gpointer) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GValue *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, gpointer, es->message_arguments[0])
    g_value_take_object(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_value_set_object_take_ownership */
  SYX_FUNC_PRIMITIVE(Gtk_g_value_set_object_take_ownership)
  {
    GValue *arg1 = (GValue *) 0 ;
    gpointer arg2 = (gpointer) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GValue *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, gpointer, es->message_arguments[0])
    g_value_set_object_take_ownership(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: g_object_compat_control */
  SYX_FUNC_PRIMITIVE(Gtk_g_object_compat_control)
  {
    gsize arg1 ;
    gpointer arg2 = (gpointer) 0 ;
    gsize result;
    SyxOop result_oop;
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    SWIG_FIRST_SELF(arg2, gpointer, es->message_arguments[1])
    result = (gsize)g_object_compat_control(arg1,arg2);
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: new__GdkPoint */
  SYX_FUNC_PRIMITIVE(Gtk_new__GdkPoint)
  {
    struct _GdkPoint *result = 0 ;
    SyxOop result_oop;
    
    result = (struct _GdkPoint *)(struct _GdkPoint *) calloc(1, sizeof(struct _GdkPoint));
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: delete__GdkPoint */
  SYX_FUNC_PRIMITIVE(Gtk_delete__GdkPoint)
  {
    struct _GdkPoint *arg1 = (struct _GdkPoint *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, struct _GdkPoint *, es->message_receiver)
    free((char *) arg1);
    
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: new__GdkRectangle */
  SYX_FUNC_PRIMITIVE(Gtk_new__GdkRectangle)
  {
    struct _GdkRectangle *result = 0 ;
    SyxOop result_oop;
    
    result = (struct _GdkRectangle *)(struct _GdkRectangle *) calloc(1, sizeof(struct _GdkRectangle));
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: delete__GdkRectangle */
  SYX_FUNC_PRIMITIVE(Gtk_delete__GdkRectangle)
  {
    struct _GdkRectangle *arg1 = (struct _GdkRectangle *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, struct _GdkRectangle *, es->message_receiver)
    free((char *) arg1);
    
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: new__GdkSegment */
  SYX_FUNC_PRIMITIVE(Gtk_new__GdkSegment)
  {
    struct _GdkSegment *result = 0 ;
    SyxOop result_oop;
    
    result = (struct _GdkSegment *)(struct _GdkSegment *) calloc(1, sizeof(struct _GdkSegment));
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: delete__GdkSegment */
  SYX_FUNC_PRIMITIVE(Gtk_delete__GdkSegment)
  {
    struct _GdkSegment *arg1 = (struct _GdkSegment *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, struct _GdkSegment *, es->message_receiver)
    free((char *) arg1);
    
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: new__GdkSpan */
  SYX_FUNC_PRIMITIVE(Gtk_new__GdkSpan)
  {
    struct _GdkSpan *result = 0 ;
    SyxOop result_oop;
    
    result = (struct _GdkSpan *)(struct _GdkSpan *) calloc(1, sizeof(struct _GdkSpan));
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: delete__GdkSpan */
  SYX_FUNC_PRIMITIVE(Gtk_delete__GdkSpan)
  {
    struct _GdkSpan *arg1 = (struct _GdkSpan *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, struct _GdkSpan *, es->message_receiver)
    free((char *) arg1);
    
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: new__GdkDeviceKey */
  SYX_FUNC_PRIMITIVE(Gtk_new__GdkDeviceKey)
  {
    struct _GdkDeviceKey *result = 0 ;
    SyxOop result_oop;
    
    result = (struct _GdkDeviceKey *)(struct _GdkDeviceKey *) calloc(1, sizeof(struct _GdkDeviceKey));
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: delete__GdkDeviceKey */
  SYX_FUNC_PRIMITIVE(Gtk_delete__GdkDeviceKey)
  {
    struct _GdkDeviceKey *arg1 = (struct _GdkDeviceKey *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, struct _GdkDeviceKey *, es->message_receiver)
    free((char *) arg1);
    
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: new__GdkDeviceAxis */
  SYX_FUNC_PRIMITIVE(Gtk_new__GdkDeviceAxis)
  {
    struct _GdkDeviceAxis *result = 0 ;
    SyxOop result_oop;
    
    result = (struct _GdkDeviceAxis *)(struct _GdkDeviceAxis *) calloc(1, sizeof(struct _GdkDeviceAxis));
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: delete__GdkDeviceAxis */
  SYX_FUNC_PRIMITIVE(Gtk_delete__GdkDeviceAxis)
  {
    struct _GdkDeviceAxis *arg1 = (struct _GdkDeviceAxis *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, struct _GdkDeviceAxis *, es->message_receiver)
    free((char *) arg1);
    
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: new__GdkDevice */
  SYX_FUNC_PRIMITIVE(Gtk_new__GdkDevice)
  {
    struct _GdkDevice *result = 0 ;
    SyxOop result_oop;
    
    result = (struct _GdkDevice *)(struct _GdkDevice *) calloc(1, sizeof(struct _GdkDevice));
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: delete__GdkDevice */
  SYX_FUNC_PRIMITIVE(Gtk_delete__GdkDevice)
  {
    struct _GdkDevice *arg1 = (struct _GdkDevice *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, struct _GdkDevice *, es->message_receiver)
    free((char *) arg1);
    
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: new__GdkTimeCoord */
  SYX_FUNC_PRIMITIVE(Gtk_new__GdkTimeCoord)
  {
    struct _GdkTimeCoord *result = 0 ;
    SyxOop result_oop;
    
    result = (struct _GdkTimeCoord *)(struct _GdkTimeCoord *) calloc(1, sizeof(struct _GdkTimeCoord));
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: delete__GdkTimeCoord */
  SYX_FUNC_PRIMITIVE(Gtk_delete__GdkTimeCoord)
  {
    struct _GdkTimeCoord *arg1 = (struct _GdkTimeCoord *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, struct _GdkTimeCoord *, es->message_receiver)
    free((char *) arg1);
    
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_device_get_type */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_device_get_type)
  {
    GType result;
    SyxOop result_oop;
    
    result = (GType)gdk_device_get_type();
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_devices_list */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_devices_list)
  {
    GList *result = 0 ;
    SyxOop result_oop;
    
    result = (GList *)gdk_devices_list();
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_device_set_source */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_device_set_source)
  {
    GdkDevice *arg1 = (GdkDevice *) 0 ;
    GdkInputSource arg2 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkDevice *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    gdk_device_set_source(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_device_set_mode */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_device_set_mode)
  {
    GdkDevice *arg1 = (GdkDevice *) 0 ;
    GdkInputMode arg2 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkDevice *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    result = gdk_device_set_mode(arg1,arg2);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_device_set_key */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_device_set_key)
  {
    GdkDevice *arg1 = (GdkDevice *) 0 ;
    guint arg2 ;
    guint arg3 ;
    GdkModifierType arg4 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkDevice *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg3 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[2]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg4 = SYX_SMALL_INTEGER(es->message_arguments[2]);
    
    gdk_device_set_key(arg1,arg2,arg3,arg4);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_device_set_axis_use */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_device_set_axis_use)
  {
    GdkDevice *arg1 = (GdkDevice *) 0 ;
    guint arg2 ;
    GdkAxisUse arg3 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkDevice *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg3 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    gdk_device_set_axis_use(arg1,arg2,arg3);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_device_get_state */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_device_get_state)
  {
    GdkDevice *arg1 = (GdkDevice *) 0 ;
    GdkWindow *arg2 = (GdkWindow *) 0 ;
    gdouble *arg3 = (gdouble *) 0 ;
    GdkModifierType *arg4 = (GdkModifierType *) 0 ;
    double temp3 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkDevice *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GdkWindow *, es->message_arguments[0])
    
    temp3 = (double) SYX_OBJECT_FLOAT(es->message_arguments[1]);
    arg3 = &temp3;
    
    SWIG_FIRST_SELF(arg4, GdkModifierType *, es->message_arguments[2])
  #undef SWIG_APPEND_VALUE
  #define SWIG_APPEND_VALUE _SWIG_APPEND_RESULT
    int num_values = 0;
    result_oop = syx_array_new_size (2);
    gdk_device_get_state(arg1,arg2,arg3,arg4);
    SWIG_APPEND_VALUE (es->message_receiver);
    SWIG_APPEND_VALUE (syx_float_new(*arg3));
    SYX_PRIM_RETURN (result_oop);
  #undef SWIG_APPEND_VALUE
  #define SWIG_APPEND_VALUE _SWIG_SET_RESULT
  }
  
  
  /* Module: Gtk Function: gdk_device_get_history */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_device_get_history)
  {
    GdkDevice *arg1 = (GdkDevice *) 0 ;
    GdkWindow *arg2 = (GdkWindow *) 0 ;
    guint32 arg3 ;
    guint32 arg4 ;
    GdkTimeCoord ***arg5 = (GdkTimeCoord ***) 0 ;
    gint *arg6 = (gint *) 0 ;
    gboolean result;
    int temp6 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkDevice *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GdkWindow *, es->message_arguments[0])
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg3 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[2]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg4 = SYX_SMALL_INTEGER(es->message_arguments[2]);
    
    SWIG_FIRST_SELF(arg5, GdkTimeCoord ***, es->message_arguments[3])
    
    temp6 = (int) SYX_SMALL_INTEGER(es->message_arguments[4]);
    arg6 = &temp6;
    
  #undef SWIG_APPEND_VALUE
  #define SWIG_APPEND_VALUE _SWIG_APPEND_RESULT
    int num_values = 0;
    result_oop = syx_array_new_size (2);
    result = gdk_device_get_history(arg1,arg2,arg3,arg4,arg5,arg6);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SWIG_APPEND_VALUE (syx_small_integer_new(*arg6));
    SYX_PRIM_RETURN (result_oop);
  #undef SWIG_APPEND_VALUE
  #define SWIG_APPEND_VALUE _SWIG_SET_RESULT
  }
  
  
  /* Module: Gtk Function: gdk_device_free_history */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_device_free_history)
  {
    GdkTimeCoord **arg1 = (GdkTimeCoord **) 0 ;
    gint arg2 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkTimeCoord **, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    gdk_device_free_history(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_device_get_axis */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_device_get_axis)
  {
    GdkDevice *arg1 = (GdkDevice *) 0 ;
    gdouble *arg2 = (gdouble *) 0 ;
    GdkAxisUse arg3 ;
    gdouble *arg4 = (gdouble *) 0 ;
    gboolean result;
    double temp2 ;
    double temp4 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkDevice *, es->message_receiver)
    
    temp2 = (double) SYX_OBJECT_FLOAT(es->message_arguments[0]);
    arg2 = &temp2;
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg3 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    
    temp4 = (double) SYX_OBJECT_FLOAT(es->message_arguments[2]);
    arg4 = &temp4;
    
  #undef SWIG_APPEND_VALUE
  #define SWIG_APPEND_VALUE _SWIG_APPEND_RESULT
    int num_values = 0;
    result_oop = syx_array_new_size (3);
    result = gdk_device_get_axis(arg1,arg2,arg3,arg4);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SWIG_APPEND_VALUE (syx_float_new(*arg2));
    SWIG_APPEND_VALUE (syx_float_new(*arg4));
    SYX_PRIM_RETURN (result_oop);
  #undef SWIG_APPEND_VALUE
  #define SWIG_APPEND_VALUE _SWIG_SET_RESULT
  }
  
  
  /* Module: Gtk Function: gdk_input_set_extension_events */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_input_set_extension_events)
  {
    GdkWindow *arg1 = (GdkWindow *) 0 ;
    gint arg2 ;
    GdkExtensionMode arg3 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkWindow *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg3 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    gdk_input_set_extension_events(arg1,arg2,arg3);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_device_get_core_pointer */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_device_get_core_pointer)
  {
    GdkDevice *result = 0 ;
    SyxOop result_oop;
    
    result = (GdkDevice *)gdk_device_get_core_pointer();
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: new__GdkEventAny */
  SYX_FUNC_PRIMITIVE(Gtk_new__GdkEventAny)
  {
    struct _GdkEventAny *result = 0 ;
    SyxOop result_oop;
    
    result = (struct _GdkEventAny *)(struct _GdkEventAny *) calloc(1, sizeof(struct _GdkEventAny));
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: delete__GdkEventAny */
  SYX_FUNC_PRIMITIVE(Gtk_delete__GdkEventAny)
  {
    struct _GdkEventAny *arg1 = (struct _GdkEventAny *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, struct _GdkEventAny *, es->message_receiver)
    free((char *) arg1);
    
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: new__GdkEventExpose */
  SYX_FUNC_PRIMITIVE(Gtk_new__GdkEventExpose)
  {
    struct _GdkEventExpose *result = 0 ;
    SyxOop result_oop;
    
    result = (struct _GdkEventExpose *)(struct _GdkEventExpose *) calloc(1, sizeof(struct _GdkEventExpose));
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: delete__GdkEventExpose */
  SYX_FUNC_PRIMITIVE(Gtk_delete__GdkEventExpose)
  {
    struct _GdkEventExpose *arg1 = (struct _GdkEventExpose *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, struct _GdkEventExpose *, es->message_receiver)
    free((char *) arg1);
    
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: new__GdkEventNoExpose */
  SYX_FUNC_PRIMITIVE(Gtk_new__GdkEventNoExpose)
  {
    struct _GdkEventNoExpose *result = 0 ;
    SyxOop result_oop;
    
    result = (struct _GdkEventNoExpose *)(struct _GdkEventNoExpose *) calloc(1, sizeof(struct _GdkEventNoExpose));
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: delete__GdkEventNoExpose */
  SYX_FUNC_PRIMITIVE(Gtk_delete__GdkEventNoExpose)
  {
    struct _GdkEventNoExpose *arg1 = (struct _GdkEventNoExpose *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, struct _GdkEventNoExpose *, es->message_receiver)
    free((char *) arg1);
    
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: new__GdkEventVisibility */
  SYX_FUNC_PRIMITIVE(Gtk_new__GdkEventVisibility)
  {
    struct _GdkEventVisibility *result = 0 ;
    SyxOop result_oop;
    
    result = (struct _GdkEventVisibility *)(struct _GdkEventVisibility *) calloc(1, sizeof(struct _GdkEventVisibility));
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: delete__GdkEventVisibility */
  SYX_FUNC_PRIMITIVE(Gtk_delete__GdkEventVisibility)
  {
    struct _GdkEventVisibility *arg1 = (struct _GdkEventVisibility *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, struct _GdkEventVisibility *, es->message_receiver)
    free((char *) arg1);
    
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: new__GdkEventMotion */
  SYX_FUNC_PRIMITIVE(Gtk_new__GdkEventMotion)
  {
    struct _GdkEventMotion *result = 0 ;
    SyxOop result_oop;
    
    result = (struct _GdkEventMotion *)(struct _GdkEventMotion *) calloc(1, sizeof(struct _GdkEventMotion));
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: delete__GdkEventMotion */
  SYX_FUNC_PRIMITIVE(Gtk_delete__GdkEventMotion)
  {
    struct _GdkEventMotion *arg1 = (struct _GdkEventMotion *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, struct _GdkEventMotion *, es->message_receiver)
    free((char *) arg1);
    
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: new__GdkEventButton */
  SYX_FUNC_PRIMITIVE(Gtk_new__GdkEventButton)
  {
    struct _GdkEventButton *result = 0 ;
    SyxOop result_oop;
    
    result = (struct _GdkEventButton *)(struct _GdkEventButton *) calloc(1, sizeof(struct _GdkEventButton));
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: delete__GdkEventButton */
  SYX_FUNC_PRIMITIVE(Gtk_delete__GdkEventButton)
  {
    struct _GdkEventButton *arg1 = (struct _GdkEventButton *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, struct _GdkEventButton *, es->message_receiver)
    free((char *) arg1);
    
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: new__GdkEventScroll */
  SYX_FUNC_PRIMITIVE(Gtk_new__GdkEventScroll)
  {
    struct _GdkEventScroll *result = 0 ;
    SyxOop result_oop;
    
    result = (struct _GdkEventScroll *)(struct _GdkEventScroll *) calloc(1, sizeof(struct _GdkEventScroll));
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: delete__GdkEventScroll */
  SYX_FUNC_PRIMITIVE(Gtk_delete__GdkEventScroll)
  {
    struct _GdkEventScroll *arg1 = (struct _GdkEventScroll *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, struct _GdkEventScroll *, es->message_receiver)
    free((char *) arg1);
    
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: new__GdkEventKey */
  SYX_FUNC_PRIMITIVE(Gtk_new__GdkEventKey)
  {
    struct _GdkEventKey *result = 0 ;
    SyxOop result_oop;
    
    result = (struct _GdkEventKey *)(struct _GdkEventKey *) calloc(1, sizeof(struct _GdkEventKey));
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: delete__GdkEventKey */
  SYX_FUNC_PRIMITIVE(Gtk_delete__GdkEventKey)
  {
    struct _GdkEventKey *arg1 = (struct _GdkEventKey *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, struct _GdkEventKey *, es->message_receiver)
    free((char *) arg1);
    
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: new__GdkEventCrossing */
  SYX_FUNC_PRIMITIVE(Gtk_new__GdkEventCrossing)
  {
    struct _GdkEventCrossing *result = 0 ;
    SyxOop result_oop;
    
    result = (struct _GdkEventCrossing *)(struct _GdkEventCrossing *) calloc(1, sizeof(struct _GdkEventCrossing));
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: delete__GdkEventCrossing */
  SYX_FUNC_PRIMITIVE(Gtk_delete__GdkEventCrossing)
  {
    struct _GdkEventCrossing *arg1 = (struct _GdkEventCrossing *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, struct _GdkEventCrossing *, es->message_receiver)
    free((char *) arg1);
    
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: new__GdkEventFocus */
  SYX_FUNC_PRIMITIVE(Gtk_new__GdkEventFocus)
  {
    struct _GdkEventFocus *result = 0 ;
    SyxOop result_oop;
    
    result = (struct _GdkEventFocus *)(struct _GdkEventFocus *) calloc(1, sizeof(struct _GdkEventFocus));
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: delete__GdkEventFocus */
  SYX_FUNC_PRIMITIVE(Gtk_delete__GdkEventFocus)
  {
    struct _GdkEventFocus *arg1 = (struct _GdkEventFocus *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, struct _GdkEventFocus *, es->message_receiver)
    free((char *) arg1);
    
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: new__GdkEventConfigure */
  SYX_FUNC_PRIMITIVE(Gtk_new__GdkEventConfigure)
  {
    struct _GdkEventConfigure *result = 0 ;
    SyxOop result_oop;
    
    result = (struct _GdkEventConfigure *)(struct _GdkEventConfigure *) calloc(1, sizeof(struct _GdkEventConfigure));
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: delete__GdkEventConfigure */
  SYX_FUNC_PRIMITIVE(Gtk_delete__GdkEventConfigure)
  {
    struct _GdkEventConfigure *arg1 = (struct _GdkEventConfigure *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, struct _GdkEventConfigure *, es->message_receiver)
    free((char *) arg1);
    
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: new__GdkEventProperty */
  SYX_FUNC_PRIMITIVE(Gtk_new__GdkEventProperty)
  {
    struct _GdkEventProperty *result = 0 ;
    SyxOop result_oop;
    
    result = (struct _GdkEventProperty *)(struct _GdkEventProperty *) calloc(1, sizeof(struct _GdkEventProperty));
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: delete__GdkEventProperty */
  SYX_FUNC_PRIMITIVE(Gtk_delete__GdkEventProperty)
  {
    struct _GdkEventProperty *arg1 = (struct _GdkEventProperty *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, struct _GdkEventProperty *, es->message_receiver)
    free((char *) arg1);
    
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: new__GdkEventSelection */
  SYX_FUNC_PRIMITIVE(Gtk_new__GdkEventSelection)
  {
    struct _GdkEventSelection *result = 0 ;
    SyxOop result_oop;
    
    result = (struct _GdkEventSelection *)(struct _GdkEventSelection *) calloc(1, sizeof(struct _GdkEventSelection));
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: delete__GdkEventSelection */
  SYX_FUNC_PRIMITIVE(Gtk_delete__GdkEventSelection)
  {
    struct _GdkEventSelection *arg1 = (struct _GdkEventSelection *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, struct _GdkEventSelection *, es->message_receiver)
    free((char *) arg1);
    
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: new__GdkEventOwnerChange */
  SYX_FUNC_PRIMITIVE(Gtk_new__GdkEventOwnerChange)
  {
    struct _GdkEventOwnerChange *result = 0 ;
    SyxOop result_oop;
    
    result = (struct _GdkEventOwnerChange *)(struct _GdkEventOwnerChange *) calloc(1, sizeof(struct _GdkEventOwnerChange));
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: delete__GdkEventOwnerChange */
  SYX_FUNC_PRIMITIVE(Gtk_delete__GdkEventOwnerChange)
  {
    struct _GdkEventOwnerChange *arg1 = (struct _GdkEventOwnerChange *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, struct _GdkEventOwnerChange *, es->message_receiver)
    free((char *) arg1);
    
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: new__GdkEventProximity */
  SYX_FUNC_PRIMITIVE(Gtk_new__GdkEventProximity)
  {
    struct _GdkEventProximity *result = 0 ;
    SyxOop result_oop;
    
    result = (struct _GdkEventProximity *)(struct _GdkEventProximity *) calloc(1, sizeof(struct _GdkEventProximity));
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: delete__GdkEventProximity */
  SYX_FUNC_PRIMITIVE(Gtk_delete__GdkEventProximity)
  {
    struct _GdkEventProximity *arg1 = (struct _GdkEventProximity *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, struct _GdkEventProximity *, es->message_receiver)
    free((char *) arg1);
    
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: new__GdkEventClient */
  SYX_FUNC_PRIMITIVE(Gtk_new__GdkEventClient)
  {
    struct _GdkEventClient *result = 0 ;
    SyxOop result_oop;
    
    result = (struct _GdkEventClient *)(struct _GdkEventClient *) calloc(1, sizeof(struct _GdkEventClient));
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: delete__GdkEventClient */
  SYX_FUNC_PRIMITIVE(Gtk_delete__GdkEventClient)
  {
    struct _GdkEventClient *arg1 = (struct _GdkEventClient *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, struct _GdkEventClient *, es->message_receiver)
    free((char *) arg1);
    
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: new__GdkEventClient_data */
  SYX_FUNC_PRIMITIVE(Gtk_new__GdkEventClient_data)
  {
    _GdkEventClient_data *result = 0 ;
    SyxOop result_oop;
    
    result = (_GdkEventClient_data *)(_GdkEventClient_data *) calloc(1, sizeof(_GdkEventClient_data));
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: delete__GdkEventClient_data */
  SYX_FUNC_PRIMITIVE(Gtk_delete__GdkEventClient_data)
  {
    _GdkEventClient_data *arg1 = (_GdkEventClient_data *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, _GdkEventClient_data *, es->message_receiver)
    free((char *) arg1);
    
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: new__GdkEventSetting */
  SYX_FUNC_PRIMITIVE(Gtk_new__GdkEventSetting)
  {
    struct _GdkEventSetting *result = 0 ;
    SyxOop result_oop;
    
    result = (struct _GdkEventSetting *)(struct _GdkEventSetting *) calloc(1, sizeof(struct _GdkEventSetting));
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: delete__GdkEventSetting */
  SYX_FUNC_PRIMITIVE(Gtk_delete__GdkEventSetting)
  {
    struct _GdkEventSetting *arg1 = (struct _GdkEventSetting *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, struct _GdkEventSetting *, es->message_receiver)
    free((char *) arg1);
    
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: new__GdkEventWindowState */
  SYX_FUNC_PRIMITIVE(Gtk_new__GdkEventWindowState)
  {
    struct _GdkEventWindowState *result = 0 ;
    SyxOop result_oop;
    
    result = (struct _GdkEventWindowState *)(struct _GdkEventWindowState *) calloc(1, sizeof(struct _GdkEventWindowState));
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: delete__GdkEventWindowState */
  SYX_FUNC_PRIMITIVE(Gtk_delete__GdkEventWindowState)
  {
    struct _GdkEventWindowState *arg1 = (struct _GdkEventWindowState *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, struct _GdkEventWindowState *, es->message_receiver)
    free((char *) arg1);
    
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: new__GdkEventGrabBroken */
  SYX_FUNC_PRIMITIVE(Gtk_new__GdkEventGrabBroken)
  {
    struct _GdkEventGrabBroken *result = 0 ;
    SyxOop result_oop;
    
    result = (struct _GdkEventGrabBroken *)(struct _GdkEventGrabBroken *) calloc(1, sizeof(struct _GdkEventGrabBroken));
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: delete__GdkEventGrabBroken */
  SYX_FUNC_PRIMITIVE(Gtk_delete__GdkEventGrabBroken)
  {
    struct _GdkEventGrabBroken *arg1 = (struct _GdkEventGrabBroken *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, struct _GdkEventGrabBroken *, es->message_receiver)
    free((char *) arg1);
    
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: new__GdkEventDND */
  SYX_FUNC_PRIMITIVE(Gtk_new__GdkEventDND)
  {
    struct _GdkEventDND *result = 0 ;
    SyxOop result_oop;
    
    result = (struct _GdkEventDND *)(struct _GdkEventDND *) calloc(1, sizeof(struct _GdkEventDND));
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: delete__GdkEventDND */
  SYX_FUNC_PRIMITIVE(Gtk_delete__GdkEventDND)
  {
    struct _GdkEventDND *arg1 = (struct _GdkEventDND *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, struct _GdkEventDND *, es->message_receiver)
    free((char *) arg1);
    
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: new__GdkEvent */
  SYX_FUNC_PRIMITIVE(Gtk_new__GdkEvent)
  {
    union _GdkEvent *result = 0 ;
    SyxOop result_oop;
    
    result = (union _GdkEvent *)(union _GdkEvent *) calloc(1, sizeof(union _GdkEvent));
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: delete__GdkEvent */
  SYX_FUNC_PRIMITIVE(Gtk_delete__GdkEvent)
  {
    union _GdkEvent *arg1 = (union _GdkEvent *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, union _GdkEvent *, es->message_receiver)
    free((char *) arg1);
    
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_event_get_type */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_event_get_type)
  {
    GType result;
    SyxOop result_oop;
    
    result = (GType)gdk_event_get_type();
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_events_pending */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_events_pending)
  {
    gboolean result;
    SyxOop result_oop;
    
    result = gdk_events_pending();
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_event_get */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_event_get)
  {
    GdkEvent *result = 0 ;
    SyxOop result_oop;
    
    result = (GdkEvent *)gdk_event_get();
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_event_peek */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_event_peek)
  {
    GdkEvent *result = 0 ;
    SyxOop result_oop;
    
    result = (GdkEvent *)gdk_event_peek();
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_event_get_graphics_expose */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_event_get_graphics_expose)
  {
    GdkWindow *arg1 = (GdkWindow *) 0 ;
    GdkEvent *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkWindow *, es->message_receiver)
    result = (GdkEvent *)gdk_event_get_graphics_expose(arg1);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_event_put */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_event_put)
  {
    GdkEvent *arg1 = (GdkEvent *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkEvent *, es->message_receiver)
    gdk_event_put(arg1);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_event_new */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_event_new)
  {
    GdkEventType arg1 ;
    GdkEvent *result = 0 ;
    SyxOop result_oop;
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    result = (GdkEvent *)gdk_event_new(arg1);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_event_copy */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_event_copy)
  {
    GdkEvent *arg1 = (GdkEvent *) 0 ;
    GdkEvent *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkEvent *, es->message_receiver)
    result = (GdkEvent *)gdk_event_copy(arg1);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_event_free */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_event_free)
  {
    GdkEvent *arg1 = (GdkEvent *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkEvent *, es->message_receiver)
    gdk_event_free(arg1);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_event_get_time */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_event_get_time)
  {
    GdkEvent *arg1 = (GdkEvent *) 0 ;
    guint32 result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkEvent *, es->message_receiver)
    result = (guint32)gdk_event_get_time(arg1);
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_event_get_state */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_event_get_state)
  {
    GdkEvent *arg1 = (GdkEvent *) 0 ;
    GdkModifierType *arg2 = (GdkModifierType *) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkEvent *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GdkModifierType *, es->message_arguments[0])
    result = gdk_event_get_state(arg1,arg2);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_event_get_coords */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_event_get_coords)
  {
    GdkEvent *arg1 = (GdkEvent *) 0 ;
    gdouble *arg2 = (gdouble *) 0 ;
    gdouble *arg3 = (gdouble *) 0 ;
    gboolean result;
    double temp2 ;
    double temp3 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkEvent *, es->message_receiver)
    
    temp2 = (double) SYX_OBJECT_FLOAT(es->message_arguments[0]);
    arg2 = &temp2;
    
    
    temp3 = (double) SYX_OBJECT_FLOAT(es->message_arguments[1]);
    arg3 = &temp3;
    
  #undef SWIG_APPEND_VALUE
  #define SWIG_APPEND_VALUE _SWIG_APPEND_RESULT
    int num_values = 0;
    result_oop = syx_array_new_size (3);
    result = gdk_event_get_coords(arg1,arg2,arg3);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SWIG_APPEND_VALUE (syx_float_new(*arg2));
    SWIG_APPEND_VALUE (syx_float_new(*arg3));
    SYX_PRIM_RETURN (result_oop);
  #undef SWIG_APPEND_VALUE
  #define SWIG_APPEND_VALUE _SWIG_SET_RESULT
  }
  
  
  /* Module: Gtk Function: gdk_event_get_root_coords */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_event_get_root_coords)
  {
    GdkEvent *arg1 = (GdkEvent *) 0 ;
    gdouble *arg2 = (gdouble *) 0 ;
    gdouble *arg3 = (gdouble *) 0 ;
    gboolean result;
    double temp2 ;
    double temp3 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkEvent *, es->message_receiver)
    
    temp2 = (double) SYX_OBJECT_FLOAT(es->message_arguments[0]);
    arg2 = &temp2;
    
    
    temp3 = (double) SYX_OBJECT_FLOAT(es->message_arguments[1]);
    arg3 = &temp3;
    
  #undef SWIG_APPEND_VALUE
  #define SWIG_APPEND_VALUE _SWIG_APPEND_RESULT
    int num_values = 0;
    result_oop = syx_array_new_size (3);
    result = gdk_event_get_root_coords(arg1,arg2,arg3);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SWIG_APPEND_VALUE (syx_float_new(*arg2));
    SWIG_APPEND_VALUE (syx_float_new(*arg3));
    SYX_PRIM_RETURN (result_oop);
  #undef SWIG_APPEND_VALUE
  #define SWIG_APPEND_VALUE _SWIG_SET_RESULT
  }
  
  
  /* Module: Gtk Function: gdk_event_get_axis */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_event_get_axis)
  {
    GdkEvent *arg1 = (GdkEvent *) 0 ;
    GdkAxisUse arg2 ;
    gdouble *arg3 = (gdouble *) 0 ;
    gboolean result;
    double temp3 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkEvent *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    
    temp3 = (double) SYX_OBJECT_FLOAT(es->message_arguments[1]);
    arg3 = &temp3;
    
  #undef SWIG_APPEND_VALUE
  #define SWIG_APPEND_VALUE _SWIG_APPEND_RESULT
    int num_values = 0;
    result_oop = syx_array_new_size (2);
    result = gdk_event_get_axis(arg1,arg2,arg3);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SWIG_APPEND_VALUE (syx_float_new(*arg3));
    SYX_PRIM_RETURN (result_oop);
  #undef SWIG_APPEND_VALUE
  #define SWIG_APPEND_VALUE _SWIG_SET_RESULT
  }
  
  
  /* Module: Gtk Function: gdk_event_request_motions */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_event_request_motions)
  {
    GdkEventMotion *arg1 = (GdkEventMotion *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkEventMotion *, es->message_receiver)
    gdk_event_request_motions(arg1);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_event_handler_set */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_event_handler_set)
  {
    GdkEventFunc arg1 = (GdkEventFunc) 0 ;
    gpointer arg2 = (gpointer) 0 ;
    GDestroyNotify arg3 = (GDestroyNotify) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkEventFunc, es->message_receiver)
    SWIG_FIRST_SELF(arg2, gpointer, es->message_arguments[0])
    SWIG_FIRST_SELF(arg3, GDestroyNotify, es->message_arguments[1])
    gdk_event_handler_set(arg1,arg2,arg3);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_event_set_screen */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_event_set_screen)
  {
    GdkEvent *arg1 = (GdkEvent *) 0 ;
    GdkScreen *arg2 = (GdkScreen *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkEvent *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GdkScreen *, es->message_arguments[0])
    gdk_event_set_screen(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_event_get_screen */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_event_get_screen)
  {
    GdkEvent *arg1 = (GdkEvent *) 0 ;
    GdkScreen *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkEvent *, es->message_receiver)
    result = (GdkScreen *)gdk_event_get_screen(arg1);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_set_show_events */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_set_show_events)
  {
    gboolean arg1 ;
    SyxOop result_oop;
    
    
    if (!SYX_IS_BOOLEAN(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_IS_TRUE(es->message_arguments[0]);
    
    gdk_set_show_events(arg1);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_get_show_events */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_get_show_events)
  {
    gboolean result;
    SyxOop result_oop;
    
    result = gdk_get_show_events();
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_add_client_message_filter */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_add_client_message_filter)
  {
    GdkAtom arg1 = (GdkAtom) 0 ;
    GdkFilterFunc arg2 = (GdkFilterFunc) 0 ;
    gpointer arg3 = (gpointer) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkAtom, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GdkFilterFunc, es->message_arguments[0])
    SWIG_FIRST_SELF(arg3, gpointer, es->message_arguments[1])
    gdk_add_client_message_filter(arg1,arg2,arg3);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_setting_get */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_setting_get)
  {
    gchar *arg1 = (gchar *) 0 ;
    GValue *arg2 = (GValue *) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    SWIG_FIRST_SELF(arg2, GValue *, es->message_arguments[1])
    result = gdk_setting_get((char const *)arg1,arg2);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: new__GdkWindowAttr */
  SYX_FUNC_PRIMITIVE(Gtk_new__GdkWindowAttr)
  {
    struct _GdkWindowAttr *result = 0 ;
    SyxOop result_oop;
    
    result = (struct _GdkWindowAttr *)(struct _GdkWindowAttr *) calloc(1, sizeof(struct _GdkWindowAttr));
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: delete__GdkWindowAttr */
  SYX_FUNC_PRIMITIVE(Gtk_delete__GdkWindowAttr)
  {
    struct _GdkWindowAttr *arg1 = (struct _GdkWindowAttr *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, struct _GdkWindowAttr *, es->message_receiver)
    free((char *) arg1);
    
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: new__GdkGeometry */
  SYX_FUNC_PRIMITIVE(Gtk_new__GdkGeometry)
  {
    struct _GdkGeometry *result = 0 ;
    SyxOop result_oop;
    
    result = (struct _GdkGeometry *)(struct _GdkGeometry *) calloc(1, sizeof(struct _GdkGeometry));
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: delete__GdkGeometry */
  SYX_FUNC_PRIMITIVE(Gtk_delete__GdkGeometry)
  {
    struct _GdkGeometry *arg1 = (struct _GdkGeometry *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, struct _GdkGeometry *, es->message_receiver)
    free((char *) arg1);
    
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: new__GdkPointerHooks */
  SYX_FUNC_PRIMITIVE(Gtk_new__GdkPointerHooks)
  {
    struct _GdkPointerHooks *result = 0 ;
    SyxOop result_oop;
    
    result = (struct _GdkPointerHooks *)(struct _GdkPointerHooks *) calloc(1, sizeof(struct _GdkPointerHooks));
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: delete__GdkPointerHooks */
  SYX_FUNC_PRIMITIVE(Gtk_delete__GdkPointerHooks)
  {
    struct _GdkPointerHooks *arg1 = (struct _GdkPointerHooks *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, struct _GdkPointerHooks *, es->message_receiver)
    free((char *) arg1);
    
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: new__GdkWindowObject */
  SYX_FUNC_PRIMITIVE(Gtk_new__GdkWindowObject)
  {
    struct _GdkWindowObject *result = 0 ;
    SyxOop result_oop;
    
    result = (struct _GdkWindowObject *)(struct _GdkWindowObject *) calloc(1, sizeof(struct _GdkWindowObject));
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: delete__GdkWindowObject */
  SYX_FUNC_PRIMITIVE(Gtk_delete__GdkWindowObject)
  {
    struct _GdkWindowObject *arg1 = (struct _GdkWindowObject *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, struct _GdkWindowObject *, es->message_receiver)
    free((char *) arg1);
    
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: new__GdkWindowObjectClass */
  SYX_FUNC_PRIMITIVE(Gtk_new__GdkWindowObjectClass)
  {
    struct _GdkWindowObjectClass *result = 0 ;
    SyxOop result_oop;
    
    result = (struct _GdkWindowObjectClass *)(struct _GdkWindowObjectClass *) calloc(1, sizeof(struct _GdkWindowObjectClass));
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: delete__GdkWindowObjectClass */
  SYX_FUNC_PRIMITIVE(Gtk_delete__GdkWindowObjectClass)
  {
    struct _GdkWindowObjectClass *arg1 = (struct _GdkWindowObjectClass *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, struct _GdkWindowObjectClass *, es->message_receiver)
    free((char *) arg1);
    
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_window_object_get_type */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_object_get_type)
  {
    GType result;
    SyxOop result_oop;
    
    result = (GType)gdk_window_object_get_type();
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_window_new */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_new)
  {
    GdkWindow *arg1 = (GdkWindow *) 0 ;
    GdkWindowAttr *arg2 = (GdkWindowAttr *) 0 ;
    gint arg3 ;
    GdkWindow *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkWindow *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GdkWindowAttr *, es->message_arguments[0])
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg3 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    result = (GdkWindow *)gdk_window_new(arg1,arg2,arg3);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_window_destroy */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_destroy)
  {
    GdkWindow *arg1 = (GdkWindow *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkWindow *, es->message_receiver)
    gdk_window_destroy(arg1);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_window_get_window_type */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_get_window_type)
  {
    GdkWindow *arg1 = (GdkWindow *) 0 ;
    GdkWindowType result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkWindow *, es->message_receiver)
    result = (GdkWindowType)gdk_window_get_window_type(arg1);
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_window_at_pointer */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_at_pointer)
  {
    gint *arg1 = (gint *) 0 ;
    gint *arg2 = (gint *) 0 ;
    GdkWindow *result = 0 ;
    int temp1 ;
    int temp2 ;
    SyxOop result_oop;
    
    
    temp1 = (int) SYX_SMALL_INTEGER(es->message_arguments[0]);
    arg1 = &temp1;
    
    
    temp2 = (int) SYX_SMALL_INTEGER(es->message_arguments[1]);
    arg2 = &temp2;
    
  #undef SWIG_APPEND_VALUE
  #define SWIG_APPEND_VALUE _SWIG_APPEND_RESULT
    int num_values = 0;
    result_oop = syx_array_new_size (3);
    result = (GdkWindow *)gdk_window_at_pointer(arg1,arg2);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SWIG_APPEND_VALUE (syx_small_integer_new(*arg1));
    SWIG_APPEND_VALUE (syx_small_integer_new(*arg2));
    SYX_PRIM_RETURN (result_oop);
  #undef SWIG_APPEND_VALUE
  #define SWIG_APPEND_VALUE _SWIG_SET_RESULT
  }
  
  
  /* Module: Gtk Function: gdk_window_show */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_show)
  {
    GdkWindow *arg1 = (GdkWindow *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkWindow *, es->message_receiver)
    gdk_window_show(arg1);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_window_hide */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_hide)
  {
    GdkWindow *arg1 = (GdkWindow *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkWindow *, es->message_receiver)
    gdk_window_hide(arg1);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_window_withdraw */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_withdraw)
  {
    GdkWindow *arg1 = (GdkWindow *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkWindow *, es->message_receiver)
    gdk_window_withdraw(arg1);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_window_show_unraised */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_show_unraised)
  {
    GdkWindow *arg1 = (GdkWindow *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkWindow *, es->message_receiver)
    gdk_window_show_unraised(arg1);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_window_move */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_move)
  {
    GdkWindow *arg1 = (GdkWindow *) 0 ;
    gint arg2 ;
    gint arg3 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkWindow *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg3 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    gdk_window_move(arg1,arg2,arg3);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_window_resize */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_resize)
  {
    GdkWindow *arg1 = (GdkWindow *) 0 ;
    gint arg2 ;
    gint arg3 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkWindow *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg3 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    gdk_window_resize(arg1,arg2,arg3);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_window_move_resize */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_move_resize)
  {
    GdkWindow *arg1 = (GdkWindow *) 0 ;
    gint arg2 ;
    gint arg3 ;
    gint arg4 ;
    gint arg5 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkWindow *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg3 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[2]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg4 = SYX_SMALL_INTEGER(es->message_arguments[2]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[3]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg5 = SYX_SMALL_INTEGER(es->message_arguments[3]);
    
    gdk_window_move_resize(arg1,arg2,arg3,arg4,arg5);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_window_reparent */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_reparent)
  {
    GdkWindow *arg1 = (GdkWindow *) 0 ;
    GdkWindow *arg2 = (GdkWindow *) 0 ;
    gint arg3 ;
    gint arg4 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkWindow *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GdkWindow *, es->message_arguments[0])
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg3 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[2]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg4 = SYX_SMALL_INTEGER(es->message_arguments[2]);
    
    gdk_window_reparent(arg1,arg2,arg3,arg4);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_window_clear */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_clear)
  {
    GdkWindow *arg1 = (GdkWindow *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkWindow *, es->message_receiver)
    gdk_window_clear(arg1);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_window_clear_area */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_clear_area)
  {
    GdkWindow *arg1 = (GdkWindow *) 0 ;
    gint arg2 ;
    gint arg3 ;
    gint arg4 ;
    gint arg5 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkWindow *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg3 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[2]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg4 = SYX_SMALL_INTEGER(es->message_arguments[2]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[3]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg5 = SYX_SMALL_INTEGER(es->message_arguments[3]);
    
    gdk_window_clear_area(arg1,arg2,arg3,arg4,arg5);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_window_clear_area_e */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_clear_area_e)
  {
    GdkWindow *arg1 = (GdkWindow *) 0 ;
    gint arg2 ;
    gint arg3 ;
    gint arg4 ;
    gint arg5 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkWindow *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg3 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[2]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg4 = SYX_SMALL_INTEGER(es->message_arguments[2]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[3]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg5 = SYX_SMALL_INTEGER(es->message_arguments[3]);
    
    gdk_window_clear_area_e(arg1,arg2,arg3,arg4,arg5);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_window_raise */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_raise)
  {
    GdkWindow *arg1 = (GdkWindow *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkWindow *, es->message_receiver)
    gdk_window_raise(arg1);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_window_lower */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_lower)
  {
    GdkWindow *arg1 = (GdkWindow *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkWindow *, es->message_receiver)
    gdk_window_lower(arg1);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_window_focus */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_focus)
  {
    GdkWindow *arg1 = (GdkWindow *) 0 ;
    guint32 arg2 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkWindow *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    gdk_window_focus(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_window_set_user_data */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_set_user_data)
  {
    GdkWindow *arg1 = (GdkWindow *) 0 ;
    gpointer arg2 = (gpointer) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkWindow *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, gpointer, es->message_arguments[0])
    gdk_window_set_user_data(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_window_set_override_redirect */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_set_override_redirect)
  {
    GdkWindow *arg1 = (GdkWindow *) 0 ;
    gboolean arg2 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkWindow *, es->message_receiver)
    
    if (!SYX_IS_BOOLEAN(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_IS_TRUE(es->message_arguments[0]);
    
    gdk_window_set_override_redirect(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_window_set_accept_focus */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_set_accept_focus)
  {
    GdkWindow *arg1 = (GdkWindow *) 0 ;
    gboolean arg2 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkWindow *, es->message_receiver)
    
    if (!SYX_IS_BOOLEAN(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_IS_TRUE(es->message_arguments[0]);
    
    gdk_window_set_accept_focus(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_window_set_focus_on_map */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_set_focus_on_map)
  {
    GdkWindow *arg1 = (GdkWindow *) 0 ;
    gboolean arg2 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkWindow *, es->message_receiver)
    
    if (!SYX_IS_BOOLEAN(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_IS_TRUE(es->message_arguments[0]);
    
    gdk_window_set_focus_on_map(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_window_add_filter */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_add_filter)
  {
    GdkWindow *arg1 = (GdkWindow *) 0 ;
    GdkFilterFunc arg2 = (GdkFilterFunc) 0 ;
    gpointer arg3 = (gpointer) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkWindow *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GdkFilterFunc, es->message_arguments[0])
    SWIG_FIRST_SELF(arg3, gpointer, es->message_arguments[1])
    gdk_window_add_filter(arg1,arg2,arg3);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_window_remove_filter */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_remove_filter)
  {
    GdkWindow *arg1 = (GdkWindow *) 0 ;
    GdkFilterFunc arg2 = (GdkFilterFunc) 0 ;
    gpointer arg3 = (gpointer) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkWindow *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GdkFilterFunc, es->message_arguments[0])
    SWIG_FIRST_SELF(arg3, gpointer, es->message_arguments[1])
    gdk_window_remove_filter(arg1,arg2,arg3);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_window_scroll */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_scroll)
  {
    GdkWindow *arg1 = (GdkWindow *) 0 ;
    gint arg2 ;
    gint arg3 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkWindow *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg3 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    gdk_window_scroll(arg1,arg2,arg3);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_window_move_region */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_move_region)
  {
    GdkWindow *arg1 = (GdkWindow *) 0 ;
    GdkRegion *arg2 = (GdkRegion *) 0 ;
    gint arg3 ;
    gint arg4 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkWindow *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GdkRegion *, es->message_arguments[0])
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg3 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[2]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg4 = SYX_SMALL_INTEGER(es->message_arguments[2]);
    
    gdk_window_move_region(arg1,arg2,arg3,arg4);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_window_shape_combine_mask */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_shape_combine_mask)
  {
    GdkWindow *arg1 = (GdkWindow *) 0 ;
    GdkBitmap *arg2 = (GdkBitmap *) 0 ;
    gint arg3 ;
    gint arg4 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkWindow *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GdkBitmap *, es->message_arguments[0])
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg3 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[2]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg4 = SYX_SMALL_INTEGER(es->message_arguments[2]);
    
    gdk_window_shape_combine_mask(arg1,arg2,arg3,arg4);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_window_shape_combine_region */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_shape_combine_region)
  {
    GdkWindow *arg1 = (GdkWindow *) 0 ;
    GdkRegion *arg2 = (GdkRegion *) 0 ;
    gint arg3 ;
    gint arg4 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkWindow *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GdkRegion *, es->message_arguments[0])
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg3 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[2]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg4 = SYX_SMALL_INTEGER(es->message_arguments[2]);
    
    gdk_window_shape_combine_region(arg1,arg2,arg3,arg4);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_window_set_child_shapes */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_set_child_shapes)
  {
    GdkWindow *arg1 = (GdkWindow *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkWindow *, es->message_receiver)
    gdk_window_set_child_shapes(arg1);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_window_set_composited */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_set_composited)
  {
    GdkWindow *arg1 = (GdkWindow *) 0 ;
    gboolean arg2 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkWindow *, es->message_receiver)
    
    if (!SYX_IS_BOOLEAN(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_IS_TRUE(es->message_arguments[0]);
    
    gdk_window_set_composited(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_window_merge_child_shapes */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_merge_child_shapes)
  {
    GdkWindow *arg1 = (GdkWindow *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkWindow *, es->message_receiver)
    gdk_window_merge_child_shapes(arg1);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_window_input_shape_combine_mask */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_input_shape_combine_mask)
  {
    GdkWindow *arg1 = (GdkWindow *) 0 ;
    GdkBitmap *arg2 = (GdkBitmap *) 0 ;
    gint arg3 ;
    gint arg4 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkWindow *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GdkBitmap *, es->message_arguments[0])
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg3 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[2]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg4 = SYX_SMALL_INTEGER(es->message_arguments[2]);
    
    gdk_window_input_shape_combine_mask(arg1,arg2,arg3,arg4);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_window_input_shape_combine_region */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_input_shape_combine_region)
  {
    GdkWindow *arg1 = (GdkWindow *) 0 ;
    GdkRegion *arg2 = (GdkRegion *) 0 ;
    gint arg3 ;
    gint arg4 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkWindow *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GdkRegion *, es->message_arguments[0])
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg3 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[2]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg4 = SYX_SMALL_INTEGER(es->message_arguments[2]);
    
    gdk_window_input_shape_combine_region(arg1,arg2,arg3,arg4);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_window_set_child_input_shapes */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_set_child_input_shapes)
  {
    GdkWindow *arg1 = (GdkWindow *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkWindow *, es->message_receiver)
    gdk_window_set_child_input_shapes(arg1);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_window_merge_child_input_shapes */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_merge_child_input_shapes)
  {
    GdkWindow *arg1 = (GdkWindow *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkWindow *, es->message_receiver)
    gdk_window_merge_child_input_shapes(arg1);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_window_is_visible */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_is_visible)
  {
    GdkWindow *arg1 = (GdkWindow *) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkWindow *, es->message_receiver)
    result = gdk_window_is_visible(arg1);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_window_is_viewable */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_is_viewable)
  {
    GdkWindow *arg1 = (GdkWindow *) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkWindow *, es->message_receiver)
    result = gdk_window_is_viewable(arg1);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_window_get_state */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_get_state)
  {
    GdkWindow *arg1 = (GdkWindow *) 0 ;
    GdkWindowState result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkWindow *, es->message_receiver)
    result = (GdkWindowState)gdk_window_get_state(arg1);
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_window_set_static_gravities */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_set_static_gravities)
  {
    GdkWindow *arg1 = (GdkWindow *) 0 ;
    gboolean arg2 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkWindow *, es->message_receiver)
    
    if (!SYX_IS_BOOLEAN(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_IS_TRUE(es->message_arguments[0]);
    
    result = gdk_window_set_static_gravities(arg1,arg2);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_window_foreign_new */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_foreign_new)
  {
    GdkNativeWindow arg1 ;
    GdkWindow *result = 0 ;
    SyxOop result_oop;
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    result = (GdkWindow *)gdk_window_foreign_new(arg1);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_window_lookup */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_lookup)
  {
    GdkNativeWindow arg1 ;
    GdkWindow *result = 0 ;
    SyxOop result_oop;
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    result = (GdkWindow *)gdk_window_lookup(arg1);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_window_foreign_new_for_display */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_foreign_new_for_display)
  {
    GdkDisplay *arg1 = (GdkDisplay *) 0 ;
    GdkNativeWindow arg2 ;
    GdkWindow *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkDisplay *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    result = (GdkWindow *)gdk_window_foreign_new_for_display(arg1,arg2);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_window_lookup_for_display */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_lookup_for_display)
  {
    GdkDisplay *arg1 = (GdkDisplay *) 0 ;
    GdkNativeWindow arg2 ;
    GdkWindow *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkDisplay *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    result = (GdkWindow *)gdk_window_lookup_for_display(arg1,arg2);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_window_set_hints */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_set_hints)
  {
    GdkWindow *arg1 = (GdkWindow *) 0 ;
    gint arg2 ;
    gint arg3 ;
    gint arg4 ;
    gint arg5 ;
    gint arg6 ;
    gint arg7 ;
    gint arg8 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkWindow *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg3 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[2]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg4 = SYX_SMALL_INTEGER(es->message_arguments[2]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[3]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg5 = SYX_SMALL_INTEGER(es->message_arguments[3]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[4]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg6 = SYX_SMALL_INTEGER(es->message_arguments[4]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[5]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg7 = SYX_SMALL_INTEGER(es->message_arguments[5]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[6]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg8 = SYX_SMALL_INTEGER(es->message_arguments[6]);
    
    gdk_window_set_hints(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_window_set_type_hint */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_set_type_hint)
  {
    GdkWindow *arg1 = (GdkWindow *) 0 ;
    GdkWindowTypeHint arg2 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkWindow *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    gdk_window_set_type_hint(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_window_get_type_hint */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_get_type_hint)
  {
    GdkWindow *arg1 = (GdkWindow *) 0 ;
    GdkWindowTypeHint result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkWindow *, es->message_receiver)
    result = (GdkWindowTypeHint)gdk_window_get_type_hint(arg1);
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_window_set_modal_hint */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_set_modal_hint)
  {
    GdkWindow *arg1 = (GdkWindow *) 0 ;
    gboolean arg2 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkWindow *, es->message_receiver)
    
    if (!SYX_IS_BOOLEAN(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_IS_TRUE(es->message_arguments[0]);
    
    gdk_window_set_modal_hint(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_window_set_skip_taskbar_hint */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_set_skip_taskbar_hint)
  {
    GdkWindow *arg1 = (GdkWindow *) 0 ;
    gboolean arg2 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkWindow *, es->message_receiver)
    
    if (!SYX_IS_BOOLEAN(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_IS_TRUE(es->message_arguments[0]);
    
    gdk_window_set_skip_taskbar_hint(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_window_set_skip_pager_hint */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_set_skip_pager_hint)
  {
    GdkWindow *arg1 = (GdkWindow *) 0 ;
    gboolean arg2 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkWindow *, es->message_receiver)
    
    if (!SYX_IS_BOOLEAN(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_IS_TRUE(es->message_arguments[0]);
    
    gdk_window_set_skip_pager_hint(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_window_set_urgency_hint */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_set_urgency_hint)
  {
    GdkWindow *arg1 = (GdkWindow *) 0 ;
    gboolean arg2 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkWindow *, es->message_receiver)
    
    if (!SYX_IS_BOOLEAN(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_IS_TRUE(es->message_arguments[0]);
    
    gdk_window_set_urgency_hint(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_window_set_geometry_hints */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_set_geometry_hints)
  {
    GdkWindow *arg1 = (GdkWindow *) 0 ;
    GdkGeometry *arg2 = (GdkGeometry *) 0 ;
    GdkWindowHints arg3 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkWindow *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GdkGeometry *, es->message_arguments[0])
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg3 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    gdk_window_set_geometry_hints(arg1,arg2,arg3);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_set_sm_client_id */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_set_sm_client_id)
  {
    gchar *arg1 = (gchar *) 0 ;
    SyxOop result_oop;
    
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    gdk_set_sm_client_id((char const *)arg1);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_window_begin_paint_rect */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_begin_paint_rect)
  {
    GdkWindow *arg1 = (GdkWindow *) 0 ;
    GdkRectangle *arg2 = (GdkRectangle *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkWindow *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GdkRectangle *, es->message_arguments[0])
    gdk_window_begin_paint_rect(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_window_begin_paint_region */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_begin_paint_region)
  {
    GdkWindow *arg1 = (GdkWindow *) 0 ;
    GdkRegion *arg2 = (GdkRegion *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkWindow *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GdkRegion *, es->message_arguments[0])
    gdk_window_begin_paint_region(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_window_end_paint */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_end_paint)
  {
    GdkWindow *arg1 = (GdkWindow *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkWindow *, es->message_receiver)
    gdk_window_end_paint(arg1);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_window_set_title */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_set_title)
  {
    GdkWindow *arg1 = (GdkWindow *) 0 ;
    gchar *arg2 = (gchar *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkWindow *, es->message_receiver)
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    gdk_window_set_title(arg1,(char const *)arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_window_set_role */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_set_role)
  {
    GdkWindow *arg1 = (GdkWindow *) 0 ;
    gchar *arg2 = (gchar *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkWindow *, es->message_receiver)
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    gdk_window_set_role(arg1,(char const *)arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_window_set_startup_id */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_set_startup_id)
  {
    GdkWindow *arg1 = (GdkWindow *) 0 ;
    gchar *arg2 = (gchar *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkWindow *, es->message_receiver)
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    gdk_window_set_startup_id(arg1,(char const *)arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_window_set_transient_for */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_set_transient_for)
  {
    GdkWindow *arg1 = (GdkWindow *) 0 ;
    GdkWindow *arg2 = (GdkWindow *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkWindow *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GdkWindow *, es->message_arguments[0])
    gdk_window_set_transient_for(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_window_set_background */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_set_background)
  {
    GdkWindow *arg1 = (GdkWindow *) 0 ;
    GdkColor *arg2 = (GdkColor *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkWindow *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GdkColor *, es->message_arguments[0])
    gdk_window_set_background(arg1,(struct _GdkColor const *)arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_window_set_back_pixmap */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_set_back_pixmap)
  {
    GdkWindow *arg1 = (GdkWindow *) 0 ;
    GdkPixmap *arg2 = (GdkPixmap *) 0 ;
    gboolean arg3 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkWindow *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GdkPixmap *, es->message_arguments[0])
    
    if (!SYX_IS_BOOLEAN(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg3 = SYX_IS_TRUE(es->message_arguments[1]);
    
    gdk_window_set_back_pixmap(arg1,arg2,arg3);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_window_set_cursor */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_set_cursor)
  {
    GdkWindow *arg1 = (GdkWindow *) 0 ;
    GdkCursor *arg2 = (GdkCursor *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkWindow *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GdkCursor *, es->message_arguments[0])
    gdk_window_set_cursor(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_window_get_user_data */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_get_user_data)
  {
    GdkWindow *arg1 = (GdkWindow *) 0 ;
    gpointer *arg2 = (gpointer *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkWindow *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, gpointer *, es->message_arguments[0])
    gdk_window_get_user_data(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_window_get_geometry */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_get_geometry)
  {
    GdkWindow *arg1 = (GdkWindow *) 0 ;
    gint *arg2 = (gint *) 0 ;
    gint *arg3 = (gint *) 0 ;
    gint *arg4 = (gint *) 0 ;
    gint *arg5 = (gint *) 0 ;
    gint *arg6 = (gint *) 0 ;
    int temp2 ;
    int temp3 ;
    int temp4 ;
    int temp5 ;
    int temp6 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkWindow *, es->message_receiver)
    
    temp2 = (int) SYX_SMALL_INTEGER(es->message_arguments[0]);
    arg2 = &temp2;
    
    
    temp3 = (int) SYX_SMALL_INTEGER(es->message_arguments[1]);
    arg3 = &temp3;
    
    
    temp4 = (int) SYX_SMALL_INTEGER(es->message_arguments[2]);
    arg4 = &temp4;
    
    
    temp5 = (int) SYX_SMALL_INTEGER(es->message_arguments[3]);
    arg5 = &temp5;
    
    
    temp6 = (int) SYX_SMALL_INTEGER(es->message_arguments[4]);
    arg6 = &temp6;
    
  #undef SWIG_APPEND_VALUE
  #define SWIG_APPEND_VALUE _SWIG_APPEND_RESULT
    int num_values = 0;
    result_oop = syx_array_new_size (6);
    gdk_window_get_geometry(arg1,arg2,arg3,arg4,arg5,arg6);
    SWIG_APPEND_VALUE (es->message_receiver);
    SWIG_APPEND_VALUE (syx_small_integer_new(*arg2));
    SWIG_APPEND_VALUE (syx_small_integer_new(*arg3));
    SWIG_APPEND_VALUE (syx_small_integer_new(*arg4));
    SWIG_APPEND_VALUE (syx_small_integer_new(*arg5));
    SWIG_APPEND_VALUE (syx_small_integer_new(*arg6));
    SYX_PRIM_RETURN (result_oop);
  #undef SWIG_APPEND_VALUE
  #define SWIG_APPEND_VALUE _SWIG_SET_RESULT
  }
  
  
  /* Module: Gtk Function: gdk_window_get_position */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_get_position)
  {
    GdkWindow *arg1 = (GdkWindow *) 0 ;
    gint *arg2 = (gint *) 0 ;
    gint *arg3 = (gint *) 0 ;
    int temp2 ;
    int temp3 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkWindow *, es->message_receiver)
    
    temp2 = (int) SYX_SMALL_INTEGER(es->message_arguments[0]);
    arg2 = &temp2;
    
    
    temp3 = (int) SYX_SMALL_INTEGER(es->message_arguments[1]);
    arg3 = &temp3;
    
  #undef SWIG_APPEND_VALUE
  #define SWIG_APPEND_VALUE _SWIG_APPEND_RESULT
    int num_values = 0;
    result_oop = syx_array_new_size (3);
    gdk_window_get_position(arg1,arg2,arg3);
    SWIG_APPEND_VALUE (es->message_receiver);
    SWIG_APPEND_VALUE (syx_small_integer_new(*arg2));
    SWIG_APPEND_VALUE (syx_small_integer_new(*arg3));
    SYX_PRIM_RETURN (result_oop);
  #undef SWIG_APPEND_VALUE
  #define SWIG_APPEND_VALUE _SWIG_SET_RESULT
  }
  
  
  /* Module: Gtk Function: gdk_window_get_origin */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_get_origin)
  {
    GdkWindow *arg1 = (GdkWindow *) 0 ;
    gint *arg2 = (gint *) 0 ;
    gint *arg3 = (gint *) 0 ;
    gint result;
    int temp2 ;
    int temp3 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkWindow *, es->message_receiver)
    
    temp2 = (int) SYX_SMALL_INTEGER(es->message_arguments[0]);
    arg2 = &temp2;
    
    
    temp3 = (int) SYX_SMALL_INTEGER(es->message_arguments[1]);
    arg3 = &temp3;
    
  #undef SWIG_APPEND_VALUE
  #define SWIG_APPEND_VALUE _SWIG_APPEND_RESULT
    int num_values = 0;
    result_oop = syx_array_new_size (3);
    result = (gint)gdk_window_get_origin(arg1,arg2,arg3);
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SWIG_APPEND_VALUE (syx_small_integer_new(*arg2));
    SWIG_APPEND_VALUE (syx_small_integer_new(*arg3));
    SYX_PRIM_RETURN (result_oop);
  #undef SWIG_APPEND_VALUE
  #define SWIG_APPEND_VALUE _SWIG_SET_RESULT
  }
  
  
  /* Module: Gtk Function: gdk_window_get_deskrelative_origin */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_get_deskrelative_origin)
  {
    GdkWindow *arg1 = (GdkWindow *) 0 ;
    gint *arg2 = (gint *) 0 ;
    gint *arg3 = (gint *) 0 ;
    gboolean result;
    int temp2 ;
    int temp3 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkWindow *, es->message_receiver)
    
    temp2 = (int) SYX_SMALL_INTEGER(es->message_arguments[0]);
    arg2 = &temp2;
    
    
    temp3 = (int) SYX_SMALL_INTEGER(es->message_arguments[1]);
    arg3 = &temp3;
    
  #undef SWIG_APPEND_VALUE
  #define SWIG_APPEND_VALUE _SWIG_APPEND_RESULT
    int num_values = 0;
    result_oop = syx_array_new_size (3);
    result = gdk_window_get_deskrelative_origin(arg1,arg2,arg3);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SWIG_APPEND_VALUE (syx_small_integer_new(*arg2));
    SWIG_APPEND_VALUE (syx_small_integer_new(*arg3));
    SYX_PRIM_RETURN (result_oop);
  #undef SWIG_APPEND_VALUE
  #define SWIG_APPEND_VALUE _SWIG_SET_RESULT
  }
  
  
  /* Module: Gtk Function: gdk_window_get_root_origin */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_get_root_origin)
  {
    GdkWindow *arg1 = (GdkWindow *) 0 ;
    gint *arg2 = (gint *) 0 ;
    gint *arg3 = (gint *) 0 ;
    int temp2 ;
    int temp3 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkWindow *, es->message_receiver)
    
    temp2 = (int) SYX_SMALL_INTEGER(es->message_arguments[0]);
    arg2 = &temp2;
    
    
    temp3 = (int) SYX_SMALL_INTEGER(es->message_arguments[1]);
    arg3 = &temp3;
    
  #undef SWIG_APPEND_VALUE
  #define SWIG_APPEND_VALUE _SWIG_APPEND_RESULT
    int num_values = 0;
    result_oop = syx_array_new_size (3);
    gdk_window_get_root_origin(arg1,arg2,arg3);
    SWIG_APPEND_VALUE (es->message_receiver);
    SWIG_APPEND_VALUE (syx_small_integer_new(*arg2));
    SWIG_APPEND_VALUE (syx_small_integer_new(*arg3));
    SYX_PRIM_RETURN (result_oop);
  #undef SWIG_APPEND_VALUE
  #define SWIG_APPEND_VALUE _SWIG_SET_RESULT
  }
  
  
  /* Module: Gtk Function: gdk_window_get_frame_extents */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_get_frame_extents)
  {
    GdkWindow *arg1 = (GdkWindow *) 0 ;
    GdkRectangle *arg2 = (GdkRectangle *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkWindow *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GdkRectangle *, es->message_arguments[0])
    gdk_window_get_frame_extents(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_window_get_pointer */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_get_pointer)
  {
    GdkWindow *arg1 = (GdkWindow *) 0 ;
    gint *arg2 = (gint *) 0 ;
    gint *arg3 = (gint *) 0 ;
    GdkModifierType *arg4 = (GdkModifierType *) 0 ;
    GdkWindow *result = 0 ;
    int temp2 ;
    int temp3 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkWindow *, es->message_receiver)
    
    temp2 = (int) SYX_SMALL_INTEGER(es->message_arguments[0]);
    arg2 = &temp2;
    
    
    temp3 = (int) SYX_SMALL_INTEGER(es->message_arguments[1]);
    arg3 = &temp3;
    
    SWIG_FIRST_SELF(arg4, GdkModifierType *, es->message_arguments[2])
  #undef SWIG_APPEND_VALUE
  #define SWIG_APPEND_VALUE _SWIG_APPEND_RESULT
    int num_values = 0;
    result_oop = syx_array_new_size (3);
    result = (GdkWindow *)gdk_window_get_pointer(arg1,arg2,arg3,arg4);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SWIG_APPEND_VALUE (syx_small_integer_new(*arg2));
    SWIG_APPEND_VALUE (syx_small_integer_new(*arg3));
    SYX_PRIM_RETURN (result_oop);
  #undef SWIG_APPEND_VALUE
  #define SWIG_APPEND_VALUE _SWIG_SET_RESULT
  }
  
  
  /* Module: Gtk Function: gdk_window_get_parent */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_get_parent)
  {
    GdkWindow *arg1 = (GdkWindow *) 0 ;
    GdkWindow *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkWindow *, es->message_receiver)
    result = (GdkWindow *)gdk_window_get_parent(arg1);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_window_get_toplevel */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_get_toplevel)
  {
    GdkWindow *arg1 = (GdkWindow *) 0 ;
    GdkWindow *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkWindow *, es->message_receiver)
    result = (GdkWindow *)gdk_window_get_toplevel(arg1);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_window_get_children */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_get_children)
  {
    GdkWindow *arg1 = (GdkWindow *) 0 ;
    GList *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkWindow *, es->message_receiver)
    result = (GList *)gdk_window_get_children(arg1);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_window_peek_children */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_peek_children)
  {
    GdkWindow *arg1 = (GdkWindow *) 0 ;
    GList *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkWindow *, es->message_receiver)
    result = (GList *)gdk_window_peek_children(arg1);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_window_get_events */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_get_events)
  {
    GdkWindow *arg1 = (GdkWindow *) 0 ;
    GdkEventMask result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkWindow *, es->message_receiver)
    result = (GdkEventMask)gdk_window_get_events(arg1);
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_window_set_events */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_set_events)
  {
    GdkWindow *arg1 = (GdkWindow *) 0 ;
    GdkEventMask arg2 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkWindow *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    gdk_window_set_events(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_window_set_icon_list */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_set_icon_list)
  {
    GdkWindow *arg1 = (GdkWindow *) 0 ;
    GList *arg2 = (GList *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkWindow *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GList *, es->message_arguments[0])
    gdk_window_set_icon_list(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_window_set_icon */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_set_icon)
  {
    GdkWindow *arg1 = (GdkWindow *) 0 ;
    GdkWindow *arg2 = (GdkWindow *) 0 ;
    GdkPixmap *arg3 = (GdkPixmap *) 0 ;
    GdkBitmap *arg4 = (GdkBitmap *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkWindow *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GdkWindow *, es->message_arguments[0])
    SWIG_FIRST_SELF(arg3, GdkPixmap *, es->message_arguments[1])
    SWIG_FIRST_SELF(arg4, GdkBitmap *, es->message_arguments[2])
    gdk_window_set_icon(arg1,arg2,arg3,arg4);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_window_set_icon_name */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_set_icon_name)
  {
    GdkWindow *arg1 = (GdkWindow *) 0 ;
    gchar *arg2 = (gchar *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkWindow *, es->message_receiver)
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    gdk_window_set_icon_name(arg1,(char const *)arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_window_set_group */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_set_group)
  {
    GdkWindow *arg1 = (GdkWindow *) 0 ;
    GdkWindow *arg2 = (GdkWindow *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkWindow *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GdkWindow *, es->message_arguments[0])
    gdk_window_set_group(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_window_get_group */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_get_group)
  {
    GdkWindow *arg1 = (GdkWindow *) 0 ;
    GdkWindow *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkWindow *, es->message_receiver)
    result = (GdkWindow *)gdk_window_get_group(arg1);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_window_set_decorations */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_set_decorations)
  {
    GdkWindow *arg1 = (GdkWindow *) 0 ;
    GdkWMDecoration arg2 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkWindow *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    gdk_window_set_decorations(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_window_get_decorations */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_get_decorations)
  {
    GdkWindow *arg1 = (GdkWindow *) 0 ;
    GdkWMDecoration *arg2 = (GdkWMDecoration *) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkWindow *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GdkWMDecoration *, es->message_arguments[0])
    result = gdk_window_get_decorations(arg1,arg2);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_window_set_functions */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_set_functions)
  {
    GdkWindow *arg1 = (GdkWindow *) 0 ;
    GdkWMFunction arg2 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkWindow *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    gdk_window_set_functions(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_window_get_toplevels */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_get_toplevels)
  {
    GList *result = 0 ;
    SyxOop result_oop;
    
    result = (GList *)gdk_window_get_toplevels();
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_window_beep */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_beep)
  {
    GdkWindow *arg1 = (GdkWindow *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkWindow *, es->message_receiver)
    gdk_window_beep(arg1);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_window_iconify */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_iconify)
  {
    GdkWindow *arg1 = (GdkWindow *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkWindow *, es->message_receiver)
    gdk_window_iconify(arg1);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_window_deiconify */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_deiconify)
  {
    GdkWindow *arg1 = (GdkWindow *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkWindow *, es->message_receiver)
    gdk_window_deiconify(arg1);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_window_stick */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_stick)
  {
    GdkWindow *arg1 = (GdkWindow *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkWindow *, es->message_receiver)
    gdk_window_stick(arg1);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_window_unstick */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_unstick)
  {
    GdkWindow *arg1 = (GdkWindow *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkWindow *, es->message_receiver)
    gdk_window_unstick(arg1);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_window_maximize */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_maximize)
  {
    GdkWindow *arg1 = (GdkWindow *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkWindow *, es->message_receiver)
    gdk_window_maximize(arg1);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_window_unmaximize */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_unmaximize)
  {
    GdkWindow *arg1 = (GdkWindow *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkWindow *, es->message_receiver)
    gdk_window_unmaximize(arg1);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_window_fullscreen */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_fullscreen)
  {
    GdkWindow *arg1 = (GdkWindow *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkWindow *, es->message_receiver)
    gdk_window_fullscreen(arg1);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_window_unfullscreen */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_unfullscreen)
  {
    GdkWindow *arg1 = (GdkWindow *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkWindow *, es->message_receiver)
    gdk_window_unfullscreen(arg1);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_window_set_keep_above */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_set_keep_above)
  {
    GdkWindow *arg1 = (GdkWindow *) 0 ;
    gboolean arg2 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkWindow *, es->message_receiver)
    
    if (!SYX_IS_BOOLEAN(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_IS_TRUE(es->message_arguments[0]);
    
    gdk_window_set_keep_above(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_window_set_keep_below */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_set_keep_below)
  {
    GdkWindow *arg1 = (GdkWindow *) 0 ;
    gboolean arg2 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkWindow *, es->message_receiver)
    
    if (!SYX_IS_BOOLEAN(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_IS_TRUE(es->message_arguments[0]);
    
    gdk_window_set_keep_below(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_window_set_opacity */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_set_opacity)
  {
    GdkWindow *arg1 = (GdkWindow *) 0 ;
    gdouble arg2 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkWindow *, es->message_receiver)
    
    if (!SYX_OBJECT_IS_FLOAT(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_OBJECT_FLOAT(es->message_arguments[0]);
    
    gdk_window_set_opacity(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_window_register_dnd */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_register_dnd)
  {
    GdkWindow *arg1 = (GdkWindow *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkWindow *, es->message_receiver)
    gdk_window_register_dnd(arg1);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_window_begin_resize_drag */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_begin_resize_drag)
  {
    GdkWindow *arg1 = (GdkWindow *) 0 ;
    GdkWindowEdge arg2 ;
    gint arg3 ;
    gint arg4 ;
    gint arg5 ;
    guint32 arg6 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkWindow *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg3 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[2]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg4 = SYX_SMALL_INTEGER(es->message_arguments[2]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[3]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg5 = SYX_SMALL_INTEGER(es->message_arguments[3]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[4]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg6 = SYX_SMALL_INTEGER(es->message_arguments[4]);
    
    gdk_window_begin_resize_drag(arg1,arg2,arg3,arg4,arg5,arg6);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_window_begin_move_drag */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_begin_move_drag)
  {
    GdkWindow *arg1 = (GdkWindow *) 0 ;
    gint arg2 ;
    gint arg3 ;
    gint arg4 ;
    guint32 arg5 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkWindow *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg3 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[2]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg4 = SYX_SMALL_INTEGER(es->message_arguments[2]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[3]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg5 = SYX_SMALL_INTEGER(es->message_arguments[3]);
    
    gdk_window_begin_move_drag(arg1,arg2,arg3,arg4,arg5);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_window_invalidate_rect */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_invalidate_rect)
  {
    GdkWindow *arg1 = (GdkWindow *) 0 ;
    GdkRectangle *arg2 = (GdkRectangle *) 0 ;
    gboolean arg3 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkWindow *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GdkRectangle *, es->message_arguments[0])
    
    if (!SYX_IS_BOOLEAN(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg3 = SYX_IS_TRUE(es->message_arguments[1]);
    
    gdk_window_invalidate_rect(arg1,arg2,arg3);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_window_invalidate_region */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_invalidate_region)
  {
    GdkWindow *arg1 = (GdkWindow *) 0 ;
    GdkRegion *arg2 = (GdkRegion *) 0 ;
    gboolean arg3 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkWindow *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GdkRegion *, es->message_arguments[0])
    
    if (!SYX_IS_BOOLEAN(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg3 = SYX_IS_TRUE(es->message_arguments[1]);
    
    gdk_window_invalidate_region(arg1,arg2,arg3);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_window_invalidate_maybe_recurse */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_invalidate_maybe_recurse)
  {
    GdkWindow *arg1 = (GdkWindow *) 0 ;
    GdkRegion *arg2 = (GdkRegion *) 0 ;
    gboolean (*arg3)(GdkWindow *,gpointer) = (gboolean (*)(GdkWindow *,gpointer)) 0 ;
    gpointer arg4 = (gpointer) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkWindow *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GdkRegion *, es->message_arguments[0])
    SWIG_FIRST_SELF(arg3, gboolean (*)(GdkWindow *,gpointer), es->message_arguments[1])
    SWIG_FIRST_SELF(arg4, gpointer, es->message_arguments[2])
    gdk_window_invalidate_maybe_recurse(arg1,arg2,arg3,arg4);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_window_get_update_area */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_get_update_area)
  {
    GdkWindow *arg1 = (GdkWindow *) 0 ;
    GdkRegion *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkWindow *, es->message_receiver)
    result = (GdkRegion *)gdk_window_get_update_area(arg1);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_window_freeze_updates */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_freeze_updates)
  {
    GdkWindow *arg1 = (GdkWindow *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkWindow *, es->message_receiver)
    gdk_window_freeze_updates(arg1);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_window_thaw_updates */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_thaw_updates)
  {
    GdkWindow *arg1 = (GdkWindow *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkWindow *, es->message_receiver)
    gdk_window_thaw_updates(arg1);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_window_freeze_toplevel_updates_libgtk_only */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_freeze_toplevel_updates_libgtk_only)
  {
    GdkWindow *arg1 = (GdkWindow *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkWindow *, es->message_receiver)
    gdk_window_freeze_toplevel_updates_libgtk_only(arg1);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_window_thaw_toplevel_updates_libgtk_only */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_thaw_toplevel_updates_libgtk_only)
  {
    GdkWindow *arg1 = (GdkWindow *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkWindow *, es->message_receiver)
    gdk_window_thaw_toplevel_updates_libgtk_only(arg1);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_window_process_all_updates */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_process_all_updates)
  {
    SyxOop result_oop;
    
    gdk_window_process_all_updates();
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_window_process_updates */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_process_updates)
  {
    GdkWindow *arg1 = (GdkWindow *) 0 ;
    gboolean arg2 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkWindow *, es->message_receiver)
    
    if (!SYX_IS_BOOLEAN(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_IS_TRUE(es->message_arguments[0]);
    
    gdk_window_process_updates(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_window_set_debug_updates */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_set_debug_updates)
  {
    gboolean arg1 ;
    SyxOop result_oop;
    
    
    if (!SYX_IS_BOOLEAN(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_IS_TRUE(es->message_arguments[0]);
    
    gdk_window_set_debug_updates(arg1);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_window_constrain_size */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_constrain_size)
  {
    GdkGeometry *arg1 = (GdkGeometry *) 0 ;
    guint arg2 ;
    gint arg3 ;
    gint arg4 ;
    gint *arg5 = (gint *) 0 ;
    gint *arg6 = (gint *) 0 ;
    int temp5 ;
    int temp6 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkGeometry *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg3 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[2]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg4 = SYX_SMALL_INTEGER(es->message_arguments[2]);
    
    
    temp5 = (int) SYX_SMALL_INTEGER(es->message_arguments[3]);
    arg5 = &temp5;
    
    
    temp6 = (int) SYX_SMALL_INTEGER(es->message_arguments[4]);
    arg6 = &temp6;
    
  #undef SWIG_APPEND_VALUE
  #define SWIG_APPEND_VALUE _SWIG_APPEND_RESULT
    int num_values = 0;
    result_oop = syx_array_new_size (3);
    gdk_window_constrain_size(arg1,arg2,arg3,arg4,arg5,arg6);
    SWIG_APPEND_VALUE (es->message_receiver);
    SWIG_APPEND_VALUE (syx_small_integer_new(*arg5));
    SWIG_APPEND_VALUE (syx_small_integer_new(*arg6));
    SYX_PRIM_RETURN (result_oop);
  #undef SWIG_APPEND_VALUE
  #define SWIG_APPEND_VALUE _SWIG_SET_RESULT
  }
  
  
  /* Module: Gtk Function: gdk_window_get_internal_paint_info */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_get_internal_paint_info)
  {
    GdkWindow *arg1 = (GdkWindow *) 0 ;
    GdkDrawable **arg2 = (GdkDrawable **) 0 ;
    gint *arg3 = (gint *) 0 ;
    gint *arg4 = (gint *) 0 ;
    int temp3 ;
    int temp4 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkWindow *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GdkDrawable **, es->message_arguments[0])
    
    temp3 = (int) SYX_SMALL_INTEGER(es->message_arguments[1]);
    arg3 = &temp3;
    
    
    temp4 = (int) SYX_SMALL_INTEGER(es->message_arguments[2]);
    arg4 = &temp4;
    
  #undef SWIG_APPEND_VALUE
  #define SWIG_APPEND_VALUE _SWIG_APPEND_RESULT
    int num_values = 0;
    result_oop = syx_array_new_size (3);
    gdk_window_get_internal_paint_info(arg1,arg2,arg3,arg4);
    SWIG_APPEND_VALUE (es->message_receiver);
    SWIG_APPEND_VALUE (syx_small_integer_new(*arg3));
    SWIG_APPEND_VALUE (syx_small_integer_new(*arg4));
    SYX_PRIM_RETURN (result_oop);
  #undef SWIG_APPEND_VALUE
  #define SWIG_APPEND_VALUE _SWIG_SET_RESULT
  }
  
  
  /* Module: Gtk Function: gdk_window_enable_synchronized_configure */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_enable_synchronized_configure)
  {
    GdkWindow *arg1 = (GdkWindow *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkWindow *, es->message_receiver)
    gdk_window_enable_synchronized_configure(arg1);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_window_configure_finished */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_window_configure_finished)
  {
    GdkWindow *arg1 = (GdkWindow *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkWindow *, es->message_receiver)
    gdk_window_configure_finished(arg1);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_set_pointer_hooks */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_set_pointer_hooks)
  {
    GdkPointerHooks *arg1 = (GdkPointerHooks *) 0 ;
    GdkPointerHooks *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkPointerHooks *, es->message_receiver)
    result = (GdkPointerHooks *)gdk_set_pointer_hooks((struct _GdkPointerHooks const *)arg1);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gdk_get_default_root_window */
  SYX_FUNC_PRIMITIVE(Gtk_gdk_get_default_root_window)
  {
    GdkWindow *result = 0 ;
    SyxOop result_oop;
    
    result = (GdkWindow *)gdk_get_default_root_window();
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: new__GtkRequisition */
  SYX_FUNC_PRIMITIVE(Gtk_new__GtkRequisition)
  {
    struct _GtkRequisition *result = 0 ;
    SyxOop result_oop;
    
    result = (struct _GtkRequisition *)(struct _GtkRequisition *) calloc(1, sizeof(struct _GtkRequisition));
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: delete__GtkRequisition */
  SYX_FUNC_PRIMITIVE(Gtk_delete__GtkRequisition)
  {
    struct _GtkRequisition *arg1 = (struct _GtkRequisition *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, struct _GtkRequisition *, es->message_receiver)
    free((char *) arg1);
    
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: new__GtkWidget */
  SYX_FUNC_PRIMITIVE(Gtk_new__GtkWidget)
  {
    struct _GtkWidget *result = 0 ;
    SyxOop result_oop;
    
    result = (struct _GtkWidget *)(struct _GtkWidget *) calloc(1, sizeof(struct _GtkWidget));
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: delete__GtkWidget */
  SYX_FUNC_PRIMITIVE(Gtk_delete__GtkWidget)
  {
    struct _GtkWidget *arg1 = (struct _GtkWidget *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, struct _GtkWidget *, es->message_receiver)
    free((char *) arg1);
    
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: new__GtkWidgetClass */
  SYX_FUNC_PRIMITIVE(Gtk_new__GtkWidgetClass)
  {
    struct _GtkWidgetClass *result = 0 ;
    SyxOop result_oop;
    
    result = (struct _GtkWidgetClass *)(struct _GtkWidgetClass *) calloc(1, sizeof(struct _GtkWidgetClass));
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: delete__GtkWidgetClass */
  SYX_FUNC_PRIMITIVE(Gtk_delete__GtkWidgetClass)
  {
    struct _GtkWidgetClass *arg1 = (struct _GtkWidgetClass *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, struct _GtkWidgetClass *, es->message_receiver)
    free((char *) arg1);
    
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: new__GtkWidgetAuxInfo */
  SYX_FUNC_PRIMITIVE(Gtk_new__GtkWidgetAuxInfo)
  {
    struct _GtkWidgetAuxInfo *result = 0 ;
    SyxOop result_oop;
    
    result = (struct _GtkWidgetAuxInfo *)(struct _GtkWidgetAuxInfo *) calloc(1, sizeof(struct _GtkWidgetAuxInfo));
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: delete__GtkWidgetAuxInfo */
  SYX_FUNC_PRIMITIVE(Gtk_delete__GtkWidgetAuxInfo)
  {
    struct _GtkWidgetAuxInfo *arg1 = (struct _GtkWidgetAuxInfo *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, struct _GtkWidgetAuxInfo *, es->message_receiver)
    free((char *) arg1);
    
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: new__GtkWidgetShapeInfo */
  SYX_FUNC_PRIMITIVE(Gtk_new__GtkWidgetShapeInfo)
  {
    struct _GtkWidgetShapeInfo *result = 0 ;
    SyxOop result_oop;
    
    result = (struct _GtkWidgetShapeInfo *)(struct _GtkWidgetShapeInfo *) calloc(1, sizeof(struct _GtkWidgetShapeInfo));
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: delete__GtkWidgetShapeInfo */
  SYX_FUNC_PRIMITIVE(Gtk_delete__GtkWidgetShapeInfo)
  {
    struct _GtkWidgetShapeInfo *arg1 = (struct _GtkWidgetShapeInfo *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, struct _GtkWidgetShapeInfo *, es->message_receiver)
    free((char *) arg1);
    
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_get_type */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_get_type)
  {
    GType result;
    SyxOop result_oop;
    
    result = (GType)gtk_widget_get_type();
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_new */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_new)
  {
    GType arg1 ;
    gchar *arg2 = (gchar *) 0 ;
    void *arg3 = 0 ;
    GtkWidget *result = 0 ;
    SyxOop result_oop;
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_OBJECT_STRING(es->message_arguments[1]);
    
    result = (GtkWidget *)gtk_widget_new(arg1,(char const *)arg2,arg3);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_destroy */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_destroy)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    gtk_widget_destroy(arg1);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_destroyed */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_destroyed)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    GtkWidget **arg2 = (GtkWidget **) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkWidget **, es->message_arguments[0])
    gtk_widget_destroyed(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_ref */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_ref)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    GtkWidget *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    result = (GtkWidget *)gtk_widget_ref(arg1);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_unref */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_unref)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    gtk_widget_unref(arg1);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_set */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_set)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    gchar *arg2 = (gchar *) 0 ;
    void *arg3 = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    gtk_widget_set(arg1,(char const *)arg2,arg3);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_unparent */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_unparent)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    gtk_widget_unparent(arg1);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_show */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_show)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    gtk_widget_show(arg1);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_show_now */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_show_now)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    gtk_widget_show_now(arg1);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_hide */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_hide)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    gtk_widget_hide(arg1);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_show_all */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_show_all)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    gtk_widget_show_all(arg1);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_hide_all */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_hide_all)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    gtk_widget_hide_all(arg1);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_set_no_show_all */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_set_no_show_all)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    gboolean arg2 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    
    if (!SYX_IS_BOOLEAN(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_IS_TRUE(es->message_arguments[0]);
    
    gtk_widget_set_no_show_all(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_get_no_show_all */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_get_no_show_all)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    result = gtk_widget_get_no_show_all(arg1);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_map */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_map)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    gtk_widget_map(arg1);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_unmap */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_unmap)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    gtk_widget_unmap(arg1);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_realize */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_realize)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    gtk_widget_realize(arg1);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_unrealize */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_unrealize)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    gtk_widget_unrealize(arg1);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_queue_draw */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_queue_draw)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    gtk_widget_queue_draw(arg1);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_queue_draw_area */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_queue_draw_area)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    gint arg2 ;
    gint arg3 ;
    gint arg4 ;
    gint arg5 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg3 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[2]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg4 = SYX_SMALL_INTEGER(es->message_arguments[2]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[3]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg5 = SYX_SMALL_INTEGER(es->message_arguments[3]);
    
    gtk_widget_queue_draw_area(arg1,arg2,arg3,arg4,arg5);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_queue_clear */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_queue_clear)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    gtk_widget_queue_clear(arg1);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_queue_clear_area */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_queue_clear_area)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    gint arg2 ;
    gint arg3 ;
    gint arg4 ;
    gint arg5 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg3 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[2]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg4 = SYX_SMALL_INTEGER(es->message_arguments[2]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[3]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg5 = SYX_SMALL_INTEGER(es->message_arguments[3]);
    
    gtk_widget_queue_clear_area(arg1,arg2,arg3,arg4,arg5);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_queue_resize */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_queue_resize)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    gtk_widget_queue_resize(arg1);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_queue_resize_no_redraw */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_queue_resize_no_redraw)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    gtk_widget_queue_resize_no_redraw(arg1);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_draw */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_draw)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    GdkRectangle *arg2 = (GdkRectangle *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GdkRectangle *, es->message_arguments[0])
    gtk_widget_draw(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_size_request */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_size_request)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    GtkRequisition *arg2 = (GtkRequisition *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkRequisition *, es->message_arguments[0])
    gtk_widget_size_request(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_size_allocate */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_size_allocate)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    GtkAllocation *arg2 = (GtkAllocation *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkAllocation *, es->message_arguments[0])
    gtk_widget_size_allocate(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_get_child_requisition */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_get_child_requisition)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    GtkRequisition *arg2 = (GtkRequisition *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkRequisition *, es->message_arguments[0])
    gtk_widget_get_child_requisition(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_add_accelerator */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_add_accelerator)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    gchar *arg2 = (gchar *) 0 ;
    GtkAccelGroup *arg3 = (GtkAccelGroup *) 0 ;
    guint arg4 ;
    GdkModifierType arg5 ;
    GtkAccelFlags arg6 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    SWIG_FIRST_SELF(arg3, GtkAccelGroup *, es->message_arguments[1])
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[2]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg4 = SYX_SMALL_INTEGER(es->message_arguments[2]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[3]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg5 = SYX_SMALL_INTEGER(es->message_arguments[3]);
    
    gtk_widget_add_accelerator(arg1,(char const *)arg2,arg3,arg4,arg5,arg6);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_remove_accelerator */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_remove_accelerator)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    GtkAccelGroup *arg2 = (GtkAccelGroup *) 0 ;
    guint arg3 ;
    GdkModifierType arg4 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkAccelGroup *, es->message_arguments[0])
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg3 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[2]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg4 = SYX_SMALL_INTEGER(es->message_arguments[2]);
    
    result = gtk_widget_remove_accelerator(arg1,arg2,arg3,arg4);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_set_accel_path */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_set_accel_path)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    gchar *arg2 = (gchar *) 0 ;
    GtkAccelGroup *arg3 = (GtkAccelGroup *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    SWIG_FIRST_SELF(arg3, GtkAccelGroup *, es->message_arguments[1])
    gtk_widget_set_accel_path(arg1,(char const *)arg2,arg3);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_list_accel_closures */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_list_accel_closures)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    GList *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    result = (GList *)gtk_widget_list_accel_closures(arg1);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_can_activate_accel */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_can_activate_accel)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    guint arg2 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    result = gtk_widget_can_activate_accel(arg1,arg2);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_mnemonic_activate */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_mnemonic_activate)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    gboolean arg2 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    
    if (!SYX_IS_BOOLEAN(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_IS_TRUE(es->message_arguments[0]);
    
    result = gtk_widget_mnemonic_activate(arg1,arg2);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_event */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_event)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    GdkEvent *arg2 = (GdkEvent *) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GdkEvent *, es->message_arguments[0])
    result = gtk_widget_event(arg1,arg2);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_send_expose */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_send_expose)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    GdkEvent *arg2 = (GdkEvent *) 0 ;
    gint result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GdkEvent *, es->message_arguments[0])
    result = (gint)gtk_widget_send_expose(arg1,arg2);
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_activate */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_activate)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    result = gtk_widget_activate(arg1);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_set_scroll_adjustments */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_set_scroll_adjustments)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    GtkAdjustment *arg2 = (GtkAdjustment *) 0 ;
    GtkAdjustment *arg3 = (GtkAdjustment *) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkAdjustment *, es->message_arguments[0])
    SWIG_FIRST_SELF(arg3, GtkAdjustment *, es->message_arguments[1])
    result = gtk_widget_set_scroll_adjustments(arg1,arg2,arg3);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_reparent */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_reparent)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    GtkWidget *arg2 = (GtkWidget *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkWidget *, es->message_arguments[0])
    gtk_widget_reparent(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_intersect */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_intersect)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    GdkRectangle *arg2 = (GdkRectangle *) 0 ;
    GdkRectangle *arg3 = (GdkRectangle *) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GdkRectangle *, es->message_arguments[0])
    SWIG_FIRST_SELF(arg3, GdkRectangle *, es->message_arguments[1])
    result = gtk_widget_intersect(arg1,arg2,arg3);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_region_intersect */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_region_intersect)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    GdkRegion *arg2 = (GdkRegion *) 0 ;
    GdkRegion *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GdkRegion *, es->message_arguments[0])
    result = (GdkRegion *)gtk_widget_region_intersect(arg1,arg2);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_freeze_child_notify */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_freeze_child_notify)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    gtk_widget_freeze_child_notify(arg1);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_child_notify */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_child_notify)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    gchar *arg2 = (gchar *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    gtk_widget_child_notify(arg1,(char const *)arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_thaw_child_notify */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_thaw_child_notify)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    gtk_widget_thaw_child_notify(arg1);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_is_focus */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_is_focus)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    result = gtk_widget_is_focus(arg1);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_grab_focus */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_grab_focus)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    gtk_widget_grab_focus(arg1);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_grab_default */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_grab_default)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    gtk_widget_grab_default(arg1);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_set_name */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_set_name)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    gchar *arg2 = (gchar *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    gtk_widget_set_name(arg1,(char const *)arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_get_name */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_get_name)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    gchar *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    result = (gchar *)gtk_widget_get_name(arg1);
    SWIG_APPEND_VALUE (syx_string_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_set_state */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_set_state)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    GtkStateType arg2 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    gtk_widget_set_state(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_set_sensitive */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_set_sensitive)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    gboolean arg2 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    
    if (!SYX_IS_BOOLEAN(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_IS_TRUE(es->message_arguments[0]);
    
    gtk_widget_set_sensitive(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_set_app_paintable */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_set_app_paintable)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    gboolean arg2 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    
    if (!SYX_IS_BOOLEAN(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_IS_TRUE(es->message_arguments[0]);
    
    gtk_widget_set_app_paintable(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_set_double_buffered */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_set_double_buffered)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    gboolean arg2 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    
    if (!SYX_IS_BOOLEAN(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_IS_TRUE(es->message_arguments[0]);
    
    gtk_widget_set_double_buffered(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_set_redraw_on_allocate */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_set_redraw_on_allocate)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    gboolean arg2 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    
    if (!SYX_IS_BOOLEAN(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_IS_TRUE(es->message_arguments[0]);
    
    gtk_widget_set_redraw_on_allocate(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_set_parent */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_set_parent)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    GtkWidget *arg2 = (GtkWidget *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkWidget *, es->message_arguments[0])
    gtk_widget_set_parent(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_set_parent_window */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_set_parent_window)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    GdkWindow *arg2 = (GdkWindow *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GdkWindow *, es->message_arguments[0])
    gtk_widget_set_parent_window(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_set_child_visible */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_set_child_visible)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    gboolean arg2 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    
    if (!SYX_IS_BOOLEAN(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_IS_TRUE(es->message_arguments[0]);
    
    gtk_widget_set_child_visible(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_get_child_visible */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_get_child_visible)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    result = gtk_widget_get_child_visible(arg1);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_get_parent */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_get_parent)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    GtkWidget *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    result = (GtkWidget *)gtk_widget_get_parent(arg1);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_get_parent_window */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_get_parent_window)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    GdkWindow *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    result = (GdkWindow *)gtk_widget_get_parent_window(arg1);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_child_focus */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_child_focus)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    GtkDirectionType arg2 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    result = gtk_widget_child_focus(arg1,arg2);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_keynav_failed */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_keynav_failed)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    GtkDirectionType arg2 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    result = gtk_widget_keynav_failed(arg1,arg2);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_error_bell */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_error_bell)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    gtk_widget_error_bell(arg1);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_set_size_request */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_set_size_request)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    gint arg2 ;
    gint arg3 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg3 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    gtk_widget_set_size_request(arg1,arg2,arg3);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_get_size_request */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_get_size_request)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    gint *arg2 = (gint *) 0 ;
    gint *arg3 = (gint *) 0 ;
    int temp2 ;
    int temp3 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    
    temp2 = (int) SYX_SMALL_INTEGER(es->message_arguments[0]);
    arg2 = &temp2;
    
    
    temp3 = (int) SYX_SMALL_INTEGER(es->message_arguments[1]);
    arg3 = &temp3;
    
  #undef SWIG_APPEND_VALUE
  #define SWIG_APPEND_VALUE _SWIG_APPEND_RESULT
    int num_values = 0;
    result_oop = syx_array_new_size (3);
    gtk_widget_get_size_request(arg1,arg2,arg3);
    SWIG_APPEND_VALUE (es->message_receiver);
    SWIG_APPEND_VALUE (syx_small_integer_new(*arg2));
    SWIG_APPEND_VALUE (syx_small_integer_new(*arg3));
    SYX_PRIM_RETURN (result_oop);
  #undef SWIG_APPEND_VALUE
  #define SWIG_APPEND_VALUE _SWIG_SET_RESULT
  }
  
  
  /* Module: Gtk Function: gtk_widget_set_uposition */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_set_uposition)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    gint arg2 ;
    gint arg3 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg3 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    gtk_widget_set_uposition(arg1,arg2,arg3);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_set_usize */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_set_usize)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    gint arg2 ;
    gint arg3 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg3 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    gtk_widget_set_usize(arg1,arg2,arg3);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_set_events */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_set_events)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    gint arg2 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    gtk_widget_set_events(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_add_events */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_add_events)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    gint arg2 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    gtk_widget_add_events(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_set_extension_events */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_set_extension_events)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    GdkExtensionMode arg2 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    gtk_widget_set_extension_events(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_get_extension_events */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_get_extension_events)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    GdkExtensionMode result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    result = (GdkExtensionMode)gtk_widget_get_extension_events(arg1);
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_get_toplevel */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_get_toplevel)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    GtkWidget *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    result = (GtkWidget *)gtk_widget_get_toplevel(arg1);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_get_ancestor */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_get_ancestor)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    GType arg2 ;
    GtkWidget *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    result = (GtkWidget *)gtk_widget_get_ancestor(arg1,arg2);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_get_colormap */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_get_colormap)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    GdkColormap *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    result = (GdkColormap *)gtk_widget_get_colormap(arg1);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_get_visual */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_get_visual)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    GdkVisual *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    result = (GdkVisual *)gtk_widget_get_visual(arg1);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_get_screen */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_get_screen)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    GdkScreen *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    result = (GdkScreen *)gtk_widget_get_screen(arg1);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_has_screen */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_has_screen)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    result = gtk_widget_has_screen(arg1);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_get_display */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_get_display)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    GdkDisplay *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    result = (GdkDisplay *)gtk_widget_get_display(arg1);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_get_root_window */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_get_root_window)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    GdkWindow *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    result = (GdkWindow *)gtk_widget_get_root_window(arg1);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_get_settings */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_get_settings)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    GtkSettings *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    result = (GtkSettings *)gtk_widget_get_settings(arg1);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_get_clipboard */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_get_clipboard)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    GdkAtom arg2 = (GdkAtom) 0 ;
    GtkClipboard *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GdkAtom, es->message_arguments[0])
    result = (GtkClipboard *)gtk_widget_get_clipboard(arg1,arg2);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_get_accessible */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_get_accessible)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    AtkObject *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    result = (AtkObject *)gtk_widget_get_accessible(arg1);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_set_colormap */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_set_colormap)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    GdkColormap *arg2 = (GdkColormap *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GdkColormap *, es->message_arguments[0])
    gtk_widget_set_colormap(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_get_events */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_get_events)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    gint result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    result = (gint)gtk_widget_get_events(arg1);
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_get_pointer */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_get_pointer)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    gint *arg2 = (gint *) 0 ;
    gint *arg3 = (gint *) 0 ;
    int temp2 ;
    int temp3 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    
    temp2 = (int) SYX_SMALL_INTEGER(es->message_arguments[0]);
    arg2 = &temp2;
    
    
    temp3 = (int) SYX_SMALL_INTEGER(es->message_arguments[1]);
    arg3 = &temp3;
    
  #undef SWIG_APPEND_VALUE
  #define SWIG_APPEND_VALUE _SWIG_APPEND_RESULT
    int num_values = 0;
    result_oop = syx_array_new_size (3);
    gtk_widget_get_pointer(arg1,arg2,arg3);
    SWIG_APPEND_VALUE (es->message_receiver);
    SWIG_APPEND_VALUE (syx_small_integer_new(*arg2));
    SWIG_APPEND_VALUE (syx_small_integer_new(*arg3));
    SYX_PRIM_RETURN (result_oop);
  #undef SWIG_APPEND_VALUE
  #define SWIG_APPEND_VALUE _SWIG_SET_RESULT
  }
  
  
  /* Module: Gtk Function: gtk_widget_is_ancestor */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_is_ancestor)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    GtkWidget *arg2 = (GtkWidget *) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkWidget *, es->message_arguments[0])
    result = gtk_widget_is_ancestor(arg1,arg2);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_translate_coordinates */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_translate_coordinates)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    GtkWidget *arg2 = (GtkWidget *) 0 ;
    gint arg3 ;
    gint arg4 ;
    gint *arg5 = (gint *) 0 ;
    gint *arg6 = (gint *) 0 ;
    gboolean result;
    int temp5 ;
    int temp6 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkWidget *, es->message_arguments[0])
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg3 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[2]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg4 = SYX_SMALL_INTEGER(es->message_arguments[2]);
    
    
    temp5 = (int) SYX_SMALL_INTEGER(es->message_arguments[3]);
    arg5 = &temp5;
    
    
    temp6 = (int) SYX_SMALL_INTEGER(es->message_arguments[4]);
    arg6 = &temp6;
    
  #undef SWIG_APPEND_VALUE
  #define SWIG_APPEND_VALUE _SWIG_APPEND_RESULT
    int num_values = 0;
    result_oop = syx_array_new_size (3);
    result = gtk_widget_translate_coordinates(arg1,arg2,arg3,arg4,arg5,arg6);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SWIG_APPEND_VALUE (syx_small_integer_new(*arg5));
    SWIG_APPEND_VALUE (syx_small_integer_new(*arg6));
    SYX_PRIM_RETURN (result_oop);
  #undef SWIG_APPEND_VALUE
  #define SWIG_APPEND_VALUE _SWIG_SET_RESULT
  }
  
  
  /* Module: Gtk Function: gtk_widget_hide_on_delete */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_hide_on_delete)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    result = gtk_widget_hide_on_delete(arg1);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_set_style */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_set_style)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    GtkStyle *arg2 = (GtkStyle *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkStyle *, es->message_arguments[0])
    gtk_widget_set_style(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_ensure_style */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_ensure_style)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    gtk_widget_ensure_style(arg1);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_get_style */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_get_style)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    GtkStyle *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    result = (GtkStyle *)gtk_widget_get_style(arg1);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_modify_style */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_modify_style)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    GtkRcStyle *arg2 = (GtkRcStyle *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkRcStyle *, es->message_arguments[0])
    gtk_widget_modify_style(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_get_modifier_style */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_get_modifier_style)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    GtkRcStyle *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    result = (GtkRcStyle *)gtk_widget_get_modifier_style(arg1);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_modify_fg */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_modify_fg)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    GtkStateType arg2 ;
    GdkColor *arg3 = (GdkColor *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    SWIG_FIRST_SELF(arg3, GdkColor *, es->message_arguments[1])
    gtk_widget_modify_fg(arg1,arg2,(struct _GdkColor const *)arg3);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_modify_bg */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_modify_bg)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    GtkStateType arg2 ;
    GdkColor *arg3 = (GdkColor *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    SWIG_FIRST_SELF(arg3, GdkColor *, es->message_arguments[1])
    gtk_widget_modify_bg(arg1,arg2,(struct _GdkColor const *)arg3);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_modify_text */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_modify_text)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    GtkStateType arg2 ;
    GdkColor *arg3 = (GdkColor *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    SWIG_FIRST_SELF(arg3, GdkColor *, es->message_arguments[1])
    gtk_widget_modify_text(arg1,arg2,(struct _GdkColor const *)arg3);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_modify_base */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_modify_base)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    GtkStateType arg2 ;
    GdkColor *arg3 = (GdkColor *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    SWIG_FIRST_SELF(arg3, GdkColor *, es->message_arguments[1])
    gtk_widget_modify_base(arg1,arg2,(struct _GdkColor const *)arg3);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_modify_cursor */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_modify_cursor)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    GdkColor *arg2 = (GdkColor *) 0 ;
    GdkColor *arg3 = (GdkColor *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GdkColor *, es->message_arguments[0])
    SWIG_FIRST_SELF(arg3, GdkColor *, es->message_arguments[1])
    gtk_widget_modify_cursor(arg1,(struct _GdkColor const *)arg2,(struct _GdkColor const *)arg3);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_modify_font */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_modify_font)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    PangoFontDescription *arg2 = (PangoFontDescription *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, PangoFontDescription *, es->message_arguments[0])
    gtk_widget_modify_font(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_create_pango_context */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_create_pango_context)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    PangoContext *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    result = (PangoContext *)gtk_widget_create_pango_context(arg1);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_get_pango_context */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_get_pango_context)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    PangoContext *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    result = (PangoContext *)gtk_widget_get_pango_context(arg1);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_create_pango_layout */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_create_pango_layout)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    gchar *arg2 = (gchar *) 0 ;
    PangoLayout *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    result = (PangoLayout *)gtk_widget_create_pango_layout(arg1,(char const *)arg2);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_render_icon */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_render_icon)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    gchar *arg2 = (gchar *) 0 ;
    GtkIconSize arg3 ;
    gchar *arg4 = (gchar *) 0 ;
    GdkPixbuf *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg3 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[2]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg4 = SYX_OBJECT_STRING(es->message_arguments[2]);
    
    result = (GdkPixbuf *)gtk_widget_render_icon(arg1,(char const *)arg2,arg3,(char const *)arg4);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_set_composite_name */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_set_composite_name)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    gchar *arg2 = (gchar *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    gtk_widget_set_composite_name(arg1,(char const *)arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_get_composite_name */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_get_composite_name)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    gchar *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    result = (gchar *)gtk_widget_get_composite_name(arg1);
    SWIG_APPEND_VALUE (syx_string_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_reset_rc_styles */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_reset_rc_styles)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    gtk_widget_reset_rc_styles(arg1);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_push_colormap */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_push_colormap)
  {
    GdkColormap *arg1 = (GdkColormap *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkColormap *, es->message_receiver)
    gtk_widget_push_colormap(arg1);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_push_composite_child */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_push_composite_child)
  {
    SyxOop result_oop;
    
    gtk_widget_push_composite_child();
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_pop_composite_child */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_pop_composite_child)
  {
    SyxOop result_oop;
    
    gtk_widget_pop_composite_child();
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_pop_colormap */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_pop_colormap)
  {
    SyxOop result_oop;
    
    gtk_widget_pop_colormap();
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_class_install_style_property */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_class_install_style_property)
  {
    GtkWidgetClass *arg1 = (GtkWidgetClass *) 0 ;
    GParamSpec *arg2 = (GParamSpec *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidgetClass *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GParamSpec *, es->message_arguments[0])
    gtk_widget_class_install_style_property(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_class_install_style_property_parser */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_class_install_style_property_parser)
  {
    GtkWidgetClass *arg1 = (GtkWidgetClass *) 0 ;
    GParamSpec *arg2 = (GParamSpec *) 0 ;
    GtkRcPropertyParser arg3 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidgetClass *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GParamSpec *, es->message_arguments[0])
    gtk_widget_class_install_style_property_parser(arg1,arg2,arg3);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_class_find_style_property */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_class_find_style_property)
  {
    GtkWidgetClass *arg1 = (GtkWidgetClass *) 0 ;
    gchar *arg2 = (gchar *) 0 ;
    GParamSpec *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidgetClass *, es->message_receiver)
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    result = (GParamSpec *)gtk_widget_class_find_style_property(arg1,(char const *)arg2);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_class_list_style_properties */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_class_list_style_properties)
  {
    GtkWidgetClass *arg1 = (GtkWidgetClass *) 0 ;
    guint *arg2 = (guint *) 0 ;
    GParamSpec **result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidgetClass *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, guint *, es->message_arguments[0])
    result = (GParamSpec **)gtk_widget_class_list_style_properties(arg1,arg2);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_style_get_property */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_style_get_property)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    gchar *arg2 = (gchar *) 0 ;
    GValue *arg3 = (GValue *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    SWIG_FIRST_SELF(arg3, GValue *, es->message_arguments[1])
    gtk_widget_style_get_property(arg1,(char const *)arg2,arg3);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_style_get_valist */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_style_get_valist)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    gchar *arg2 = (gchar *) 0 ;
    va_list arg3 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    gtk_widget_style_get_valist(arg1,(char const *)arg2,arg3);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_style_get */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_style_get)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    gchar *arg2 = (gchar *) 0 ;
    void *arg3 = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    gtk_widget_style_get(arg1,(char const *)arg2,arg3);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_set_default_colormap */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_set_default_colormap)
  {
    GdkColormap *arg1 = (GdkColormap *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkColormap *, es->message_receiver)
    gtk_widget_set_default_colormap(arg1);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_get_default_style */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_get_default_style)
  {
    GtkStyle *result = 0 ;
    SyxOop result_oop;
    
    result = (GtkStyle *)gtk_widget_get_default_style();
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_get_default_colormap */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_get_default_colormap)
  {
    GdkColormap *result = 0 ;
    SyxOop result_oop;
    
    result = (GdkColormap *)gtk_widget_get_default_colormap();
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_get_default_visual */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_get_default_visual)
  {
    GdkVisual *result = 0 ;
    SyxOop result_oop;
    
    result = (GdkVisual *)gtk_widget_get_default_visual();
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_set_direction */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_set_direction)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    GtkTextDirection arg2 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    gtk_widget_set_direction(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_get_direction */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_get_direction)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    GtkTextDirection result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    result = (GtkTextDirection)gtk_widget_get_direction(arg1);
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_set_default_direction */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_set_default_direction)
  {
    GtkTextDirection arg1 ;
    SyxOop result_oop;
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    gtk_widget_set_default_direction(arg1);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_get_default_direction */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_get_default_direction)
  {
    GtkTextDirection result;
    SyxOop result_oop;
    
    result = (GtkTextDirection)gtk_widget_get_default_direction();
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_is_composited */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_is_composited)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    result = gtk_widget_is_composited(arg1);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_shape_combine_mask */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_shape_combine_mask)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    GdkBitmap *arg2 = (GdkBitmap *) 0 ;
    gint arg3 ;
    gint arg4 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GdkBitmap *, es->message_arguments[0])
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg3 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[2]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg4 = SYX_SMALL_INTEGER(es->message_arguments[2]);
    
    gtk_widget_shape_combine_mask(arg1,arg2,arg3,arg4);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_input_shape_combine_mask */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_input_shape_combine_mask)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    GdkBitmap *arg2 = (GdkBitmap *) 0 ;
    gint arg3 ;
    gint arg4 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GdkBitmap *, es->message_arguments[0])
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg3 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[2]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg4 = SYX_SMALL_INTEGER(es->message_arguments[2]);
    
    gtk_widget_input_shape_combine_mask(arg1,arg2,arg3,arg4);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_reset_shapes */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_reset_shapes)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    gtk_widget_reset_shapes(arg1);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_path */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_path)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    guint *arg2 = (guint *) 0 ;
    gchar **arg3 = (gchar **) 0 ;
    gchar **arg4 = (gchar **) 0 ;
    char *temp3 ;
    char *temp4 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, guint *, es->message_arguments[0])
    
    temp3 = (char *) SYX_OBJECT_STRING(es->message_arguments[1]);
    arg3 = &temp3;
    
    
    temp4 = (char *) SYX_OBJECT_STRING(es->message_arguments[2]);
    arg4 = &temp4;
    
  #undef SWIG_APPEND_VALUE
  #define SWIG_APPEND_VALUE _SWIG_APPEND_RESULT
    int num_values = 0;
    result_oop = syx_array_new_size (3);
    gtk_widget_path(arg1,arg2,arg3,arg4);
    SWIG_APPEND_VALUE (es->message_receiver);
    SWIG_APPEND_VALUE (syx_string_new(*arg3));
    SWIG_APPEND_VALUE (syx_string_new(*arg4));
    SYX_PRIM_RETURN (result_oop);
  #undef SWIG_APPEND_VALUE
  #define SWIG_APPEND_VALUE _SWIG_SET_RESULT
  }
  
  
  /* Module: Gtk Function: gtk_widget_class_path */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_class_path)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    guint *arg2 = (guint *) 0 ;
    gchar **arg3 = (gchar **) 0 ;
    gchar **arg4 = (gchar **) 0 ;
    char *temp3 ;
    char *temp4 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, guint *, es->message_arguments[0])
    
    temp3 = (char *) SYX_OBJECT_STRING(es->message_arguments[1]);
    arg3 = &temp3;
    
    
    temp4 = (char *) SYX_OBJECT_STRING(es->message_arguments[2]);
    arg4 = &temp4;
    
  #undef SWIG_APPEND_VALUE
  #define SWIG_APPEND_VALUE _SWIG_APPEND_RESULT
    int num_values = 0;
    result_oop = syx_array_new_size (3);
    gtk_widget_class_path(arg1,arg2,arg3,arg4);
    SWIG_APPEND_VALUE (es->message_receiver);
    SWIG_APPEND_VALUE (syx_string_new(*arg3));
    SWIG_APPEND_VALUE (syx_string_new(*arg4));
    SYX_PRIM_RETURN (result_oop);
  #undef SWIG_APPEND_VALUE
  #define SWIG_APPEND_VALUE _SWIG_SET_RESULT
  }
  
  
  /* Module: Gtk Function: gtk_widget_list_mnemonic_labels */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_list_mnemonic_labels)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    GList *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    result = (GList *)gtk_widget_list_mnemonic_labels(arg1);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_add_mnemonic_label */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_add_mnemonic_label)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    GtkWidget *arg2 = (GtkWidget *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkWidget *, es->message_arguments[0])
    gtk_widget_add_mnemonic_label(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_remove_mnemonic_label */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_remove_mnemonic_label)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    GtkWidget *arg2 = (GtkWidget *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkWidget *, es->message_arguments[0])
    gtk_widget_remove_mnemonic_label(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_set_tooltip_window */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_set_tooltip_window)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    GtkWindow *arg2 = (GtkWindow *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkWindow *, es->message_arguments[0])
    gtk_widget_set_tooltip_window(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_get_tooltip_window */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_get_tooltip_window)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    GtkWindow *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    result = (GtkWindow *)gtk_widget_get_tooltip_window(arg1);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_trigger_tooltip_query */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_trigger_tooltip_query)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    gtk_widget_trigger_tooltip_query(arg1);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_set_tooltip_text */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_set_tooltip_text)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    gchar *arg2 = (gchar *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    gtk_widget_set_tooltip_text(arg1,(char const *)arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_get_tooltip_text */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_get_tooltip_text)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    gchar *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    result = (gchar *)gtk_widget_get_tooltip_text(arg1);
    SWIG_APPEND_VALUE (syx_string_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_set_tooltip_markup */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_set_tooltip_markup)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    gchar *arg2 = (gchar *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    gtk_widget_set_tooltip_markup(arg1,(char const *)arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_get_tooltip_markup */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_get_tooltip_markup)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    gchar *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    result = (gchar *)gtk_widget_get_tooltip_markup(arg1);
    SWIG_APPEND_VALUE (syx_string_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_set_has_tooltip */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_set_has_tooltip)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    gboolean arg2 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    
    if (!SYX_IS_BOOLEAN(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_IS_TRUE(es->message_arguments[0]);
    
    gtk_widget_set_has_tooltip(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_widget_get_has_tooltip */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_widget_get_has_tooltip)
  {
    GtkWidget *arg1 = (GtkWidget *) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWidget *, es->message_receiver)
    result = gtk_widget_get_has_tooltip(arg1);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_requisition_get_type */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_requisition_get_type)
  {
    GType result;
    SyxOop result_oop;
    
    result = (GType)gtk_requisition_get_type();
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_requisition_copy */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_requisition_copy)
  {
    GtkRequisition *arg1 = (GtkRequisition *) 0 ;
    GtkRequisition *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkRequisition *, es->message_receiver)
    result = (GtkRequisition *)gtk_requisition_copy((struct _GtkRequisition const *)arg1);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_requisition_free */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_requisition_free)
  {
    GtkRequisition *arg1 = (GtkRequisition *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkRequisition *, es->message_receiver)
    gtk_requisition_free(arg1);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: new__GtkContainer */
  SYX_FUNC_PRIMITIVE(Gtk_new__GtkContainer)
  {
    struct _GtkContainer *result = 0 ;
    SyxOop result_oop;
    
    result = (struct _GtkContainer *)(struct _GtkContainer *) calloc(1, sizeof(struct _GtkContainer));
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: delete__GtkContainer */
  SYX_FUNC_PRIMITIVE(Gtk_delete__GtkContainer)
  {
    struct _GtkContainer *arg1 = (struct _GtkContainer *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, struct _GtkContainer *, es->message_receiver)
    free((char *) arg1);
    
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: new__GtkContainerClass */
  SYX_FUNC_PRIMITIVE(Gtk_new__GtkContainerClass)
  {
    struct _GtkContainerClass *result = 0 ;
    SyxOop result_oop;
    
    result = (struct _GtkContainerClass *)(struct _GtkContainerClass *) calloc(1, sizeof(struct _GtkContainerClass));
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: delete__GtkContainerClass */
  SYX_FUNC_PRIMITIVE(Gtk_delete__GtkContainerClass)
  {
    struct _GtkContainerClass *arg1 = (struct _GtkContainerClass *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, struct _GtkContainerClass *, es->message_receiver)
    free((char *) arg1);
    
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_container_get_type */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_container_get_type)
  {
    GType result;
    SyxOop result_oop;
    
    result = (GType)gtk_container_get_type();
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_container_set_border_width */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_container_set_border_width)
  {
    GtkContainer *arg1 = (GtkContainer *) 0 ;
    guint arg2 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkContainer *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    gtk_container_set_border_width(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_container_get_border_width */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_container_get_border_width)
  {
    GtkContainer *arg1 = (GtkContainer *) 0 ;
    guint result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkContainer *, es->message_receiver)
    result = (guint)gtk_container_get_border_width(arg1);
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_container_add */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_container_add)
  {
    GtkContainer *arg1 = (GtkContainer *) 0 ;
    GtkWidget *arg2 = (GtkWidget *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkContainer *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkWidget *, es->message_arguments[0])
    gtk_container_add(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_container_remove */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_container_remove)
  {
    GtkContainer *arg1 = (GtkContainer *) 0 ;
    GtkWidget *arg2 = (GtkWidget *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkContainer *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkWidget *, es->message_arguments[0])
    gtk_container_remove(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_container_set_resize_mode */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_container_set_resize_mode)
  {
    GtkContainer *arg1 = (GtkContainer *) 0 ;
    GtkResizeMode arg2 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkContainer *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    gtk_container_set_resize_mode(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_container_get_resize_mode */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_container_get_resize_mode)
  {
    GtkContainer *arg1 = (GtkContainer *) 0 ;
    GtkResizeMode result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkContainer *, es->message_receiver)
    result = (GtkResizeMode)gtk_container_get_resize_mode(arg1);
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_container_check_resize */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_container_check_resize)
  {
    GtkContainer *arg1 = (GtkContainer *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkContainer *, es->message_receiver)
    gtk_container_check_resize(arg1);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_container_foreach */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_container_foreach)
  {
    GtkContainer *arg1 = (GtkContainer *) 0 ;
    GtkCallback arg2 = (GtkCallback) 0 ;
    gpointer arg3 = (gpointer) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkContainer *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkCallback, es->message_arguments[0])
    SWIG_FIRST_SELF(arg3, gpointer, es->message_arguments[1])
    gtk_container_foreach(arg1,arg2,arg3);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_container_foreach_full */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_container_foreach_full)
  {
    GtkContainer *arg1 = (GtkContainer *) 0 ;
    GtkCallback arg2 = (GtkCallback) 0 ;
    GtkCallbackMarshal arg3 ;
    gpointer arg4 = (gpointer) 0 ;
    GtkDestroyNotify arg5 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkContainer *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkCallback, es->message_arguments[0])
    gtk_container_foreach_full(arg1,arg2,arg3,arg4,arg5);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_container_get_children */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_container_get_children)
  {
    GtkContainer *arg1 = (GtkContainer *) 0 ;
    GList *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkContainer *, es->message_receiver)
    result = (GList *)gtk_container_get_children(arg1);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_container_propagate_expose */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_container_propagate_expose)
  {
    GtkContainer *arg1 = (GtkContainer *) 0 ;
    GtkWidget *arg2 = (GtkWidget *) 0 ;
    GdkEventExpose *arg3 = (GdkEventExpose *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkContainer *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkWidget *, es->message_arguments[0])
    SWIG_FIRST_SELF(arg3, GdkEventExpose *, es->message_arguments[1])
    gtk_container_propagate_expose(arg1,arg2,arg3);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_container_set_focus_chain */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_container_set_focus_chain)
  {
    GtkContainer *arg1 = (GtkContainer *) 0 ;
    GList *arg2 = (GList *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkContainer *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GList *, es->message_arguments[0])
    gtk_container_set_focus_chain(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_container_get_focus_chain */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_container_get_focus_chain)
  {
    GtkContainer *arg1 = (GtkContainer *) 0 ;
    GList **arg2 = (GList **) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkContainer *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GList **, es->message_arguments[0])
    result = gtk_container_get_focus_chain(arg1,arg2);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_container_unset_focus_chain */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_container_unset_focus_chain)
  {
    GtkContainer *arg1 = (GtkContainer *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkContainer *, es->message_receiver)
    gtk_container_unset_focus_chain(arg1);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_container_set_reallocate_redraws */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_container_set_reallocate_redraws)
  {
    GtkContainer *arg1 = (GtkContainer *) 0 ;
    gboolean arg2 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkContainer *, es->message_receiver)
    
    if (!SYX_IS_BOOLEAN(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_IS_TRUE(es->message_arguments[0]);
    
    gtk_container_set_reallocate_redraws(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_container_set_focus_child */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_container_set_focus_child)
  {
    GtkContainer *arg1 = (GtkContainer *) 0 ;
    GtkWidget *arg2 = (GtkWidget *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkContainer *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkWidget *, es->message_arguments[0])
    gtk_container_set_focus_child(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_container_set_focus_vadjustment */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_container_set_focus_vadjustment)
  {
    GtkContainer *arg1 = (GtkContainer *) 0 ;
    GtkAdjustment *arg2 = (GtkAdjustment *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkContainer *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkAdjustment *, es->message_arguments[0])
    gtk_container_set_focus_vadjustment(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_container_get_focus_vadjustment */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_container_get_focus_vadjustment)
  {
    GtkContainer *arg1 = (GtkContainer *) 0 ;
    GtkAdjustment *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkContainer *, es->message_receiver)
    result = (GtkAdjustment *)gtk_container_get_focus_vadjustment(arg1);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_container_set_focus_hadjustment */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_container_set_focus_hadjustment)
  {
    GtkContainer *arg1 = (GtkContainer *) 0 ;
    GtkAdjustment *arg2 = (GtkAdjustment *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkContainer *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkAdjustment *, es->message_arguments[0])
    gtk_container_set_focus_hadjustment(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_container_get_focus_hadjustment */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_container_get_focus_hadjustment)
  {
    GtkContainer *arg1 = (GtkContainer *) 0 ;
    GtkAdjustment *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkContainer *, es->message_receiver)
    result = (GtkAdjustment *)gtk_container_get_focus_hadjustment(arg1);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_container_resize_children */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_container_resize_children)
  {
    GtkContainer *arg1 = (GtkContainer *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkContainer *, es->message_receiver)
    gtk_container_resize_children(arg1);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_container_child_type */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_container_child_type)
  {
    GtkContainer *arg1 = (GtkContainer *) 0 ;
    GType result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkContainer *, es->message_receiver)
    result = (GType)gtk_container_child_type(arg1);
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_container_class_install_child_property */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_container_class_install_child_property)
  {
    GtkContainerClass *arg1 = (GtkContainerClass *) 0 ;
    guint arg2 ;
    GParamSpec *arg3 = (GParamSpec *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkContainerClass *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    SWIG_FIRST_SELF(arg3, GParamSpec *, es->message_arguments[1])
    gtk_container_class_install_child_property(arg1,arg2,arg3);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_container_class_find_child_property */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_container_class_find_child_property)
  {
    GObjectClass *arg1 = (GObjectClass *) 0 ;
    gchar *arg2 = (gchar *) 0 ;
    GParamSpec *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GObjectClass *, es->message_receiver)
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    result = (GParamSpec *)gtk_container_class_find_child_property(arg1,(char const *)arg2);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_container_class_list_child_properties */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_container_class_list_child_properties)
  {
    GObjectClass *arg1 = (GObjectClass *) 0 ;
    guint *arg2 = (guint *) 0 ;
    GParamSpec **result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GObjectClass *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, guint *, es->message_arguments[0])
    result = (GParamSpec **)gtk_container_class_list_child_properties(arg1,arg2);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_container_add_with_properties */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_container_add_with_properties)
  {
    GtkContainer *arg1 = (GtkContainer *) 0 ;
    GtkWidget *arg2 = (GtkWidget *) 0 ;
    gchar *arg3 = (gchar *) 0 ;
    void *arg4 = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkContainer *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkWidget *, es->message_arguments[0])
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg3 = SYX_OBJECT_STRING(es->message_arguments[1]);
    
    gtk_container_add_with_properties(arg1,arg2,(char const *)arg3,arg4);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_container_child_set */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_container_child_set)
  {
    GtkContainer *arg1 = (GtkContainer *) 0 ;
    GtkWidget *arg2 = (GtkWidget *) 0 ;
    gchar *arg3 = (gchar *) 0 ;
    void *arg4 = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkContainer *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkWidget *, es->message_arguments[0])
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg3 = SYX_OBJECT_STRING(es->message_arguments[1]);
    
    gtk_container_child_set(arg1,arg2,(char const *)arg3,arg4);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_container_child_get */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_container_child_get)
  {
    GtkContainer *arg1 = (GtkContainer *) 0 ;
    GtkWidget *arg2 = (GtkWidget *) 0 ;
    gchar *arg3 = (gchar *) 0 ;
    void *arg4 = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkContainer *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkWidget *, es->message_arguments[0])
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg3 = SYX_OBJECT_STRING(es->message_arguments[1]);
    
    gtk_container_child_get(arg1,arg2,(char const *)arg3,arg4);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_container_child_set_valist */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_container_child_set_valist)
  {
    GtkContainer *arg1 = (GtkContainer *) 0 ;
    GtkWidget *arg2 = (GtkWidget *) 0 ;
    gchar *arg3 = (gchar *) 0 ;
    va_list arg4 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkContainer *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkWidget *, es->message_arguments[0])
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg3 = SYX_OBJECT_STRING(es->message_arguments[1]);
    
    gtk_container_child_set_valist(arg1,arg2,(char const *)arg3,arg4);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_container_child_get_valist */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_container_child_get_valist)
  {
    GtkContainer *arg1 = (GtkContainer *) 0 ;
    GtkWidget *arg2 = (GtkWidget *) 0 ;
    gchar *arg3 = (gchar *) 0 ;
    va_list arg4 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkContainer *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkWidget *, es->message_arguments[0])
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg3 = SYX_OBJECT_STRING(es->message_arguments[1]);
    
    gtk_container_child_get_valist(arg1,arg2,(char const *)arg3,arg4);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_container_child_set_property */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_container_child_set_property)
  {
    GtkContainer *arg1 = (GtkContainer *) 0 ;
    GtkWidget *arg2 = (GtkWidget *) 0 ;
    gchar *arg3 = (gchar *) 0 ;
    GValue *arg4 = (GValue *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkContainer *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkWidget *, es->message_arguments[0])
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg3 = SYX_OBJECT_STRING(es->message_arguments[1]);
    
    SWIG_FIRST_SELF(arg4, GValue *, es->message_arguments[2])
    gtk_container_child_set_property(arg1,arg2,(char const *)arg3,(struct _GValue const *)arg4);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_container_child_get_property */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_container_child_get_property)
  {
    GtkContainer *arg1 = (GtkContainer *) 0 ;
    GtkWidget *arg2 = (GtkWidget *) 0 ;
    gchar *arg3 = (gchar *) 0 ;
    GValue *arg4 = (GValue *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkContainer *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkWidget *, es->message_arguments[0])
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg3 = SYX_OBJECT_STRING(es->message_arguments[1]);
    
    SWIG_FIRST_SELF(arg4, GValue *, es->message_arguments[2])
    gtk_container_child_get_property(arg1,arg2,(char const *)arg3,arg4);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_container_forall */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_container_forall)
  {
    GtkContainer *arg1 = (GtkContainer *) 0 ;
    GtkCallback arg2 = (GtkCallback) 0 ;
    gpointer arg3 = (gpointer) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkContainer *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkCallback, es->message_arguments[0])
    SWIG_FIRST_SELF(arg3, gpointer, es->message_arguments[1])
    gtk_container_forall(arg1,arg2,arg3);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: new__GtkLabel */
  SYX_FUNC_PRIMITIVE(Gtk_new__GtkLabel)
  {
    struct _GtkLabel *result = 0 ;
    SyxOop result_oop;
    
    result = (struct _GtkLabel *)(struct _GtkLabel *) calloc(1, sizeof(struct _GtkLabel));
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: delete__GtkLabel */
  SYX_FUNC_PRIMITIVE(Gtk_delete__GtkLabel)
  {
    struct _GtkLabel *arg1 = (struct _GtkLabel *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, struct _GtkLabel *, es->message_receiver)
    free((char *) arg1);
    
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: new__GtkLabelClass */
  SYX_FUNC_PRIMITIVE(Gtk_new__GtkLabelClass)
  {
    struct _GtkLabelClass *result = 0 ;
    SyxOop result_oop;
    
    result = (struct _GtkLabelClass *)(struct _GtkLabelClass *) calloc(1, sizeof(struct _GtkLabelClass));
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: delete__GtkLabelClass */
  SYX_FUNC_PRIMITIVE(Gtk_delete__GtkLabelClass)
  {
    struct _GtkLabelClass *arg1 = (struct _GtkLabelClass *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, struct _GtkLabelClass *, es->message_receiver)
    free((char *) arg1);
    
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_label_get_type */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_label_get_type)
  {
    GType result;
    SyxOop result_oop;
    
    result = (GType)gtk_label_get_type();
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_label_new */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_label_new)
  {
    gchar *arg1 = (gchar *) 0 ;
    GtkWidget *result = 0 ;
    SyxOop result_oop;
    
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    result = (GtkWidget *)gtk_label_new((char const *)arg1);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_label_new_with_mnemonic */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_label_new_with_mnemonic)
  {
    gchar *arg1 = (gchar *) 0 ;
    GtkWidget *result = 0 ;
    SyxOop result_oop;
    
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    result = (GtkWidget *)gtk_label_new_with_mnemonic((char const *)arg1);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_label_set_text */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_label_set_text)
  {
    GtkLabel *arg1 = (GtkLabel *) 0 ;
    gchar *arg2 = (gchar *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkLabel *, es->message_receiver)
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    gtk_label_set_text(arg1,(char const *)arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_label_get_text */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_label_get_text)
  {
    GtkLabel *arg1 = (GtkLabel *) 0 ;
    gchar *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkLabel *, es->message_receiver)
    result = (gchar *)gtk_label_get_text(arg1);
    SWIG_APPEND_VALUE (syx_string_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_label_set_attributes */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_label_set_attributes)
  {
    GtkLabel *arg1 = (GtkLabel *) 0 ;
    PangoAttrList *arg2 = (PangoAttrList *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkLabel *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, PangoAttrList *, es->message_arguments[0])
    gtk_label_set_attributes(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_label_get_attributes */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_label_get_attributes)
  {
    GtkLabel *arg1 = (GtkLabel *) 0 ;
    PangoAttrList *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkLabel *, es->message_receiver)
    result = (PangoAttrList *)gtk_label_get_attributes(arg1);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_label_set_label */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_label_set_label)
  {
    GtkLabel *arg1 = (GtkLabel *) 0 ;
    gchar *arg2 = (gchar *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkLabel *, es->message_receiver)
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    gtk_label_set_label(arg1,(char const *)arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_label_get_label */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_label_get_label)
  {
    GtkLabel *arg1 = (GtkLabel *) 0 ;
    gchar *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkLabel *, es->message_receiver)
    result = (gchar *)gtk_label_get_label(arg1);
    SWIG_APPEND_VALUE (syx_string_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_label_set_markup */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_label_set_markup)
  {
    GtkLabel *arg1 = (GtkLabel *) 0 ;
    gchar *arg2 = (gchar *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkLabel *, es->message_receiver)
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    gtk_label_set_markup(arg1,(char const *)arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_label_set_use_markup */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_label_set_use_markup)
  {
    GtkLabel *arg1 = (GtkLabel *) 0 ;
    gboolean arg2 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkLabel *, es->message_receiver)
    
    if (!SYX_IS_BOOLEAN(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_IS_TRUE(es->message_arguments[0]);
    
    gtk_label_set_use_markup(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_label_get_use_markup */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_label_get_use_markup)
  {
    GtkLabel *arg1 = (GtkLabel *) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkLabel *, es->message_receiver)
    result = gtk_label_get_use_markup(arg1);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_label_set_use_underline */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_label_set_use_underline)
  {
    GtkLabel *arg1 = (GtkLabel *) 0 ;
    gboolean arg2 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkLabel *, es->message_receiver)
    
    if (!SYX_IS_BOOLEAN(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_IS_TRUE(es->message_arguments[0]);
    
    gtk_label_set_use_underline(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_label_get_use_underline */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_label_get_use_underline)
  {
    GtkLabel *arg1 = (GtkLabel *) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkLabel *, es->message_receiver)
    result = gtk_label_get_use_underline(arg1);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_label_set_markup_with_mnemonic */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_label_set_markup_with_mnemonic)
  {
    GtkLabel *arg1 = (GtkLabel *) 0 ;
    gchar *arg2 = (gchar *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkLabel *, es->message_receiver)
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    gtk_label_set_markup_with_mnemonic(arg1,(char const *)arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_label_get_mnemonic_keyval */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_label_get_mnemonic_keyval)
  {
    GtkLabel *arg1 = (GtkLabel *) 0 ;
    guint result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkLabel *, es->message_receiver)
    result = (guint)gtk_label_get_mnemonic_keyval(arg1);
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_label_set_mnemonic_widget */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_label_set_mnemonic_widget)
  {
    GtkLabel *arg1 = (GtkLabel *) 0 ;
    GtkWidget *arg2 = (GtkWidget *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkLabel *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkWidget *, es->message_arguments[0])
    gtk_label_set_mnemonic_widget(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_label_get_mnemonic_widget */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_label_get_mnemonic_widget)
  {
    GtkLabel *arg1 = (GtkLabel *) 0 ;
    GtkWidget *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkLabel *, es->message_receiver)
    result = (GtkWidget *)gtk_label_get_mnemonic_widget(arg1);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_label_set_text_with_mnemonic */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_label_set_text_with_mnemonic)
  {
    GtkLabel *arg1 = (GtkLabel *) 0 ;
    gchar *arg2 = (gchar *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkLabel *, es->message_receiver)
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    gtk_label_set_text_with_mnemonic(arg1,(char const *)arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_label_set_justify */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_label_set_justify)
  {
    GtkLabel *arg1 = (GtkLabel *) 0 ;
    GtkJustification arg2 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkLabel *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    gtk_label_set_justify(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_label_get_justify */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_label_get_justify)
  {
    GtkLabel *arg1 = (GtkLabel *) 0 ;
    GtkJustification result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkLabel *, es->message_receiver)
    result = (GtkJustification)gtk_label_get_justify(arg1);
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_label_set_ellipsize */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_label_set_ellipsize)
  {
    GtkLabel *arg1 = (GtkLabel *) 0 ;
    PangoEllipsizeMode arg2 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkLabel *, es->message_receiver)
    gtk_label_set_ellipsize(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_label_get_ellipsize */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_label_get_ellipsize)
  {
    GtkLabel *arg1 = (GtkLabel *) 0 ;
    PangoEllipsizeMode result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkLabel *, es->message_receiver)
    result = gtk_label_get_ellipsize(arg1);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_label_set_width_chars */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_label_set_width_chars)
  {
    GtkLabel *arg1 = (GtkLabel *) 0 ;
    gint arg2 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkLabel *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    gtk_label_set_width_chars(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_label_get_width_chars */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_label_get_width_chars)
  {
    GtkLabel *arg1 = (GtkLabel *) 0 ;
    gint result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkLabel *, es->message_receiver)
    result = (gint)gtk_label_get_width_chars(arg1);
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_label_set_max_width_chars */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_label_set_max_width_chars)
  {
    GtkLabel *arg1 = (GtkLabel *) 0 ;
    gint arg2 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkLabel *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    gtk_label_set_max_width_chars(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_label_get_max_width_chars */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_label_get_max_width_chars)
  {
    GtkLabel *arg1 = (GtkLabel *) 0 ;
    gint result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkLabel *, es->message_receiver)
    result = (gint)gtk_label_get_max_width_chars(arg1);
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_label_set_pattern */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_label_set_pattern)
  {
    GtkLabel *arg1 = (GtkLabel *) 0 ;
    gchar *arg2 = (gchar *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkLabel *, es->message_receiver)
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    gtk_label_set_pattern(arg1,(char const *)arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_label_set_line_wrap */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_label_set_line_wrap)
  {
    GtkLabel *arg1 = (GtkLabel *) 0 ;
    gboolean arg2 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkLabel *, es->message_receiver)
    
    if (!SYX_IS_BOOLEAN(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_IS_TRUE(es->message_arguments[0]);
    
    gtk_label_set_line_wrap(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_label_get_line_wrap */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_label_get_line_wrap)
  {
    GtkLabel *arg1 = (GtkLabel *) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkLabel *, es->message_receiver)
    result = gtk_label_get_line_wrap(arg1);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_label_set_line_wrap_mode */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_label_set_line_wrap_mode)
  {
    GtkLabel *arg1 = (GtkLabel *) 0 ;
    PangoWrapMode arg2 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkLabel *, es->message_receiver)
    gtk_label_set_line_wrap_mode(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_label_get_line_wrap_mode */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_label_get_line_wrap_mode)
  {
    GtkLabel *arg1 = (GtkLabel *) 0 ;
    PangoWrapMode result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkLabel *, es->message_receiver)
    result = gtk_label_get_line_wrap_mode(arg1);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_label_set_selectable */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_label_set_selectable)
  {
    GtkLabel *arg1 = (GtkLabel *) 0 ;
    gboolean arg2 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkLabel *, es->message_receiver)
    
    if (!SYX_IS_BOOLEAN(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_IS_TRUE(es->message_arguments[0]);
    
    gtk_label_set_selectable(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_label_get_selectable */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_label_get_selectable)
  {
    GtkLabel *arg1 = (GtkLabel *) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkLabel *, es->message_receiver)
    result = gtk_label_get_selectable(arg1);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_label_set_angle */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_label_set_angle)
  {
    GtkLabel *arg1 = (GtkLabel *) 0 ;
    gdouble arg2 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkLabel *, es->message_receiver)
    
    if (!SYX_OBJECT_IS_FLOAT(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_OBJECT_FLOAT(es->message_arguments[0]);
    
    gtk_label_set_angle(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_label_get_angle */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_label_get_angle)
  {
    GtkLabel *arg1 = (GtkLabel *) 0 ;
    gdouble result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkLabel *, es->message_receiver)
    result = (gdouble)gtk_label_get_angle(arg1);
    SWIG_APPEND_VALUE (syx_float_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_label_select_region */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_label_select_region)
  {
    GtkLabel *arg1 = (GtkLabel *) 0 ;
    gint arg2 ;
    gint arg3 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkLabel *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg3 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    gtk_label_select_region(arg1,arg2,arg3);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_label_get_selection_bounds */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_label_get_selection_bounds)
  {
    GtkLabel *arg1 = (GtkLabel *) 0 ;
    gint *arg2 = (gint *) 0 ;
    gint *arg3 = (gint *) 0 ;
    gboolean result;
    int temp2 ;
    int temp3 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkLabel *, es->message_receiver)
    
    temp2 = (int) SYX_SMALL_INTEGER(es->message_arguments[0]);
    arg2 = &temp2;
    
    
    temp3 = (int) SYX_SMALL_INTEGER(es->message_arguments[1]);
    arg3 = &temp3;
    
  #undef SWIG_APPEND_VALUE
  #define SWIG_APPEND_VALUE _SWIG_APPEND_RESULT
    int num_values = 0;
    result_oop = syx_array_new_size (3);
    result = gtk_label_get_selection_bounds(arg1,arg2,arg3);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SWIG_APPEND_VALUE (syx_small_integer_new(*arg2));
    SWIG_APPEND_VALUE (syx_small_integer_new(*arg3));
    SYX_PRIM_RETURN (result_oop);
  #undef SWIG_APPEND_VALUE
  #define SWIG_APPEND_VALUE _SWIG_SET_RESULT
  }
  
  
  /* Module: Gtk Function: gtk_label_get_layout */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_label_get_layout)
  {
    GtkLabel *arg1 = (GtkLabel *) 0 ;
    PangoLayout *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkLabel *, es->message_receiver)
    result = (PangoLayout *)gtk_label_get_layout(arg1);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_label_get_layout_offsets */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_label_get_layout_offsets)
  {
    GtkLabel *arg1 = (GtkLabel *) 0 ;
    gint *arg2 = (gint *) 0 ;
    gint *arg3 = (gint *) 0 ;
    int temp2 ;
    int temp3 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkLabel *, es->message_receiver)
    
    temp2 = (int) SYX_SMALL_INTEGER(es->message_arguments[0]);
    arg2 = &temp2;
    
    
    temp3 = (int) SYX_SMALL_INTEGER(es->message_arguments[1]);
    arg3 = &temp3;
    
  #undef SWIG_APPEND_VALUE
  #define SWIG_APPEND_VALUE _SWIG_APPEND_RESULT
    int num_values = 0;
    result_oop = syx_array_new_size (3);
    gtk_label_get_layout_offsets(arg1,arg2,arg3);
    SWIG_APPEND_VALUE (es->message_receiver);
    SWIG_APPEND_VALUE (syx_small_integer_new(*arg2));
    SWIG_APPEND_VALUE (syx_small_integer_new(*arg3));
    SYX_PRIM_RETURN (result_oop);
  #undef SWIG_APPEND_VALUE
  #define SWIG_APPEND_VALUE _SWIG_SET_RESULT
  }
  
  
  /* Module: Gtk Function: gtk_label_set_single_line_mode */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_label_set_single_line_mode)
  {
    GtkLabel *arg1 = (GtkLabel *) 0 ;
    gboolean arg2 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkLabel *, es->message_receiver)
    
    if (!SYX_IS_BOOLEAN(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_IS_TRUE(es->message_arguments[0]);
    
    gtk_label_set_single_line_mode(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_label_get_single_line_mode */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_label_get_single_line_mode)
  {
    GtkLabel *arg1 = (GtkLabel *) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkLabel *, es->message_receiver)
    result = gtk_label_get_single_line_mode(arg1);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_label_get */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_label_get)
  {
    GtkLabel *arg1 = (GtkLabel *) 0 ;
    gchar **arg2 = (gchar **) 0 ;
    char *temp2 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkLabel *, es->message_receiver)
    
    temp2 = (char *) SYX_OBJECT_STRING(es->message_arguments[0]);
    arg2 = &temp2;
    
  #undef SWIG_APPEND_VALUE
  #define SWIG_APPEND_VALUE _SWIG_APPEND_RESULT
    int num_values = 0;
    result_oop = syx_array_new_size (2);
    gtk_label_get(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SWIG_APPEND_VALUE (syx_string_new(*arg2));
    SYX_PRIM_RETURN (result_oop);
  #undef SWIG_APPEND_VALUE
  #define SWIG_APPEND_VALUE _SWIG_SET_RESULT
  }
  
  
  /* Module: Gtk Function: gtk_label_parse_uline */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_label_parse_uline)
  {
    GtkLabel *arg1 = (GtkLabel *) 0 ;
    gchar *arg2 = (gchar *) 0 ;
    guint result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkLabel *, es->message_receiver)
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    result = (guint)gtk_label_parse_uline(arg1,(char const *)arg2);
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: new__GtkButton */
  SYX_FUNC_PRIMITIVE(Gtk_new__GtkButton)
  {
    struct _GtkButton *result = 0 ;
    SyxOop result_oop;
    
    result = (struct _GtkButton *)(struct _GtkButton *) calloc(1, sizeof(struct _GtkButton));
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: delete__GtkButton */
  SYX_FUNC_PRIMITIVE(Gtk_delete__GtkButton)
  {
    struct _GtkButton *arg1 = (struct _GtkButton *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, struct _GtkButton *, es->message_receiver)
    free((char *) arg1);
    
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: new__GtkButtonClass */
  SYX_FUNC_PRIMITIVE(Gtk_new__GtkButtonClass)
  {
    struct _GtkButtonClass *result = 0 ;
    SyxOop result_oop;
    
    result = (struct _GtkButtonClass *)(struct _GtkButtonClass *) calloc(1, sizeof(struct _GtkButtonClass));
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: delete__GtkButtonClass */
  SYX_FUNC_PRIMITIVE(Gtk_delete__GtkButtonClass)
  {
    struct _GtkButtonClass *arg1 = (struct _GtkButtonClass *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, struct _GtkButtonClass *, es->message_receiver)
    free((char *) arg1);
    
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_button_get_type */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_button_get_type)
  {
    GType result;
    SyxOop result_oop;
    
    result = (GType)gtk_button_get_type();
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_button_new */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_button_new)
  {
    GtkWidget *result = 0 ;
    SyxOop result_oop;
    
    result = (GtkWidget *)gtk_button_new();
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_button_new_with_label */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_button_new_with_label)
  {
    gchar *arg1 = (gchar *) 0 ;
    GtkWidget *result = 0 ;
    SyxOop result_oop;
    
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    result = (GtkWidget *)gtk_button_new_with_label((char const *)arg1);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_button_new_from_stock */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_button_new_from_stock)
  {
    gchar *arg1 = (gchar *) 0 ;
    GtkWidget *result = 0 ;
    SyxOop result_oop;
    
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    result = (GtkWidget *)gtk_button_new_from_stock((char const *)arg1);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_button_new_with_mnemonic */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_button_new_with_mnemonic)
  {
    gchar *arg1 = (gchar *) 0 ;
    GtkWidget *result = 0 ;
    SyxOop result_oop;
    
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    result = (GtkWidget *)gtk_button_new_with_mnemonic((char const *)arg1);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_button_pressed */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_button_pressed)
  {
    GtkButton *arg1 = (GtkButton *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkButton *, es->message_receiver)
    gtk_button_pressed(arg1);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_button_released */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_button_released)
  {
    GtkButton *arg1 = (GtkButton *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkButton *, es->message_receiver)
    gtk_button_released(arg1);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_button_clicked */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_button_clicked)
  {
    GtkButton *arg1 = (GtkButton *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkButton *, es->message_receiver)
    gtk_button_clicked(arg1);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_button_enter */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_button_enter)
  {
    GtkButton *arg1 = (GtkButton *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkButton *, es->message_receiver)
    gtk_button_enter(arg1);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_button_leave */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_button_leave)
  {
    GtkButton *arg1 = (GtkButton *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkButton *, es->message_receiver)
    gtk_button_leave(arg1);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_button_set_relief */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_button_set_relief)
  {
    GtkButton *arg1 = (GtkButton *) 0 ;
    GtkReliefStyle arg2 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkButton *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    gtk_button_set_relief(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_button_get_relief */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_button_get_relief)
  {
    GtkButton *arg1 = (GtkButton *) 0 ;
    GtkReliefStyle result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkButton *, es->message_receiver)
    result = (GtkReliefStyle)gtk_button_get_relief(arg1);
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_button_set_label */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_button_set_label)
  {
    GtkButton *arg1 = (GtkButton *) 0 ;
    gchar *arg2 = (gchar *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkButton *, es->message_receiver)
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    gtk_button_set_label(arg1,(char const *)arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_button_get_label */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_button_get_label)
  {
    GtkButton *arg1 = (GtkButton *) 0 ;
    gchar *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkButton *, es->message_receiver)
    result = (gchar *)gtk_button_get_label(arg1);
    SWIG_APPEND_VALUE (syx_string_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_button_set_use_underline */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_button_set_use_underline)
  {
    GtkButton *arg1 = (GtkButton *) 0 ;
    gboolean arg2 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkButton *, es->message_receiver)
    
    if (!SYX_IS_BOOLEAN(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_IS_TRUE(es->message_arguments[0]);
    
    gtk_button_set_use_underline(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_button_get_use_underline */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_button_get_use_underline)
  {
    GtkButton *arg1 = (GtkButton *) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkButton *, es->message_receiver)
    result = gtk_button_get_use_underline(arg1);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_button_set_use_stock */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_button_set_use_stock)
  {
    GtkButton *arg1 = (GtkButton *) 0 ;
    gboolean arg2 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkButton *, es->message_receiver)
    
    if (!SYX_IS_BOOLEAN(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_IS_TRUE(es->message_arguments[0]);
    
    gtk_button_set_use_stock(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_button_get_use_stock */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_button_get_use_stock)
  {
    GtkButton *arg1 = (GtkButton *) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkButton *, es->message_receiver)
    result = gtk_button_get_use_stock(arg1);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_button_set_focus_on_click */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_button_set_focus_on_click)
  {
    GtkButton *arg1 = (GtkButton *) 0 ;
    gboolean arg2 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkButton *, es->message_receiver)
    
    if (!SYX_IS_BOOLEAN(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_IS_TRUE(es->message_arguments[0]);
    
    gtk_button_set_focus_on_click(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_button_get_focus_on_click */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_button_get_focus_on_click)
  {
    GtkButton *arg1 = (GtkButton *) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkButton *, es->message_receiver)
    result = gtk_button_get_focus_on_click(arg1);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_button_set_alignment */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_button_set_alignment)
  {
    GtkButton *arg1 = (GtkButton *) 0 ;
    gfloat arg2 ;
    gfloat arg3 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkButton *, es->message_receiver)
    
    if (!SYX_OBJECT_IS_FLOAT(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_OBJECT_FLOAT(es->message_arguments[0]);
    
    
    if (!SYX_OBJECT_IS_FLOAT(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg3 = SYX_OBJECT_FLOAT(es->message_arguments[1]);
    
    gtk_button_set_alignment(arg1,arg2,arg3);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_button_get_alignment */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_button_get_alignment)
  {
    GtkButton *arg1 = (GtkButton *) 0 ;
    gfloat *arg2 = (gfloat *) 0 ;
    gfloat *arg3 = (gfloat *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkButton *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, gfloat *, es->message_arguments[0])
    SWIG_FIRST_SELF(arg3, gfloat *, es->message_arguments[1])
    gtk_button_get_alignment(arg1,arg2,arg3);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_button_set_image */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_button_set_image)
  {
    GtkButton *arg1 = (GtkButton *) 0 ;
    GtkWidget *arg2 = (GtkWidget *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkButton *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkWidget *, es->message_arguments[0])
    gtk_button_set_image(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_button_get_image */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_button_get_image)
  {
    GtkButton *arg1 = (GtkButton *) 0 ;
    GtkWidget *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkButton *, es->message_receiver)
    result = (GtkWidget *)gtk_button_get_image(arg1);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_button_set_image_position */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_button_set_image_position)
  {
    GtkButton *arg1 = (GtkButton *) 0 ;
    GtkPositionType arg2 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkButton *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    gtk_button_set_image_position(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_button_get_image_position */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_button_get_image_position)
  {
    GtkButton *arg1 = (GtkButton *) 0 ;
    GtkPositionType result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkButton *, es->message_receiver)
    result = (GtkPositionType)gtk_button_get_image_position(arg1);
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: new__GtkWindow */
  SYX_FUNC_PRIMITIVE(Gtk_new__GtkWindow)
  {
    struct _GtkWindow *result = 0 ;
    SyxOop result_oop;
    
    result = (struct _GtkWindow *)(struct _GtkWindow *) calloc(1, sizeof(struct _GtkWindow));
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: delete__GtkWindow */
  SYX_FUNC_PRIMITIVE(Gtk_delete__GtkWindow)
  {
    struct _GtkWindow *arg1 = (struct _GtkWindow *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, struct _GtkWindow *, es->message_receiver)
    free((char *) arg1);
    
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: new__GtkWindowClass */
  SYX_FUNC_PRIMITIVE(Gtk_new__GtkWindowClass)
  {
    struct _GtkWindowClass *result = 0 ;
    SyxOop result_oop;
    
    result = (struct _GtkWindowClass *)(struct _GtkWindowClass *) calloc(1, sizeof(struct _GtkWindowClass));
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: delete__GtkWindowClass */
  SYX_FUNC_PRIMITIVE(Gtk_delete__GtkWindowClass)
  {
    struct _GtkWindowClass *arg1 = (struct _GtkWindowClass *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, struct _GtkWindowClass *, es->message_receiver)
    free((char *) arg1);
    
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: new__GtkWindowGroup */
  SYX_FUNC_PRIMITIVE(Gtk_new__GtkWindowGroup)
  {
    struct _GtkWindowGroup *result = 0 ;
    SyxOop result_oop;
    
    result = (struct _GtkWindowGroup *)(struct _GtkWindowGroup *) calloc(1, sizeof(struct _GtkWindowGroup));
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: delete__GtkWindowGroup */
  SYX_FUNC_PRIMITIVE(Gtk_delete__GtkWindowGroup)
  {
    struct _GtkWindowGroup *arg1 = (struct _GtkWindowGroup *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, struct _GtkWindowGroup *, es->message_receiver)
    free((char *) arg1);
    
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: new__GtkWindowGroupClass */
  SYX_FUNC_PRIMITIVE(Gtk_new__GtkWindowGroupClass)
  {
    struct _GtkWindowGroupClass *result = 0 ;
    SyxOop result_oop;
    
    result = (struct _GtkWindowGroupClass *)(struct _GtkWindowGroupClass *) calloc(1, sizeof(struct _GtkWindowGroupClass));
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: delete__GtkWindowGroupClass */
  SYX_FUNC_PRIMITIVE(Gtk_delete__GtkWindowGroupClass)
  {
    struct _GtkWindowGroupClass *arg1 = (struct _GtkWindowGroupClass *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, struct _GtkWindowGroupClass *, es->message_receiver)
    free((char *) arg1);
    
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_window_get_type */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_window_get_type)
  {
    GType result;
    SyxOop result_oop;
    
    result = (GType)gtk_window_get_type();
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_window_new */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_window_new)
  {
    GtkWindowType arg1 ;
    GtkWidget *result = 0 ;
    SyxOop result_oop;
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    result = (GtkWidget *)gtk_window_new(arg1);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_window_set_title */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_window_set_title)
  {
    GtkWindow *arg1 = (GtkWindow *) 0 ;
    gchar *arg2 = (gchar *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWindow *, es->message_receiver)
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    gtk_window_set_title(arg1,(char const *)arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_window_get_title */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_window_get_title)
  {
    GtkWindow *arg1 = (GtkWindow *) 0 ;
    gchar *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWindow *, es->message_receiver)
    result = (gchar *)gtk_window_get_title(arg1);
    SWIG_APPEND_VALUE (syx_string_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_window_set_wmclass */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_window_set_wmclass)
  {
    GtkWindow *arg1 = (GtkWindow *) 0 ;
    gchar *arg2 = (gchar *) 0 ;
    gchar *arg3 = (gchar *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWindow *, es->message_receiver)
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg3 = SYX_OBJECT_STRING(es->message_arguments[1]);
    
    gtk_window_set_wmclass(arg1,(char const *)arg2,(char const *)arg3);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_window_set_role */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_window_set_role)
  {
    GtkWindow *arg1 = (GtkWindow *) 0 ;
    gchar *arg2 = (gchar *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWindow *, es->message_receiver)
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    gtk_window_set_role(arg1,(char const *)arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_window_set_startup_id */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_window_set_startup_id)
  {
    GtkWindow *arg1 = (GtkWindow *) 0 ;
    gchar *arg2 = (gchar *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWindow *, es->message_receiver)
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    gtk_window_set_startup_id(arg1,(char const *)arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_window_get_role */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_window_get_role)
  {
    GtkWindow *arg1 = (GtkWindow *) 0 ;
    gchar *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWindow *, es->message_receiver)
    result = (gchar *)gtk_window_get_role(arg1);
    SWIG_APPEND_VALUE (syx_string_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_window_add_accel_group */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_window_add_accel_group)
  {
    GtkWindow *arg1 = (GtkWindow *) 0 ;
    GtkAccelGroup *arg2 = (GtkAccelGroup *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWindow *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkAccelGroup *, es->message_arguments[0])
    gtk_window_add_accel_group(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_window_remove_accel_group */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_window_remove_accel_group)
  {
    GtkWindow *arg1 = (GtkWindow *) 0 ;
    GtkAccelGroup *arg2 = (GtkAccelGroup *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWindow *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkAccelGroup *, es->message_arguments[0])
    gtk_window_remove_accel_group(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_window_set_position */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_window_set_position)
  {
    GtkWindow *arg1 = (GtkWindow *) 0 ;
    GtkWindowPosition arg2 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWindow *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    gtk_window_set_position(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_window_activate_focus */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_window_activate_focus)
  {
    GtkWindow *arg1 = (GtkWindow *) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWindow *, es->message_receiver)
    result = gtk_window_activate_focus(arg1);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_window_set_focus */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_window_set_focus)
  {
    GtkWindow *arg1 = (GtkWindow *) 0 ;
    GtkWidget *arg2 = (GtkWidget *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWindow *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkWidget *, es->message_arguments[0])
    gtk_window_set_focus(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_window_get_focus */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_window_get_focus)
  {
    GtkWindow *arg1 = (GtkWindow *) 0 ;
    GtkWidget *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWindow *, es->message_receiver)
    result = (GtkWidget *)gtk_window_get_focus(arg1);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_window_set_default */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_window_set_default)
  {
    GtkWindow *arg1 = (GtkWindow *) 0 ;
    GtkWidget *arg2 = (GtkWidget *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWindow *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkWidget *, es->message_arguments[0])
    gtk_window_set_default(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_window_activate_default */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_window_activate_default)
  {
    GtkWindow *arg1 = (GtkWindow *) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWindow *, es->message_receiver)
    result = gtk_window_activate_default(arg1);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_window_set_transient_for */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_window_set_transient_for)
  {
    GtkWindow *arg1 = (GtkWindow *) 0 ;
    GtkWindow *arg2 = (GtkWindow *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWindow *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkWindow *, es->message_arguments[0])
    gtk_window_set_transient_for(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_window_get_transient_for */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_window_get_transient_for)
  {
    GtkWindow *arg1 = (GtkWindow *) 0 ;
    GtkWindow *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWindow *, es->message_receiver)
    result = (GtkWindow *)gtk_window_get_transient_for(arg1);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_window_set_opacity */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_window_set_opacity)
  {
    GtkWindow *arg1 = (GtkWindow *) 0 ;
    gdouble arg2 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWindow *, es->message_receiver)
    
    if (!SYX_OBJECT_IS_FLOAT(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_OBJECT_FLOAT(es->message_arguments[0]);
    
    gtk_window_set_opacity(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_window_get_opacity */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_window_get_opacity)
  {
    GtkWindow *arg1 = (GtkWindow *) 0 ;
    gdouble result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWindow *, es->message_receiver)
    result = (gdouble)gtk_window_get_opacity(arg1);
    SWIG_APPEND_VALUE (syx_float_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_window_set_type_hint */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_window_set_type_hint)
  {
    GtkWindow *arg1 = (GtkWindow *) 0 ;
    GdkWindowTypeHint arg2 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWindow *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    gtk_window_set_type_hint(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_window_get_type_hint */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_window_get_type_hint)
  {
    GtkWindow *arg1 = (GtkWindow *) 0 ;
    GdkWindowTypeHint result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWindow *, es->message_receiver)
    result = (GdkWindowTypeHint)gtk_window_get_type_hint(arg1);
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_window_set_skip_taskbar_hint */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_window_set_skip_taskbar_hint)
  {
    GtkWindow *arg1 = (GtkWindow *) 0 ;
    gboolean arg2 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWindow *, es->message_receiver)
    
    if (!SYX_IS_BOOLEAN(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_IS_TRUE(es->message_arguments[0]);
    
    gtk_window_set_skip_taskbar_hint(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_window_get_skip_taskbar_hint */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_window_get_skip_taskbar_hint)
  {
    GtkWindow *arg1 = (GtkWindow *) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWindow *, es->message_receiver)
    result = gtk_window_get_skip_taskbar_hint(arg1);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_window_set_skip_pager_hint */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_window_set_skip_pager_hint)
  {
    GtkWindow *arg1 = (GtkWindow *) 0 ;
    gboolean arg2 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWindow *, es->message_receiver)
    
    if (!SYX_IS_BOOLEAN(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_IS_TRUE(es->message_arguments[0]);
    
    gtk_window_set_skip_pager_hint(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_window_get_skip_pager_hint */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_window_get_skip_pager_hint)
  {
    GtkWindow *arg1 = (GtkWindow *) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWindow *, es->message_receiver)
    result = gtk_window_get_skip_pager_hint(arg1);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_window_set_urgency_hint */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_window_set_urgency_hint)
  {
    GtkWindow *arg1 = (GtkWindow *) 0 ;
    gboolean arg2 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWindow *, es->message_receiver)
    
    if (!SYX_IS_BOOLEAN(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_IS_TRUE(es->message_arguments[0]);
    
    gtk_window_set_urgency_hint(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_window_get_urgency_hint */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_window_get_urgency_hint)
  {
    GtkWindow *arg1 = (GtkWindow *) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWindow *, es->message_receiver)
    result = gtk_window_get_urgency_hint(arg1);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_window_set_accept_focus */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_window_set_accept_focus)
  {
    GtkWindow *arg1 = (GtkWindow *) 0 ;
    gboolean arg2 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWindow *, es->message_receiver)
    
    if (!SYX_IS_BOOLEAN(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_IS_TRUE(es->message_arguments[0]);
    
    gtk_window_set_accept_focus(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_window_get_accept_focus */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_window_get_accept_focus)
  {
    GtkWindow *arg1 = (GtkWindow *) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWindow *, es->message_receiver)
    result = gtk_window_get_accept_focus(arg1);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_window_set_focus_on_map */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_window_set_focus_on_map)
  {
    GtkWindow *arg1 = (GtkWindow *) 0 ;
    gboolean arg2 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWindow *, es->message_receiver)
    
    if (!SYX_IS_BOOLEAN(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_IS_TRUE(es->message_arguments[0]);
    
    gtk_window_set_focus_on_map(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_window_get_focus_on_map */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_window_get_focus_on_map)
  {
    GtkWindow *arg1 = (GtkWindow *) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWindow *, es->message_receiver)
    result = gtk_window_get_focus_on_map(arg1);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_window_set_destroy_with_parent */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_window_set_destroy_with_parent)
  {
    GtkWindow *arg1 = (GtkWindow *) 0 ;
    gboolean arg2 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWindow *, es->message_receiver)
    
    if (!SYX_IS_BOOLEAN(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_IS_TRUE(es->message_arguments[0]);
    
    gtk_window_set_destroy_with_parent(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_window_get_destroy_with_parent */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_window_get_destroy_with_parent)
  {
    GtkWindow *arg1 = (GtkWindow *) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWindow *, es->message_receiver)
    result = gtk_window_get_destroy_with_parent(arg1);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_window_set_resizable */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_window_set_resizable)
  {
    GtkWindow *arg1 = (GtkWindow *) 0 ;
    gboolean arg2 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWindow *, es->message_receiver)
    
    if (!SYX_IS_BOOLEAN(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_IS_TRUE(es->message_arguments[0]);
    
    gtk_window_set_resizable(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_window_get_resizable */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_window_get_resizable)
  {
    GtkWindow *arg1 = (GtkWindow *) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWindow *, es->message_receiver)
    result = gtk_window_get_resizable(arg1);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_window_set_gravity */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_window_set_gravity)
  {
    GtkWindow *arg1 = (GtkWindow *) 0 ;
    GdkGravity arg2 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWindow *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    gtk_window_set_gravity(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_window_get_gravity */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_window_get_gravity)
  {
    GtkWindow *arg1 = (GtkWindow *) 0 ;
    GdkGravity result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWindow *, es->message_receiver)
    result = (GdkGravity)gtk_window_get_gravity(arg1);
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_window_set_geometry_hints */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_window_set_geometry_hints)
  {
    GtkWindow *arg1 = (GtkWindow *) 0 ;
    GtkWidget *arg2 = (GtkWidget *) 0 ;
    GdkGeometry *arg3 = (GdkGeometry *) 0 ;
    GdkWindowHints arg4 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWindow *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkWidget *, es->message_arguments[0])
    SWIG_FIRST_SELF(arg3, GdkGeometry *, es->message_arguments[1])
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[2]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg4 = SYX_SMALL_INTEGER(es->message_arguments[2]);
    
    gtk_window_set_geometry_hints(arg1,arg2,arg3,arg4);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_window_set_screen */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_window_set_screen)
  {
    GtkWindow *arg1 = (GtkWindow *) 0 ;
    GdkScreen *arg2 = (GdkScreen *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWindow *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GdkScreen *, es->message_arguments[0])
    gtk_window_set_screen(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_window_get_screen */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_window_get_screen)
  {
    GtkWindow *arg1 = (GtkWindow *) 0 ;
    GdkScreen *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWindow *, es->message_receiver)
    result = (GdkScreen *)gtk_window_get_screen(arg1);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_window_is_active */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_window_is_active)
  {
    GtkWindow *arg1 = (GtkWindow *) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWindow *, es->message_receiver)
    result = gtk_window_is_active(arg1);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_window_has_toplevel_focus */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_window_has_toplevel_focus)
  {
    GtkWindow *arg1 = (GtkWindow *) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWindow *, es->message_receiver)
    result = gtk_window_has_toplevel_focus(arg1);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_window_set_has_frame */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_window_set_has_frame)
  {
    GtkWindow *arg1 = (GtkWindow *) 0 ;
    gboolean arg2 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWindow *, es->message_receiver)
    
    if (!SYX_IS_BOOLEAN(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_IS_TRUE(es->message_arguments[0]);
    
    gtk_window_set_has_frame(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_window_get_has_frame */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_window_get_has_frame)
  {
    GtkWindow *arg1 = (GtkWindow *) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWindow *, es->message_receiver)
    result = gtk_window_get_has_frame(arg1);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_window_set_frame_dimensions */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_window_set_frame_dimensions)
  {
    GtkWindow *arg1 = (GtkWindow *) 0 ;
    gint arg2 ;
    gint arg3 ;
    gint arg4 ;
    gint arg5 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWindow *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg3 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[2]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg4 = SYX_SMALL_INTEGER(es->message_arguments[2]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[3]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg5 = SYX_SMALL_INTEGER(es->message_arguments[3]);
    
    gtk_window_set_frame_dimensions(arg1,arg2,arg3,arg4,arg5);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_window_get_frame_dimensions */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_window_get_frame_dimensions)
  {
    GtkWindow *arg1 = (GtkWindow *) 0 ;
    gint *arg2 = (gint *) 0 ;
    gint *arg3 = (gint *) 0 ;
    gint *arg4 = (gint *) 0 ;
    gint *arg5 = (gint *) 0 ;
    int temp2 ;
    int temp3 ;
    int temp4 ;
    int temp5 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWindow *, es->message_receiver)
    
    temp2 = (int) SYX_SMALL_INTEGER(es->message_arguments[0]);
    arg2 = &temp2;
    
    
    temp3 = (int) SYX_SMALL_INTEGER(es->message_arguments[1]);
    arg3 = &temp3;
    
    
    temp4 = (int) SYX_SMALL_INTEGER(es->message_arguments[2]);
    arg4 = &temp4;
    
    
    temp5 = (int) SYX_SMALL_INTEGER(es->message_arguments[3]);
    arg5 = &temp5;
    
  #undef SWIG_APPEND_VALUE
  #define SWIG_APPEND_VALUE _SWIG_APPEND_RESULT
    int num_values = 0;
    result_oop = syx_array_new_size (5);
    gtk_window_get_frame_dimensions(arg1,arg2,arg3,arg4,arg5);
    SWIG_APPEND_VALUE (es->message_receiver);
    SWIG_APPEND_VALUE (syx_small_integer_new(*arg2));
    SWIG_APPEND_VALUE (syx_small_integer_new(*arg3));
    SWIG_APPEND_VALUE (syx_small_integer_new(*arg4));
    SWIG_APPEND_VALUE (syx_small_integer_new(*arg5));
    SYX_PRIM_RETURN (result_oop);
  #undef SWIG_APPEND_VALUE
  #define SWIG_APPEND_VALUE _SWIG_SET_RESULT
  }
  
  
  /* Module: Gtk Function: gtk_window_set_decorated */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_window_set_decorated)
  {
    GtkWindow *arg1 = (GtkWindow *) 0 ;
    gboolean arg2 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWindow *, es->message_receiver)
    
    if (!SYX_IS_BOOLEAN(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_IS_TRUE(es->message_arguments[0]);
    
    gtk_window_set_decorated(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_window_get_decorated */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_window_get_decorated)
  {
    GtkWindow *arg1 = (GtkWindow *) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWindow *, es->message_receiver)
    result = gtk_window_get_decorated(arg1);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_window_set_deletable */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_window_set_deletable)
  {
    GtkWindow *arg1 = (GtkWindow *) 0 ;
    gboolean arg2 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWindow *, es->message_receiver)
    
    if (!SYX_IS_BOOLEAN(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_IS_TRUE(es->message_arguments[0]);
    
    gtk_window_set_deletable(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_window_get_deletable */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_window_get_deletable)
  {
    GtkWindow *arg1 = (GtkWindow *) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWindow *, es->message_receiver)
    result = gtk_window_get_deletable(arg1);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_window_set_icon_list */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_window_set_icon_list)
  {
    GtkWindow *arg1 = (GtkWindow *) 0 ;
    GList *arg2 = (GList *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWindow *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GList *, es->message_arguments[0])
    gtk_window_set_icon_list(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_window_get_icon_list */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_window_get_icon_list)
  {
    GtkWindow *arg1 = (GtkWindow *) 0 ;
    GList *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWindow *, es->message_receiver)
    result = (GList *)gtk_window_get_icon_list(arg1);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_window_set_icon */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_window_set_icon)
  {
    GtkWindow *arg1 = (GtkWindow *) 0 ;
    GdkPixbuf *arg2 = (GdkPixbuf *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWindow *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GdkPixbuf *, es->message_arguments[0])
    gtk_window_set_icon(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_window_set_icon_name */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_window_set_icon_name)
  {
    GtkWindow *arg1 = (GtkWindow *) 0 ;
    gchar *arg2 = (gchar *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWindow *, es->message_receiver)
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    gtk_window_set_icon_name(arg1,(char const *)arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_window_set_icon_from_file */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_window_set_icon_from_file)
  {
    GtkWindow *arg1 = (GtkWindow *) 0 ;
    gchar *arg2 = (gchar *) 0 ;
    GError **arg3 = (GError **) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWindow *, es->message_receiver)
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    SWIG_FIRST_SELF(arg3, GError **, es->message_arguments[1])
    result = gtk_window_set_icon_from_file(arg1,(char const *)arg2,arg3);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_window_get_icon */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_window_get_icon)
  {
    GtkWindow *arg1 = (GtkWindow *) 0 ;
    GdkPixbuf *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWindow *, es->message_receiver)
    result = (GdkPixbuf *)gtk_window_get_icon(arg1);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_window_get_icon_name */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_window_get_icon_name)
  {
    GtkWindow *arg1 = (GtkWindow *) 0 ;
    gchar *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWindow *, es->message_receiver)
    result = (gchar *)gtk_window_get_icon_name(arg1);
    SWIG_APPEND_VALUE (syx_string_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_window_set_default_icon_list */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_window_set_default_icon_list)
  {
    GList *arg1 = (GList *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GList *, es->message_receiver)
    gtk_window_set_default_icon_list(arg1);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_window_get_default_icon_list */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_window_get_default_icon_list)
  {
    GList *result = 0 ;
    SyxOop result_oop;
    
    result = (GList *)gtk_window_get_default_icon_list();
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_window_set_default_icon */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_window_set_default_icon)
  {
    GdkPixbuf *arg1 = (GdkPixbuf *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GdkPixbuf *, es->message_receiver)
    gtk_window_set_default_icon(arg1);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_window_set_default_icon_name */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_window_set_default_icon_name)
  {
    gchar *arg1 = (gchar *) 0 ;
    SyxOop result_oop;
    
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    gtk_window_set_default_icon_name((char const *)arg1);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_window_set_default_icon_from_file */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_window_set_default_icon_from_file)
  {
    gchar *arg1 = (gchar *) 0 ;
    GError **arg2 = (GError **) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    SWIG_FIRST_SELF(arg2, GError **, es->message_arguments[1])
    result = gtk_window_set_default_icon_from_file((char const *)arg1,arg2);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_window_set_auto_startup_notification */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_window_set_auto_startup_notification)
  {
    gboolean arg1 ;
    SyxOop result_oop;
    
    
    if (!SYX_IS_BOOLEAN(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_IS_TRUE(es->message_arguments[0]);
    
    gtk_window_set_auto_startup_notification(arg1);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_window_set_modal */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_window_set_modal)
  {
    GtkWindow *arg1 = (GtkWindow *) 0 ;
    gboolean arg2 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWindow *, es->message_receiver)
    
    if (!SYX_IS_BOOLEAN(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_IS_TRUE(es->message_arguments[0]);
    
    gtk_window_set_modal(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_window_get_modal */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_window_get_modal)
  {
    GtkWindow *arg1 = (GtkWindow *) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWindow *, es->message_receiver)
    result = gtk_window_get_modal(arg1);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_window_list_toplevels */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_window_list_toplevels)
  {
    GList *result = 0 ;
    SyxOop result_oop;
    
    result = (GList *)gtk_window_list_toplevels();
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_window_add_mnemonic */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_window_add_mnemonic)
  {
    GtkWindow *arg1 = (GtkWindow *) 0 ;
    guint arg2 ;
    GtkWidget *arg3 = (GtkWidget *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWindow *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    SWIG_FIRST_SELF(arg3, GtkWidget *, es->message_arguments[1])
    gtk_window_add_mnemonic(arg1,arg2,arg3);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_window_remove_mnemonic */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_window_remove_mnemonic)
  {
    GtkWindow *arg1 = (GtkWindow *) 0 ;
    guint arg2 ;
    GtkWidget *arg3 = (GtkWidget *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWindow *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    SWIG_FIRST_SELF(arg3, GtkWidget *, es->message_arguments[1])
    gtk_window_remove_mnemonic(arg1,arg2,arg3);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_window_mnemonic_activate */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_window_mnemonic_activate)
  {
    GtkWindow *arg1 = (GtkWindow *) 0 ;
    guint arg2 ;
    GdkModifierType arg3 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWindow *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg3 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    result = gtk_window_mnemonic_activate(arg1,arg2,arg3);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_window_set_mnemonic_modifier */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_window_set_mnemonic_modifier)
  {
    GtkWindow *arg1 = (GtkWindow *) 0 ;
    GdkModifierType arg2 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWindow *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    gtk_window_set_mnemonic_modifier(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_window_get_mnemonic_modifier */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_window_get_mnemonic_modifier)
  {
    GtkWindow *arg1 = (GtkWindow *) 0 ;
    GdkModifierType result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWindow *, es->message_receiver)
    result = (GdkModifierType)gtk_window_get_mnemonic_modifier(arg1);
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_window_activate_key */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_window_activate_key)
  {
    GtkWindow *arg1 = (GtkWindow *) 0 ;
    GdkEventKey *arg2 = (GdkEventKey *) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWindow *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GdkEventKey *, es->message_arguments[0])
    result = gtk_window_activate_key(arg1,arg2);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_window_propagate_key_event */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_window_propagate_key_event)
  {
    GtkWindow *arg1 = (GtkWindow *) 0 ;
    GdkEventKey *arg2 = (GdkEventKey *) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWindow *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GdkEventKey *, es->message_arguments[0])
    result = gtk_window_propagate_key_event(arg1,arg2);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_window_present */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_window_present)
  {
    GtkWindow *arg1 = (GtkWindow *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWindow *, es->message_receiver)
    gtk_window_present(arg1);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_window_present_with_time */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_window_present_with_time)
  {
    GtkWindow *arg1 = (GtkWindow *) 0 ;
    guint32 arg2 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWindow *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    gtk_window_present_with_time(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_window_iconify */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_window_iconify)
  {
    GtkWindow *arg1 = (GtkWindow *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWindow *, es->message_receiver)
    gtk_window_iconify(arg1);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_window_deiconify */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_window_deiconify)
  {
    GtkWindow *arg1 = (GtkWindow *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWindow *, es->message_receiver)
    gtk_window_deiconify(arg1);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_window_stick */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_window_stick)
  {
    GtkWindow *arg1 = (GtkWindow *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWindow *, es->message_receiver)
    gtk_window_stick(arg1);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_window_unstick */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_window_unstick)
  {
    GtkWindow *arg1 = (GtkWindow *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWindow *, es->message_receiver)
    gtk_window_unstick(arg1);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_window_maximize */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_window_maximize)
  {
    GtkWindow *arg1 = (GtkWindow *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWindow *, es->message_receiver)
    gtk_window_maximize(arg1);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_window_unmaximize */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_window_unmaximize)
  {
    GtkWindow *arg1 = (GtkWindow *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWindow *, es->message_receiver)
    gtk_window_unmaximize(arg1);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_window_fullscreen */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_window_fullscreen)
  {
    GtkWindow *arg1 = (GtkWindow *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWindow *, es->message_receiver)
    gtk_window_fullscreen(arg1);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_window_unfullscreen */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_window_unfullscreen)
  {
    GtkWindow *arg1 = (GtkWindow *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWindow *, es->message_receiver)
    gtk_window_unfullscreen(arg1);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_window_set_keep_above */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_window_set_keep_above)
  {
    GtkWindow *arg1 = (GtkWindow *) 0 ;
    gboolean arg2 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWindow *, es->message_receiver)
    
    if (!SYX_IS_BOOLEAN(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_IS_TRUE(es->message_arguments[0]);
    
    gtk_window_set_keep_above(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_window_set_keep_below */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_window_set_keep_below)
  {
    GtkWindow *arg1 = (GtkWindow *) 0 ;
    gboolean arg2 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWindow *, es->message_receiver)
    
    if (!SYX_IS_BOOLEAN(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_IS_TRUE(es->message_arguments[0]);
    
    gtk_window_set_keep_below(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_window_begin_resize_drag */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_window_begin_resize_drag)
  {
    GtkWindow *arg1 = (GtkWindow *) 0 ;
    GdkWindowEdge arg2 ;
    gint arg3 ;
    gint arg4 ;
    gint arg5 ;
    guint32 arg6 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWindow *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg3 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[2]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg4 = SYX_SMALL_INTEGER(es->message_arguments[2]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[3]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg5 = SYX_SMALL_INTEGER(es->message_arguments[3]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[4]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg6 = SYX_SMALL_INTEGER(es->message_arguments[4]);
    
    gtk_window_begin_resize_drag(arg1,arg2,arg3,arg4,arg5,arg6);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_window_begin_move_drag */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_window_begin_move_drag)
  {
    GtkWindow *arg1 = (GtkWindow *) 0 ;
    gint arg2 ;
    gint arg3 ;
    gint arg4 ;
    guint32 arg5 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWindow *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg3 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[2]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg4 = SYX_SMALL_INTEGER(es->message_arguments[2]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[3]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg5 = SYX_SMALL_INTEGER(es->message_arguments[3]);
    
    gtk_window_begin_move_drag(arg1,arg2,arg3,arg4,arg5);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_window_set_policy */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_window_set_policy)
  {
    GtkWindow *arg1 = (GtkWindow *) 0 ;
    gint arg2 ;
    gint arg3 ;
    gint arg4 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWindow *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg3 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[2]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg4 = SYX_SMALL_INTEGER(es->message_arguments[2]);
    
    gtk_window_set_policy(arg1,arg2,arg3,arg4);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_window_set_default_size */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_window_set_default_size)
  {
    GtkWindow *arg1 = (GtkWindow *) 0 ;
    gint arg2 ;
    gint arg3 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWindow *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg3 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    gtk_window_set_default_size(arg1,arg2,arg3);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_window_get_default_size */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_window_get_default_size)
  {
    GtkWindow *arg1 = (GtkWindow *) 0 ;
    gint *arg2 = (gint *) 0 ;
    gint *arg3 = (gint *) 0 ;
    int temp2 ;
    int temp3 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWindow *, es->message_receiver)
    
    temp2 = (int) SYX_SMALL_INTEGER(es->message_arguments[0]);
    arg2 = &temp2;
    
    
    temp3 = (int) SYX_SMALL_INTEGER(es->message_arguments[1]);
    arg3 = &temp3;
    
  #undef SWIG_APPEND_VALUE
  #define SWIG_APPEND_VALUE _SWIG_APPEND_RESULT
    int num_values = 0;
    result_oop = syx_array_new_size (3);
    gtk_window_get_default_size(arg1,arg2,arg3);
    SWIG_APPEND_VALUE (es->message_receiver);
    SWIG_APPEND_VALUE (syx_small_integer_new(*arg2));
    SWIG_APPEND_VALUE (syx_small_integer_new(*arg3));
    SYX_PRIM_RETURN (result_oop);
  #undef SWIG_APPEND_VALUE
  #define SWIG_APPEND_VALUE _SWIG_SET_RESULT
  }
  
  
  /* Module: Gtk Function: gtk_window_resize */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_window_resize)
  {
    GtkWindow *arg1 = (GtkWindow *) 0 ;
    gint arg2 ;
    gint arg3 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWindow *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg3 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    gtk_window_resize(arg1,arg2,arg3);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_window_get_size */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_window_get_size)
  {
    GtkWindow *arg1 = (GtkWindow *) 0 ;
    gint *arg2 = (gint *) 0 ;
    gint *arg3 = (gint *) 0 ;
    int temp2 ;
    int temp3 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWindow *, es->message_receiver)
    
    temp2 = (int) SYX_SMALL_INTEGER(es->message_arguments[0]);
    arg2 = &temp2;
    
    
    temp3 = (int) SYX_SMALL_INTEGER(es->message_arguments[1]);
    arg3 = &temp3;
    
  #undef SWIG_APPEND_VALUE
  #define SWIG_APPEND_VALUE _SWIG_APPEND_RESULT
    int num_values = 0;
    result_oop = syx_array_new_size (3);
    gtk_window_get_size(arg1,arg2,arg3);
    SWIG_APPEND_VALUE (es->message_receiver);
    SWIG_APPEND_VALUE (syx_small_integer_new(*arg2));
    SWIG_APPEND_VALUE (syx_small_integer_new(*arg3));
    SYX_PRIM_RETURN (result_oop);
  #undef SWIG_APPEND_VALUE
  #define SWIG_APPEND_VALUE _SWIG_SET_RESULT
  }
  
  
  /* Module: Gtk Function: gtk_window_move */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_window_move)
  {
    GtkWindow *arg1 = (GtkWindow *) 0 ;
    gint arg2 ;
    gint arg3 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWindow *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg3 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    gtk_window_move(arg1,arg2,arg3);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_window_get_position */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_window_get_position)
  {
    GtkWindow *arg1 = (GtkWindow *) 0 ;
    gint *arg2 = (gint *) 0 ;
    gint *arg3 = (gint *) 0 ;
    int temp2 ;
    int temp3 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWindow *, es->message_receiver)
    
    temp2 = (int) SYX_SMALL_INTEGER(es->message_arguments[0]);
    arg2 = &temp2;
    
    
    temp3 = (int) SYX_SMALL_INTEGER(es->message_arguments[1]);
    arg3 = &temp3;
    
  #undef SWIG_APPEND_VALUE
  #define SWIG_APPEND_VALUE _SWIG_APPEND_RESULT
    int num_values = 0;
    result_oop = syx_array_new_size (3);
    gtk_window_get_position(arg1,arg2,arg3);
    SWIG_APPEND_VALUE (es->message_receiver);
    SWIG_APPEND_VALUE (syx_small_integer_new(*arg2));
    SWIG_APPEND_VALUE (syx_small_integer_new(*arg3));
    SYX_PRIM_RETURN (result_oop);
  #undef SWIG_APPEND_VALUE
  #define SWIG_APPEND_VALUE _SWIG_SET_RESULT
  }
  
  
  /* Module: Gtk Function: gtk_window_parse_geometry */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_window_parse_geometry)
  {
    GtkWindow *arg1 = (GtkWindow *) 0 ;
    gchar *arg2 = (gchar *) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWindow *, es->message_receiver)
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    result = gtk_window_parse_geometry(arg1,(char const *)arg2);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_window_get_group */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_window_get_group)
  {
    GtkWindow *arg1 = (GtkWindow *) 0 ;
    GtkWindowGroup *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWindow *, es->message_receiver)
    result = (GtkWindowGroup *)gtk_window_get_group(arg1);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_window_reshow_with_initial_size */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_window_reshow_with_initial_size)
  {
    GtkWindow *arg1 = (GtkWindow *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWindow *, es->message_receiver)
    gtk_window_reshow_with_initial_size(arg1);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_window_group_get_type */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_window_group_get_type)
  {
    GType result;
    SyxOop result_oop;
    
    result = (GType)gtk_window_group_get_type();
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_window_group_new */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_window_group_new)
  {
    GtkWindowGroup *result = 0 ;
    SyxOop result_oop;
    
    result = (GtkWindowGroup *)gtk_window_group_new();
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_window_group_add_window */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_window_group_add_window)
  {
    GtkWindowGroup *arg1 = (GtkWindowGroup *) 0 ;
    GtkWindow *arg2 = (GtkWindow *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWindowGroup *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkWindow *, es->message_arguments[0])
    gtk_window_group_add_window(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_window_group_remove_window */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_window_group_remove_window)
  {
    GtkWindowGroup *arg1 = (GtkWindowGroup *) 0 ;
    GtkWindow *arg2 = (GtkWindow *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWindowGroup *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkWindow *, es->message_arguments[0])
    gtk_window_group_remove_window(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_window_remove_embedded_xid */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_window_remove_embedded_xid)
  {
    GtkWindow *arg1 = (GtkWindow *) 0 ;
    guint arg2 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWindow *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    gtk_window_remove_embedded_xid(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_window_add_embedded_xid */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_window_add_embedded_xid)
  {
    GtkWindow *arg1 = (GtkWindow *) 0 ;
    guint arg2 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkWindow *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    gtk_window_add_embedded_xid(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: new__GtkBox */
  SYX_FUNC_PRIMITIVE(Gtk_new__GtkBox)
  {
    struct _GtkBox *result = 0 ;
    SyxOop result_oop;
    
    result = (struct _GtkBox *)(struct _GtkBox *) calloc(1, sizeof(struct _GtkBox));
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: delete__GtkBox */
  SYX_FUNC_PRIMITIVE(Gtk_delete__GtkBox)
  {
    struct _GtkBox *arg1 = (struct _GtkBox *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, struct _GtkBox *, es->message_receiver)
    free((char *) arg1);
    
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: new__GtkBoxClass */
  SYX_FUNC_PRIMITIVE(Gtk_new__GtkBoxClass)
  {
    struct _GtkBoxClass *result = 0 ;
    SyxOop result_oop;
    
    result = (struct _GtkBoxClass *)(struct _GtkBoxClass *) calloc(1, sizeof(struct _GtkBoxClass));
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: delete__GtkBoxClass */
  SYX_FUNC_PRIMITIVE(Gtk_delete__GtkBoxClass)
  {
    struct _GtkBoxClass *arg1 = (struct _GtkBoxClass *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, struct _GtkBoxClass *, es->message_receiver)
    free((char *) arg1);
    
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: new__GtkBoxChild */
  SYX_FUNC_PRIMITIVE(Gtk_new__GtkBoxChild)
  {
    struct _GtkBoxChild *result = 0 ;
    SyxOop result_oop;
    
    result = (struct _GtkBoxChild *)(struct _GtkBoxChild *) calloc(1, sizeof(struct _GtkBoxChild));
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: delete__GtkBoxChild */
  SYX_FUNC_PRIMITIVE(Gtk_delete__GtkBoxChild)
  {
    struct _GtkBoxChild *arg1 = (struct _GtkBoxChild *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, struct _GtkBoxChild *, es->message_receiver)
    free((char *) arg1);
    
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_box_get_type */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_box_get_type)
  {
    GType result;
    SyxOop result_oop;
    
    result = (GType)gtk_box_get_type();
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_box_pack_start */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_box_pack_start)
  {
    GtkBox *arg1 = (GtkBox *) 0 ;
    GtkWidget *arg2 = (GtkWidget *) 0 ;
    gboolean arg3 ;
    gboolean arg4 ;
    guint arg5 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkBox *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkWidget *, es->message_arguments[0])
    
    if (!SYX_IS_BOOLEAN(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg3 = SYX_IS_TRUE(es->message_arguments[1]);
    
    
    if (!SYX_IS_BOOLEAN(es->message_arguments[2]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg4 = SYX_IS_TRUE(es->message_arguments[2]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[3]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg5 = SYX_SMALL_INTEGER(es->message_arguments[3]);
    
    gtk_box_pack_start(arg1,arg2,arg3,arg4,arg5);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_box_pack_end */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_box_pack_end)
  {
    GtkBox *arg1 = (GtkBox *) 0 ;
    GtkWidget *arg2 = (GtkWidget *) 0 ;
    gboolean arg3 ;
    gboolean arg4 ;
    guint arg5 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkBox *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkWidget *, es->message_arguments[0])
    
    if (!SYX_IS_BOOLEAN(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg3 = SYX_IS_TRUE(es->message_arguments[1]);
    
    
    if (!SYX_IS_BOOLEAN(es->message_arguments[2]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg4 = SYX_IS_TRUE(es->message_arguments[2]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[3]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg5 = SYX_SMALL_INTEGER(es->message_arguments[3]);
    
    gtk_box_pack_end(arg1,arg2,arg3,arg4,arg5);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_box_pack_start_defaults */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_box_pack_start_defaults)
  {
    GtkBox *arg1 = (GtkBox *) 0 ;
    GtkWidget *arg2 = (GtkWidget *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkBox *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkWidget *, es->message_arguments[0])
    gtk_box_pack_start_defaults(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_box_pack_end_defaults */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_box_pack_end_defaults)
  {
    GtkBox *arg1 = (GtkBox *) 0 ;
    GtkWidget *arg2 = (GtkWidget *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkBox *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkWidget *, es->message_arguments[0])
    gtk_box_pack_end_defaults(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_box_set_homogeneous */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_box_set_homogeneous)
  {
    GtkBox *arg1 = (GtkBox *) 0 ;
    gboolean arg2 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkBox *, es->message_receiver)
    
    if (!SYX_IS_BOOLEAN(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_IS_TRUE(es->message_arguments[0]);
    
    gtk_box_set_homogeneous(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_box_get_homogeneous */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_box_get_homogeneous)
  {
    GtkBox *arg1 = (GtkBox *) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkBox *, es->message_receiver)
    result = gtk_box_get_homogeneous(arg1);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_box_set_spacing */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_box_set_spacing)
  {
    GtkBox *arg1 = (GtkBox *) 0 ;
    gint arg2 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkBox *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    gtk_box_set_spacing(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_box_get_spacing */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_box_get_spacing)
  {
    GtkBox *arg1 = (GtkBox *) 0 ;
    gint result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkBox *, es->message_receiver)
    result = (gint)gtk_box_get_spacing(arg1);
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_box_reorder_child */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_box_reorder_child)
  {
    GtkBox *arg1 = (GtkBox *) 0 ;
    GtkWidget *arg2 = (GtkWidget *) 0 ;
    gint arg3 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkBox *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkWidget *, es->message_arguments[0])
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg3 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    gtk_box_reorder_child(arg1,arg2,arg3);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_box_query_child_packing */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_box_query_child_packing)
  {
    GtkBox *arg1 = (GtkBox *) 0 ;
    GtkWidget *arg2 = (GtkWidget *) 0 ;
    gboolean *arg3 = (gboolean *) 0 ;
    gboolean *arg4 = (gboolean *) 0 ;
    guint *arg5 = (guint *) 0 ;
    GtkPackType *arg6 = (GtkPackType *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkBox *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkWidget *, es->message_arguments[0])
    SWIG_FIRST_SELF(arg3, gboolean *, es->message_arguments[1])
    SWIG_FIRST_SELF(arg4, gboolean *, es->message_arguments[2])
    SWIG_FIRST_SELF(arg5, guint *, es->message_arguments[3])
    SWIG_FIRST_SELF(arg6, GtkPackType *, es->message_arguments[4])
    gtk_box_query_child_packing(arg1,arg2,arg3,arg4,arg5,arg6);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_box_set_child_packing */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_box_set_child_packing)
  {
    GtkBox *arg1 = (GtkBox *) 0 ;
    GtkWidget *arg2 = (GtkWidget *) 0 ;
    gboolean arg3 ;
    gboolean arg4 ;
    guint arg5 ;
    GtkPackType arg6 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkBox *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkWidget *, es->message_arguments[0])
    
    if (!SYX_IS_BOOLEAN(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg3 = SYX_IS_TRUE(es->message_arguments[1]);
    
    
    if (!SYX_IS_BOOLEAN(es->message_arguments[2]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg4 = SYX_IS_TRUE(es->message_arguments[2]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[3]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg5 = SYX_SMALL_INTEGER(es->message_arguments[3]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[4]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg6 = SYX_SMALL_INTEGER(es->message_arguments[4]);
    
    gtk_box_set_child_packing(arg1,arg2,arg3,arg4,arg5,arg6);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: new__GtkHBox */
  SYX_FUNC_PRIMITIVE(Gtk_new__GtkHBox)
  {
    struct _GtkHBox *result = 0 ;
    SyxOop result_oop;
    
    result = (struct _GtkHBox *)(struct _GtkHBox *) calloc(1, sizeof(struct _GtkHBox));
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: delete__GtkHBox */
  SYX_FUNC_PRIMITIVE(Gtk_delete__GtkHBox)
  {
    struct _GtkHBox *arg1 = (struct _GtkHBox *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, struct _GtkHBox *, es->message_receiver)
    free((char *) arg1);
    
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: new__GtkHBoxClass */
  SYX_FUNC_PRIMITIVE(Gtk_new__GtkHBoxClass)
  {
    struct _GtkHBoxClass *result = 0 ;
    SyxOop result_oop;
    
    result = (struct _GtkHBoxClass *)(struct _GtkHBoxClass *) calloc(1, sizeof(struct _GtkHBoxClass));
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: delete__GtkHBoxClass */
  SYX_FUNC_PRIMITIVE(Gtk_delete__GtkHBoxClass)
  {
    struct _GtkHBoxClass *arg1 = (struct _GtkHBoxClass *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, struct _GtkHBoxClass *, es->message_receiver)
    free((char *) arg1);
    
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_hbox_get_type */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_hbox_get_type)
  {
    GType result;
    SyxOop result_oop;
    
    result = (GType)gtk_hbox_get_type();
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_hbox_new */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_hbox_new)
  {
    gboolean arg1 ;
    gint arg2 ;
    GtkWidget *result = 0 ;
    SyxOop result_oop;
    
    
    if (!SYX_IS_BOOLEAN(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_IS_TRUE(es->message_arguments[0]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    result = (GtkWidget *)gtk_hbox_new(arg1,arg2);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: new__GtkVBox */
  SYX_FUNC_PRIMITIVE(Gtk_new__GtkVBox)
  {
    struct _GtkVBox *result = 0 ;
    SyxOop result_oop;
    
    result = (struct _GtkVBox *)(struct _GtkVBox *) calloc(1, sizeof(struct _GtkVBox));
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: delete__GtkVBox */
  SYX_FUNC_PRIMITIVE(Gtk_delete__GtkVBox)
  {
    struct _GtkVBox *arg1 = (struct _GtkVBox *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, struct _GtkVBox *, es->message_receiver)
    free((char *) arg1);
    
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: new__GtkVBoxClass */
  SYX_FUNC_PRIMITIVE(Gtk_new__GtkVBoxClass)
  {
    struct _GtkVBoxClass *result = 0 ;
    SyxOop result_oop;
    
    result = (struct _GtkVBoxClass *)(struct _GtkVBoxClass *) calloc(1, sizeof(struct _GtkVBoxClass));
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: delete__GtkVBoxClass */
  SYX_FUNC_PRIMITIVE(Gtk_delete__GtkVBoxClass)
  {
    struct _GtkVBoxClass *arg1 = (struct _GtkVBoxClass *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, struct _GtkVBoxClass *, es->message_receiver)
    free((char *) arg1);
    
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_vbox_get_type */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_vbox_get_type)
  {
    GType result;
    SyxOop result_oop;
    
    result = (GType)gtk_vbox_get_type();
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_vbox_new */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_vbox_new)
  {
    gboolean arg1 ;
    gint arg2 ;
    GtkWidget *result = 0 ;
    SyxOop result_oop;
    
    
    if (!SYX_IS_BOOLEAN(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_IS_TRUE(es->message_arguments[0]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    result = (GtkWidget *)gtk_vbox_new(arg1,arg2);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: new__GtkAdjustment */
  SYX_FUNC_PRIMITIVE(Gtk_new__GtkAdjustment)
  {
    struct _GtkAdjustment *result = 0 ;
    SyxOop result_oop;
    
    result = (struct _GtkAdjustment *)(struct _GtkAdjustment *) calloc(1, sizeof(struct _GtkAdjustment));
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: delete__GtkAdjustment */
  SYX_FUNC_PRIMITIVE(Gtk_delete__GtkAdjustment)
  {
    struct _GtkAdjustment *arg1 = (struct _GtkAdjustment *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, struct _GtkAdjustment *, es->message_receiver)
    free((char *) arg1);
    
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: new__GtkAdjustmentClass */
  SYX_FUNC_PRIMITIVE(Gtk_new__GtkAdjustmentClass)
  {
    struct _GtkAdjustmentClass *result = 0 ;
    SyxOop result_oop;
    
    result = (struct _GtkAdjustmentClass *)(struct _GtkAdjustmentClass *) calloc(1, sizeof(struct _GtkAdjustmentClass));
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: delete__GtkAdjustmentClass */
  SYX_FUNC_PRIMITIVE(Gtk_delete__GtkAdjustmentClass)
  {
    struct _GtkAdjustmentClass *arg1 = (struct _GtkAdjustmentClass *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, struct _GtkAdjustmentClass *, es->message_receiver)
    free((char *) arg1);
    
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_adjustment_get_type */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_adjustment_get_type)
  {
    GType result;
    SyxOop result_oop;
    
    result = (GType)gtk_adjustment_get_type();
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_adjustment_new */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_adjustment_new)
  {
    gdouble arg1 ;
    gdouble arg2 ;
    gdouble arg3 ;
    gdouble arg4 ;
    gdouble arg5 ;
    gdouble arg6 ;
    GtkObject *result = 0 ;
    SyxOop result_oop;
    
    
    if (!SYX_OBJECT_IS_FLOAT(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_OBJECT_FLOAT(es->message_arguments[0]);
    
    
    if (!SYX_OBJECT_IS_FLOAT(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_OBJECT_FLOAT(es->message_arguments[1]);
    
    
    if (!SYX_OBJECT_IS_FLOAT(es->message_arguments[2]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg3 = SYX_OBJECT_FLOAT(es->message_arguments[2]);
    
    
    if (!SYX_OBJECT_IS_FLOAT(es->message_arguments[3]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg4 = SYX_OBJECT_FLOAT(es->message_arguments[3]);
    
    
    if (!SYX_OBJECT_IS_FLOAT(es->message_arguments[4]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg5 = SYX_OBJECT_FLOAT(es->message_arguments[4]);
    
    
    if (!SYX_OBJECT_IS_FLOAT(es->message_arguments[5]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg6 = SYX_OBJECT_FLOAT(es->message_arguments[5]);
    
    result = (GtkObject *)gtk_adjustment_new(arg1,arg2,arg3,arg4,arg5,arg6);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_adjustment_changed */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_adjustment_changed)
  {
    GtkAdjustment *arg1 = (GtkAdjustment *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkAdjustment *, es->message_receiver)
    gtk_adjustment_changed(arg1);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_adjustment_value_changed */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_adjustment_value_changed)
  {
    GtkAdjustment *arg1 = (GtkAdjustment *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkAdjustment *, es->message_receiver)
    gtk_adjustment_value_changed(arg1);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_adjustment_clamp_page */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_adjustment_clamp_page)
  {
    GtkAdjustment *arg1 = (GtkAdjustment *) 0 ;
    gdouble arg2 ;
    gdouble arg3 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkAdjustment *, es->message_receiver)
    
    if (!SYX_OBJECT_IS_FLOAT(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_OBJECT_FLOAT(es->message_arguments[0]);
    
    
    if (!SYX_OBJECT_IS_FLOAT(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg3 = SYX_OBJECT_FLOAT(es->message_arguments[1]);
    
    gtk_adjustment_clamp_page(arg1,arg2,arg3);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_adjustment_get_value */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_adjustment_get_value)
  {
    GtkAdjustment *arg1 = (GtkAdjustment *) 0 ;
    gdouble result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkAdjustment *, es->message_receiver)
    result = (gdouble)gtk_adjustment_get_value(arg1);
    SWIG_APPEND_VALUE (syx_float_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_adjustment_set_value */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_adjustment_set_value)
  {
    GtkAdjustment *arg1 = (GtkAdjustment *) 0 ;
    gdouble arg2 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkAdjustment *, es->message_receiver)
    
    if (!SYX_OBJECT_IS_FLOAT(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_OBJECT_FLOAT(es->message_arguments[0]);
    
    gtk_adjustment_set_value(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: new__GtkScrolledWindow */
  SYX_FUNC_PRIMITIVE(Gtk_new__GtkScrolledWindow)
  {
    struct _GtkScrolledWindow *result = 0 ;
    SyxOop result_oop;
    
    result = (struct _GtkScrolledWindow *)(struct _GtkScrolledWindow *) calloc(1, sizeof(struct _GtkScrolledWindow));
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: delete__GtkScrolledWindow */
  SYX_FUNC_PRIMITIVE(Gtk_delete__GtkScrolledWindow)
  {
    struct _GtkScrolledWindow *arg1 = (struct _GtkScrolledWindow *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, struct _GtkScrolledWindow *, es->message_receiver)
    free((char *) arg1);
    
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: new__GtkScrolledWindowClass */
  SYX_FUNC_PRIMITIVE(Gtk_new__GtkScrolledWindowClass)
  {
    struct _GtkScrolledWindowClass *result = 0 ;
    SyxOop result_oop;
    
    result = (struct _GtkScrolledWindowClass *)(struct _GtkScrolledWindowClass *) calloc(1, sizeof(struct _GtkScrolledWindowClass));
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: delete__GtkScrolledWindowClass */
  SYX_FUNC_PRIMITIVE(Gtk_delete__GtkScrolledWindowClass)
  {
    struct _GtkScrolledWindowClass *arg1 = (struct _GtkScrolledWindowClass *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, struct _GtkScrolledWindowClass *, es->message_receiver)
    free((char *) arg1);
    
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_scrolled_window_get_type */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_scrolled_window_get_type)
  {
    GType result;
    SyxOop result_oop;
    
    result = (GType)gtk_scrolled_window_get_type();
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_scrolled_window_new */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_scrolled_window_new)
  {
    GtkAdjustment *arg1 = (GtkAdjustment *) 0 ;
    GtkAdjustment *arg2 = (GtkAdjustment *) 0 ;
    GtkWidget *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkAdjustment *, es->message_arguments[0])
    SWIG_FIRST_SELF(arg2, GtkAdjustment *, es->message_arguments[1])
    result = (GtkWidget *)gtk_scrolled_window_new(arg1,arg2);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_scrolled_window_set_hadjustment */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_scrolled_window_set_hadjustment)
  {
    GtkScrolledWindow *arg1 = (GtkScrolledWindow *) 0 ;
    GtkAdjustment *arg2 = (GtkAdjustment *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkScrolledWindow *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkAdjustment *, es->message_arguments[0])
    gtk_scrolled_window_set_hadjustment(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_scrolled_window_set_vadjustment */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_scrolled_window_set_vadjustment)
  {
    GtkScrolledWindow *arg1 = (GtkScrolledWindow *) 0 ;
    GtkAdjustment *arg2 = (GtkAdjustment *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkScrolledWindow *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkAdjustment *, es->message_arguments[0])
    gtk_scrolled_window_set_vadjustment(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_scrolled_window_get_hadjustment */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_scrolled_window_get_hadjustment)
  {
    GtkScrolledWindow *arg1 = (GtkScrolledWindow *) 0 ;
    GtkAdjustment *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkScrolledWindow *, es->message_receiver)
    result = (GtkAdjustment *)gtk_scrolled_window_get_hadjustment(arg1);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_scrolled_window_get_vadjustment */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_scrolled_window_get_vadjustment)
  {
    GtkScrolledWindow *arg1 = (GtkScrolledWindow *) 0 ;
    GtkAdjustment *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkScrolledWindow *, es->message_receiver)
    result = (GtkAdjustment *)gtk_scrolled_window_get_vadjustment(arg1);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_scrolled_window_get_hscrollbar */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_scrolled_window_get_hscrollbar)
  {
    GtkScrolledWindow *arg1 = (GtkScrolledWindow *) 0 ;
    GtkWidget *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkScrolledWindow *, es->message_receiver)
    result = (GtkWidget *)gtk_scrolled_window_get_hscrollbar(arg1);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_scrolled_window_get_vscrollbar */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_scrolled_window_get_vscrollbar)
  {
    GtkScrolledWindow *arg1 = (GtkScrolledWindow *) 0 ;
    GtkWidget *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkScrolledWindow *, es->message_receiver)
    result = (GtkWidget *)gtk_scrolled_window_get_vscrollbar(arg1);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_scrolled_window_set_policy */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_scrolled_window_set_policy)
  {
    GtkScrolledWindow *arg1 = (GtkScrolledWindow *) 0 ;
    GtkPolicyType arg2 ;
    GtkPolicyType arg3 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkScrolledWindow *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg3 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    gtk_scrolled_window_set_policy(arg1,arg2,arg3);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_scrolled_window_get_policy */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_scrolled_window_get_policy)
  {
    GtkScrolledWindow *arg1 = (GtkScrolledWindow *) 0 ;
    GtkPolicyType *arg2 = (GtkPolicyType *) 0 ;
    GtkPolicyType *arg3 = (GtkPolicyType *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkScrolledWindow *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkPolicyType *, es->message_arguments[0])
    SWIG_FIRST_SELF(arg3, GtkPolicyType *, es->message_arguments[1])
    gtk_scrolled_window_get_policy(arg1,arg2,arg3);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_scrolled_window_set_placement */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_scrolled_window_set_placement)
  {
    GtkScrolledWindow *arg1 = (GtkScrolledWindow *) 0 ;
    GtkCornerType arg2 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkScrolledWindow *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    gtk_scrolled_window_set_placement(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_scrolled_window_unset_placement */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_scrolled_window_unset_placement)
  {
    GtkScrolledWindow *arg1 = (GtkScrolledWindow *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkScrolledWindow *, es->message_receiver)
    gtk_scrolled_window_unset_placement(arg1);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_scrolled_window_get_placement */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_scrolled_window_get_placement)
  {
    GtkScrolledWindow *arg1 = (GtkScrolledWindow *) 0 ;
    GtkCornerType result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkScrolledWindow *, es->message_receiver)
    result = (GtkCornerType)gtk_scrolled_window_get_placement(arg1);
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_scrolled_window_set_shadow_type */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_scrolled_window_set_shadow_type)
  {
    GtkScrolledWindow *arg1 = (GtkScrolledWindow *) 0 ;
    GtkShadowType arg2 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkScrolledWindow *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    gtk_scrolled_window_set_shadow_type(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_scrolled_window_get_shadow_type */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_scrolled_window_get_shadow_type)
  {
    GtkScrolledWindow *arg1 = (GtkScrolledWindow *) 0 ;
    GtkShadowType result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkScrolledWindow *, es->message_receiver)
    result = (GtkShadowType)gtk_scrolled_window_get_shadow_type(arg1);
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_scrolled_window_add_with_viewport */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_scrolled_window_add_with_viewport)
  {
    GtkScrolledWindow *arg1 = (GtkScrolledWindow *) 0 ;
    GtkWidget *arg2 = (GtkWidget *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkScrolledWindow *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkWidget *, es->message_arguments[0])
    gtk_scrolled_window_add_with_viewport(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: new__GtkTextIter */
  SYX_FUNC_PRIMITIVE(Gtk_new__GtkTextIter)
  {
    struct _GtkTextIter *result = 0 ;
    SyxOop result_oop;
    
    result = (struct _GtkTextIter *)(struct _GtkTextIter *) calloc(1, sizeof(struct _GtkTextIter));
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: delete__GtkTextIter */
  SYX_FUNC_PRIMITIVE(Gtk_delete__GtkTextIter)
  {
    struct _GtkTextIter *arg1 = (struct _GtkTextIter *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, struct _GtkTextIter *, es->message_receiver)
    free((char *) arg1);
    
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_iter_get_buffer */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_iter_get_buffer)
  {
    GtkTextIter *arg1 = (GtkTextIter *) 0 ;
    GtkTextBuffer *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextIter *, es->message_receiver)
    result = (GtkTextBuffer *)gtk_text_iter_get_buffer((struct _GtkTextIter const *)arg1);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_iter_copy */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_iter_copy)
  {
    GtkTextIter *arg1 = (GtkTextIter *) 0 ;
    GtkTextIter *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextIter *, es->message_receiver)
    result = (GtkTextIter *)gtk_text_iter_copy((struct _GtkTextIter const *)arg1);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_iter_free */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_iter_free)
  {
    GtkTextIter *arg1 = (GtkTextIter *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextIter *, es->message_receiver)
    gtk_text_iter_free(arg1);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_iter_get_type */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_iter_get_type)
  {
    GType result;
    SyxOop result_oop;
    
    result = (GType)gtk_text_iter_get_type();
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_iter_get_offset */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_iter_get_offset)
  {
    GtkTextIter *arg1 = (GtkTextIter *) 0 ;
    gint result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextIter *, es->message_receiver)
    result = (gint)gtk_text_iter_get_offset((struct _GtkTextIter const *)arg1);
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_iter_get_line */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_iter_get_line)
  {
    GtkTextIter *arg1 = (GtkTextIter *) 0 ;
    gint result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextIter *, es->message_receiver)
    result = (gint)gtk_text_iter_get_line((struct _GtkTextIter const *)arg1);
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_iter_get_line_offset */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_iter_get_line_offset)
  {
    GtkTextIter *arg1 = (GtkTextIter *) 0 ;
    gint result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextIter *, es->message_receiver)
    result = (gint)gtk_text_iter_get_line_offset((struct _GtkTextIter const *)arg1);
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_iter_get_line_index */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_iter_get_line_index)
  {
    GtkTextIter *arg1 = (GtkTextIter *) 0 ;
    gint result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextIter *, es->message_receiver)
    result = (gint)gtk_text_iter_get_line_index((struct _GtkTextIter const *)arg1);
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_iter_get_visible_line_offset */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_iter_get_visible_line_offset)
  {
    GtkTextIter *arg1 = (GtkTextIter *) 0 ;
    gint result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextIter *, es->message_receiver)
    result = (gint)gtk_text_iter_get_visible_line_offset((struct _GtkTextIter const *)arg1);
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_iter_get_visible_line_index */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_iter_get_visible_line_index)
  {
    GtkTextIter *arg1 = (GtkTextIter *) 0 ;
    gint result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextIter *, es->message_receiver)
    result = (gint)gtk_text_iter_get_visible_line_index((struct _GtkTextIter const *)arg1);
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_iter_get_char */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_iter_get_char)
  {
    GtkTextIter *arg1 = (GtkTextIter *) 0 ;
    gunichar result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextIter *, es->message_receiver)
    result = (gunichar)gtk_text_iter_get_char((struct _GtkTextIter const *)arg1);
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_iter_get_slice */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_iter_get_slice)
  {
    GtkTextIter *arg1 = (GtkTextIter *) 0 ;
    GtkTextIter *arg2 = (GtkTextIter *) 0 ;
    gchar *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextIter *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkTextIter *, es->message_arguments[0])
    result = (gchar *)gtk_text_iter_get_slice((struct _GtkTextIter const *)arg1,(struct _GtkTextIter const *)arg2);
    SWIG_APPEND_VALUE (syx_string_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_iter_get_text */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_iter_get_text)
  {
    GtkTextIter *arg1 = (GtkTextIter *) 0 ;
    GtkTextIter *arg2 = (GtkTextIter *) 0 ;
    gchar *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextIter *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkTextIter *, es->message_arguments[0])
    result = (gchar *)gtk_text_iter_get_text((struct _GtkTextIter const *)arg1,(struct _GtkTextIter const *)arg2);
    SWIG_APPEND_VALUE (syx_string_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_iter_get_visible_slice */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_iter_get_visible_slice)
  {
    GtkTextIter *arg1 = (GtkTextIter *) 0 ;
    GtkTextIter *arg2 = (GtkTextIter *) 0 ;
    gchar *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextIter *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkTextIter *, es->message_arguments[0])
    result = (gchar *)gtk_text_iter_get_visible_slice((struct _GtkTextIter const *)arg1,(struct _GtkTextIter const *)arg2);
    SWIG_APPEND_VALUE (syx_string_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_iter_get_visible_text */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_iter_get_visible_text)
  {
    GtkTextIter *arg1 = (GtkTextIter *) 0 ;
    GtkTextIter *arg2 = (GtkTextIter *) 0 ;
    gchar *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextIter *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkTextIter *, es->message_arguments[0])
    result = (gchar *)gtk_text_iter_get_visible_text((struct _GtkTextIter const *)arg1,(struct _GtkTextIter const *)arg2);
    SWIG_APPEND_VALUE (syx_string_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_iter_get_pixbuf */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_iter_get_pixbuf)
  {
    GtkTextIter *arg1 = (GtkTextIter *) 0 ;
    GdkPixbuf *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextIter *, es->message_receiver)
    result = (GdkPixbuf *)gtk_text_iter_get_pixbuf((struct _GtkTextIter const *)arg1);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_iter_get_marks */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_iter_get_marks)
  {
    GtkTextIter *arg1 = (GtkTextIter *) 0 ;
    GSList *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextIter *, es->message_receiver)
    result = (GSList *)gtk_text_iter_get_marks((struct _GtkTextIter const *)arg1);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_iter_get_child_anchor */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_iter_get_child_anchor)
  {
    GtkTextIter *arg1 = (GtkTextIter *) 0 ;
    GtkTextChildAnchor *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextIter *, es->message_receiver)
    result = (GtkTextChildAnchor *)gtk_text_iter_get_child_anchor((struct _GtkTextIter const *)arg1);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_iter_get_toggled_tags */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_iter_get_toggled_tags)
  {
    GtkTextIter *arg1 = (GtkTextIter *) 0 ;
    gboolean arg2 ;
    GSList *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextIter *, es->message_receiver)
    
    if (!SYX_IS_BOOLEAN(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_IS_TRUE(es->message_arguments[0]);
    
    result = (GSList *)gtk_text_iter_get_toggled_tags((struct _GtkTextIter const *)arg1,arg2);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_iter_begins_tag */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_iter_begins_tag)
  {
    GtkTextIter *arg1 = (GtkTextIter *) 0 ;
    GtkTextTag *arg2 = (GtkTextTag *) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextIter *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkTextTag *, es->message_arguments[0])
    result = gtk_text_iter_begins_tag((struct _GtkTextIter const *)arg1,arg2);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_iter_ends_tag */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_iter_ends_tag)
  {
    GtkTextIter *arg1 = (GtkTextIter *) 0 ;
    GtkTextTag *arg2 = (GtkTextTag *) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextIter *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkTextTag *, es->message_arguments[0])
    result = gtk_text_iter_ends_tag((struct _GtkTextIter const *)arg1,arg2);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_iter_toggles_tag */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_iter_toggles_tag)
  {
    GtkTextIter *arg1 = (GtkTextIter *) 0 ;
    GtkTextTag *arg2 = (GtkTextTag *) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextIter *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkTextTag *, es->message_arguments[0])
    result = gtk_text_iter_toggles_tag((struct _GtkTextIter const *)arg1,arg2);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_iter_has_tag */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_iter_has_tag)
  {
    GtkTextIter *arg1 = (GtkTextIter *) 0 ;
    GtkTextTag *arg2 = (GtkTextTag *) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextIter *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkTextTag *, es->message_arguments[0])
    result = gtk_text_iter_has_tag((struct _GtkTextIter const *)arg1,arg2);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_iter_get_tags */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_iter_get_tags)
  {
    GtkTextIter *arg1 = (GtkTextIter *) 0 ;
    GSList *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextIter *, es->message_receiver)
    result = (GSList *)gtk_text_iter_get_tags((struct _GtkTextIter const *)arg1);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_iter_editable */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_iter_editable)
  {
    GtkTextIter *arg1 = (GtkTextIter *) 0 ;
    gboolean arg2 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextIter *, es->message_receiver)
    
    if (!SYX_IS_BOOLEAN(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_IS_TRUE(es->message_arguments[0]);
    
    result = gtk_text_iter_editable((struct _GtkTextIter const *)arg1,arg2);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_iter_can_insert */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_iter_can_insert)
  {
    GtkTextIter *arg1 = (GtkTextIter *) 0 ;
    gboolean arg2 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextIter *, es->message_receiver)
    
    if (!SYX_IS_BOOLEAN(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_IS_TRUE(es->message_arguments[0]);
    
    result = gtk_text_iter_can_insert((struct _GtkTextIter const *)arg1,arg2);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_iter_starts_word */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_iter_starts_word)
  {
    GtkTextIter *arg1 = (GtkTextIter *) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextIter *, es->message_receiver)
    result = gtk_text_iter_starts_word((struct _GtkTextIter const *)arg1);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_iter_ends_word */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_iter_ends_word)
  {
    GtkTextIter *arg1 = (GtkTextIter *) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextIter *, es->message_receiver)
    result = gtk_text_iter_ends_word((struct _GtkTextIter const *)arg1);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_iter_inside_word */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_iter_inside_word)
  {
    GtkTextIter *arg1 = (GtkTextIter *) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextIter *, es->message_receiver)
    result = gtk_text_iter_inside_word((struct _GtkTextIter const *)arg1);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_iter_starts_sentence */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_iter_starts_sentence)
  {
    GtkTextIter *arg1 = (GtkTextIter *) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextIter *, es->message_receiver)
    result = gtk_text_iter_starts_sentence((struct _GtkTextIter const *)arg1);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_iter_ends_sentence */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_iter_ends_sentence)
  {
    GtkTextIter *arg1 = (GtkTextIter *) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextIter *, es->message_receiver)
    result = gtk_text_iter_ends_sentence((struct _GtkTextIter const *)arg1);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_iter_inside_sentence */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_iter_inside_sentence)
  {
    GtkTextIter *arg1 = (GtkTextIter *) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextIter *, es->message_receiver)
    result = gtk_text_iter_inside_sentence((struct _GtkTextIter const *)arg1);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_iter_starts_line */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_iter_starts_line)
  {
    GtkTextIter *arg1 = (GtkTextIter *) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextIter *, es->message_receiver)
    result = gtk_text_iter_starts_line((struct _GtkTextIter const *)arg1);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_iter_ends_line */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_iter_ends_line)
  {
    GtkTextIter *arg1 = (GtkTextIter *) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextIter *, es->message_receiver)
    result = gtk_text_iter_ends_line((struct _GtkTextIter const *)arg1);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_iter_is_cursor_position */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_iter_is_cursor_position)
  {
    GtkTextIter *arg1 = (GtkTextIter *) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextIter *, es->message_receiver)
    result = gtk_text_iter_is_cursor_position((struct _GtkTextIter const *)arg1);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_iter_get_chars_in_line */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_iter_get_chars_in_line)
  {
    GtkTextIter *arg1 = (GtkTextIter *) 0 ;
    gint result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextIter *, es->message_receiver)
    result = (gint)gtk_text_iter_get_chars_in_line((struct _GtkTextIter const *)arg1);
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_iter_get_bytes_in_line */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_iter_get_bytes_in_line)
  {
    GtkTextIter *arg1 = (GtkTextIter *) 0 ;
    gint result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextIter *, es->message_receiver)
    result = (gint)gtk_text_iter_get_bytes_in_line((struct _GtkTextIter const *)arg1);
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_iter_get_attributes */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_iter_get_attributes)
  {
    GtkTextIter *arg1 = (GtkTextIter *) 0 ;
    GtkTextAttributes *arg2 = (GtkTextAttributes *) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextIter *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkTextAttributes *, es->message_arguments[0])
    result = gtk_text_iter_get_attributes((struct _GtkTextIter const *)arg1,arg2);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_iter_get_language */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_iter_get_language)
  {
    GtkTextIter *arg1 = (GtkTextIter *) 0 ;
    PangoLanguage *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextIter *, es->message_receiver)
    result = (PangoLanguage *)gtk_text_iter_get_language((struct _GtkTextIter const *)arg1);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_iter_is_end */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_iter_is_end)
  {
    GtkTextIter *arg1 = (GtkTextIter *) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextIter *, es->message_receiver)
    result = gtk_text_iter_is_end((struct _GtkTextIter const *)arg1);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_iter_is_start */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_iter_is_start)
  {
    GtkTextIter *arg1 = (GtkTextIter *) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextIter *, es->message_receiver)
    result = gtk_text_iter_is_start((struct _GtkTextIter const *)arg1);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_iter_forward_char */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_iter_forward_char)
  {
    GtkTextIter *arg1 = (GtkTextIter *) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextIter *, es->message_receiver)
    result = gtk_text_iter_forward_char(arg1);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_iter_backward_char */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_iter_backward_char)
  {
    GtkTextIter *arg1 = (GtkTextIter *) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextIter *, es->message_receiver)
    result = gtk_text_iter_backward_char(arg1);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_iter_forward_chars */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_iter_forward_chars)
  {
    GtkTextIter *arg1 = (GtkTextIter *) 0 ;
    gint arg2 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextIter *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    result = gtk_text_iter_forward_chars(arg1,arg2);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_iter_backward_chars */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_iter_backward_chars)
  {
    GtkTextIter *arg1 = (GtkTextIter *) 0 ;
    gint arg2 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextIter *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    result = gtk_text_iter_backward_chars(arg1,arg2);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_iter_forward_line */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_iter_forward_line)
  {
    GtkTextIter *arg1 = (GtkTextIter *) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextIter *, es->message_receiver)
    result = gtk_text_iter_forward_line(arg1);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_iter_backward_line */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_iter_backward_line)
  {
    GtkTextIter *arg1 = (GtkTextIter *) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextIter *, es->message_receiver)
    result = gtk_text_iter_backward_line(arg1);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_iter_forward_lines */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_iter_forward_lines)
  {
    GtkTextIter *arg1 = (GtkTextIter *) 0 ;
    gint arg2 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextIter *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    result = gtk_text_iter_forward_lines(arg1,arg2);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_iter_backward_lines */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_iter_backward_lines)
  {
    GtkTextIter *arg1 = (GtkTextIter *) 0 ;
    gint arg2 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextIter *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    result = gtk_text_iter_backward_lines(arg1,arg2);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_iter_forward_word_end */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_iter_forward_word_end)
  {
    GtkTextIter *arg1 = (GtkTextIter *) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextIter *, es->message_receiver)
    result = gtk_text_iter_forward_word_end(arg1);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_iter_backward_word_start */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_iter_backward_word_start)
  {
    GtkTextIter *arg1 = (GtkTextIter *) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextIter *, es->message_receiver)
    result = gtk_text_iter_backward_word_start(arg1);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_iter_forward_word_ends */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_iter_forward_word_ends)
  {
    GtkTextIter *arg1 = (GtkTextIter *) 0 ;
    gint arg2 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextIter *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    result = gtk_text_iter_forward_word_ends(arg1,arg2);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_iter_backward_word_starts */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_iter_backward_word_starts)
  {
    GtkTextIter *arg1 = (GtkTextIter *) 0 ;
    gint arg2 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextIter *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    result = gtk_text_iter_backward_word_starts(arg1,arg2);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_iter_forward_visible_line */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_iter_forward_visible_line)
  {
    GtkTextIter *arg1 = (GtkTextIter *) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextIter *, es->message_receiver)
    result = gtk_text_iter_forward_visible_line(arg1);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_iter_backward_visible_line */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_iter_backward_visible_line)
  {
    GtkTextIter *arg1 = (GtkTextIter *) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextIter *, es->message_receiver)
    result = gtk_text_iter_backward_visible_line(arg1);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_iter_forward_visible_lines */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_iter_forward_visible_lines)
  {
    GtkTextIter *arg1 = (GtkTextIter *) 0 ;
    gint arg2 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextIter *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    result = gtk_text_iter_forward_visible_lines(arg1,arg2);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_iter_backward_visible_lines */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_iter_backward_visible_lines)
  {
    GtkTextIter *arg1 = (GtkTextIter *) 0 ;
    gint arg2 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextIter *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    result = gtk_text_iter_backward_visible_lines(arg1,arg2);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_iter_forward_visible_word_end */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_iter_forward_visible_word_end)
  {
    GtkTextIter *arg1 = (GtkTextIter *) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextIter *, es->message_receiver)
    result = gtk_text_iter_forward_visible_word_end(arg1);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_iter_backward_visible_word_start */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_iter_backward_visible_word_start)
  {
    GtkTextIter *arg1 = (GtkTextIter *) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextIter *, es->message_receiver)
    result = gtk_text_iter_backward_visible_word_start(arg1);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_iter_forward_visible_word_ends */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_iter_forward_visible_word_ends)
  {
    GtkTextIter *arg1 = (GtkTextIter *) 0 ;
    gint arg2 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextIter *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    result = gtk_text_iter_forward_visible_word_ends(arg1,arg2);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_iter_backward_visible_word_starts */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_iter_backward_visible_word_starts)
  {
    GtkTextIter *arg1 = (GtkTextIter *) 0 ;
    gint arg2 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextIter *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    result = gtk_text_iter_backward_visible_word_starts(arg1,arg2);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_iter_forward_sentence_end */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_iter_forward_sentence_end)
  {
    GtkTextIter *arg1 = (GtkTextIter *) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextIter *, es->message_receiver)
    result = gtk_text_iter_forward_sentence_end(arg1);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_iter_backward_sentence_start */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_iter_backward_sentence_start)
  {
    GtkTextIter *arg1 = (GtkTextIter *) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextIter *, es->message_receiver)
    result = gtk_text_iter_backward_sentence_start(arg1);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_iter_forward_sentence_ends */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_iter_forward_sentence_ends)
  {
    GtkTextIter *arg1 = (GtkTextIter *) 0 ;
    gint arg2 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextIter *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    result = gtk_text_iter_forward_sentence_ends(arg1,arg2);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_iter_backward_sentence_starts */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_iter_backward_sentence_starts)
  {
    GtkTextIter *arg1 = (GtkTextIter *) 0 ;
    gint arg2 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextIter *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    result = gtk_text_iter_backward_sentence_starts(arg1,arg2);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_iter_forward_cursor_position */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_iter_forward_cursor_position)
  {
    GtkTextIter *arg1 = (GtkTextIter *) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextIter *, es->message_receiver)
    result = gtk_text_iter_forward_cursor_position(arg1);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_iter_backward_cursor_position */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_iter_backward_cursor_position)
  {
    GtkTextIter *arg1 = (GtkTextIter *) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextIter *, es->message_receiver)
    result = gtk_text_iter_backward_cursor_position(arg1);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_iter_forward_cursor_positions */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_iter_forward_cursor_positions)
  {
    GtkTextIter *arg1 = (GtkTextIter *) 0 ;
    gint arg2 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextIter *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    result = gtk_text_iter_forward_cursor_positions(arg1,arg2);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_iter_backward_cursor_positions */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_iter_backward_cursor_positions)
  {
    GtkTextIter *arg1 = (GtkTextIter *) 0 ;
    gint arg2 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextIter *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    result = gtk_text_iter_backward_cursor_positions(arg1,arg2);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_iter_forward_visible_cursor_position */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_iter_forward_visible_cursor_position)
  {
    GtkTextIter *arg1 = (GtkTextIter *) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextIter *, es->message_receiver)
    result = gtk_text_iter_forward_visible_cursor_position(arg1);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_iter_backward_visible_cursor_position */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_iter_backward_visible_cursor_position)
  {
    GtkTextIter *arg1 = (GtkTextIter *) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextIter *, es->message_receiver)
    result = gtk_text_iter_backward_visible_cursor_position(arg1);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_iter_forward_visible_cursor_positions */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_iter_forward_visible_cursor_positions)
  {
    GtkTextIter *arg1 = (GtkTextIter *) 0 ;
    gint arg2 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextIter *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    result = gtk_text_iter_forward_visible_cursor_positions(arg1,arg2);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_iter_backward_visible_cursor_positions */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_iter_backward_visible_cursor_positions)
  {
    GtkTextIter *arg1 = (GtkTextIter *) 0 ;
    gint arg2 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextIter *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    result = gtk_text_iter_backward_visible_cursor_positions(arg1,arg2);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_iter_set_offset */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_iter_set_offset)
  {
    GtkTextIter *arg1 = (GtkTextIter *) 0 ;
    gint arg2 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextIter *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    gtk_text_iter_set_offset(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_iter_set_line */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_iter_set_line)
  {
    GtkTextIter *arg1 = (GtkTextIter *) 0 ;
    gint arg2 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextIter *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    gtk_text_iter_set_line(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_iter_set_line_offset */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_iter_set_line_offset)
  {
    GtkTextIter *arg1 = (GtkTextIter *) 0 ;
    gint arg2 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextIter *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    gtk_text_iter_set_line_offset(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_iter_set_line_index */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_iter_set_line_index)
  {
    GtkTextIter *arg1 = (GtkTextIter *) 0 ;
    gint arg2 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextIter *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    gtk_text_iter_set_line_index(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_iter_forward_to_end */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_iter_forward_to_end)
  {
    GtkTextIter *arg1 = (GtkTextIter *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextIter *, es->message_receiver)
    gtk_text_iter_forward_to_end(arg1);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_iter_forward_to_line_end */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_iter_forward_to_line_end)
  {
    GtkTextIter *arg1 = (GtkTextIter *) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextIter *, es->message_receiver)
    result = gtk_text_iter_forward_to_line_end(arg1);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_iter_set_visible_line_offset */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_iter_set_visible_line_offset)
  {
    GtkTextIter *arg1 = (GtkTextIter *) 0 ;
    gint arg2 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextIter *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    gtk_text_iter_set_visible_line_offset(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_iter_set_visible_line_index */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_iter_set_visible_line_index)
  {
    GtkTextIter *arg1 = (GtkTextIter *) 0 ;
    gint arg2 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextIter *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    gtk_text_iter_set_visible_line_index(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_iter_forward_to_tag_toggle */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_iter_forward_to_tag_toggle)
  {
    GtkTextIter *arg1 = (GtkTextIter *) 0 ;
    GtkTextTag *arg2 = (GtkTextTag *) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextIter *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkTextTag *, es->message_arguments[0])
    result = gtk_text_iter_forward_to_tag_toggle(arg1,arg2);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_iter_backward_to_tag_toggle */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_iter_backward_to_tag_toggle)
  {
    GtkTextIter *arg1 = (GtkTextIter *) 0 ;
    GtkTextTag *arg2 = (GtkTextTag *) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextIter *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkTextTag *, es->message_arguments[0])
    result = gtk_text_iter_backward_to_tag_toggle(arg1,arg2);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_iter_forward_find_char */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_iter_forward_find_char)
  {
    GtkTextIter *arg1 = (GtkTextIter *) 0 ;
    GtkTextCharPredicate arg2 = (GtkTextCharPredicate) 0 ;
    gpointer arg3 = (gpointer) 0 ;
    GtkTextIter *arg4 = (GtkTextIter *) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextIter *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkTextCharPredicate, es->message_arguments[0])
    SWIG_FIRST_SELF(arg3, gpointer, es->message_arguments[1])
    SWIG_FIRST_SELF(arg4, GtkTextIter *, es->message_arguments[2])
    result = gtk_text_iter_forward_find_char(arg1,arg2,arg3,(struct _GtkTextIter const *)arg4);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_iter_backward_find_char */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_iter_backward_find_char)
  {
    GtkTextIter *arg1 = (GtkTextIter *) 0 ;
    GtkTextCharPredicate arg2 = (GtkTextCharPredicate) 0 ;
    gpointer arg3 = (gpointer) 0 ;
    GtkTextIter *arg4 = (GtkTextIter *) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextIter *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkTextCharPredicate, es->message_arguments[0])
    SWIG_FIRST_SELF(arg3, gpointer, es->message_arguments[1])
    SWIG_FIRST_SELF(arg4, GtkTextIter *, es->message_arguments[2])
    result = gtk_text_iter_backward_find_char(arg1,arg2,arg3,(struct _GtkTextIter const *)arg4);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_iter_forward_search */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_iter_forward_search)
  {
    GtkTextIter *arg1 = (GtkTextIter *) 0 ;
    gchar *arg2 = (gchar *) 0 ;
    GtkTextSearchFlags arg3 ;
    GtkTextIter *arg4 = (GtkTextIter *) 0 ;
    GtkTextIter *arg5 = (GtkTextIter *) 0 ;
    GtkTextIter *arg6 = (GtkTextIter *) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextIter *, es->message_receiver)
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg3 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    SWIG_FIRST_SELF(arg4, GtkTextIter *, es->message_arguments[2])
    SWIG_FIRST_SELF(arg5, GtkTextIter *, es->message_arguments[3])
    SWIG_FIRST_SELF(arg6, GtkTextIter *, es->message_arguments[4])
    result = gtk_text_iter_forward_search((struct _GtkTextIter const *)arg1,(char const *)arg2,arg3,arg4,arg5,(struct _GtkTextIter const *)arg6);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_iter_backward_search */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_iter_backward_search)
  {
    GtkTextIter *arg1 = (GtkTextIter *) 0 ;
    gchar *arg2 = (gchar *) 0 ;
    GtkTextSearchFlags arg3 ;
    GtkTextIter *arg4 = (GtkTextIter *) 0 ;
    GtkTextIter *arg5 = (GtkTextIter *) 0 ;
    GtkTextIter *arg6 = (GtkTextIter *) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextIter *, es->message_receiver)
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg3 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    SWIG_FIRST_SELF(arg4, GtkTextIter *, es->message_arguments[2])
    SWIG_FIRST_SELF(arg5, GtkTextIter *, es->message_arguments[3])
    SWIG_FIRST_SELF(arg6, GtkTextIter *, es->message_arguments[4])
    result = gtk_text_iter_backward_search((struct _GtkTextIter const *)arg1,(char const *)arg2,arg3,arg4,arg5,(struct _GtkTextIter const *)arg6);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_iter_equal */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_iter_equal)
  {
    GtkTextIter *arg1 = (GtkTextIter *) 0 ;
    GtkTextIter *arg2 = (GtkTextIter *) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextIter *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkTextIter *, es->message_arguments[0])
    result = gtk_text_iter_equal((struct _GtkTextIter const *)arg1,(struct _GtkTextIter const *)arg2);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_iter_compare */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_iter_compare)
  {
    GtkTextIter *arg1 = (GtkTextIter *) 0 ;
    GtkTextIter *arg2 = (GtkTextIter *) 0 ;
    gint result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextIter *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkTextIter *, es->message_arguments[0])
    result = (gint)gtk_text_iter_compare((struct _GtkTextIter const *)arg1,(struct _GtkTextIter const *)arg2);
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_iter_in_range */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_iter_in_range)
  {
    GtkTextIter *arg1 = (GtkTextIter *) 0 ;
    GtkTextIter *arg2 = (GtkTextIter *) 0 ;
    GtkTextIter *arg3 = (GtkTextIter *) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextIter *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkTextIter *, es->message_arguments[0])
    SWIG_FIRST_SELF(arg3, GtkTextIter *, es->message_arguments[1])
    result = gtk_text_iter_in_range((struct _GtkTextIter const *)arg1,(struct _GtkTextIter const *)arg2,(struct _GtkTextIter const *)arg3);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_iter_order */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_iter_order)
  {
    GtkTextIter *arg1 = (GtkTextIter *) 0 ;
    GtkTextIter *arg2 = (GtkTextIter *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextIter *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkTextIter *, es->message_arguments[0])
    gtk_text_iter_order(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: new__GtkTextTagTable */
  SYX_FUNC_PRIMITIVE(Gtk_new__GtkTextTagTable)
  {
    struct _GtkTextTagTable *result = 0 ;
    SyxOop result_oop;
    
    result = (struct _GtkTextTagTable *)(struct _GtkTextTagTable *) calloc(1, sizeof(struct _GtkTextTagTable));
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: delete__GtkTextTagTable */
  SYX_FUNC_PRIMITIVE(Gtk_delete__GtkTextTagTable)
  {
    struct _GtkTextTagTable *arg1 = (struct _GtkTextTagTable *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, struct _GtkTextTagTable *, es->message_receiver)
    free((char *) arg1);
    
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: new__GtkTextTagTableClass */
  SYX_FUNC_PRIMITIVE(Gtk_new__GtkTextTagTableClass)
  {
    struct _GtkTextTagTableClass *result = 0 ;
    SyxOop result_oop;
    
    result = (struct _GtkTextTagTableClass *)(struct _GtkTextTagTableClass *) calloc(1, sizeof(struct _GtkTextTagTableClass));
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: delete__GtkTextTagTableClass */
  SYX_FUNC_PRIMITIVE(Gtk_delete__GtkTextTagTableClass)
  {
    struct _GtkTextTagTableClass *arg1 = (struct _GtkTextTagTableClass *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, struct _GtkTextTagTableClass *, es->message_receiver)
    free((char *) arg1);
    
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_tag_table_get_type */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_tag_table_get_type)
  {
    GType result;
    SyxOop result_oop;
    
    result = (GType)gtk_text_tag_table_get_type();
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_tag_table_new */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_tag_table_new)
  {
    GtkTextTagTable *result = 0 ;
    SyxOop result_oop;
    
    result = (GtkTextTagTable *)gtk_text_tag_table_new();
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_tag_table_add */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_tag_table_add)
  {
    GtkTextTagTable *arg1 = (GtkTextTagTable *) 0 ;
    GtkTextTag *arg2 = (GtkTextTag *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextTagTable *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkTextTag *, es->message_arguments[0])
    gtk_text_tag_table_add(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_tag_table_remove */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_tag_table_remove)
  {
    GtkTextTagTable *arg1 = (GtkTextTagTable *) 0 ;
    GtkTextTag *arg2 = (GtkTextTag *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextTagTable *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkTextTag *, es->message_arguments[0])
    gtk_text_tag_table_remove(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_tag_table_lookup */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_tag_table_lookup)
  {
    GtkTextTagTable *arg1 = (GtkTextTagTable *) 0 ;
    gchar *arg2 = (gchar *) 0 ;
    GtkTextTag *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextTagTable *, es->message_receiver)
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    result = (GtkTextTag *)gtk_text_tag_table_lookup(arg1,(char const *)arg2);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_tag_table_foreach */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_tag_table_foreach)
  {
    GtkTextTagTable *arg1 = (GtkTextTagTable *) 0 ;
    GtkTextTagTableForeach arg2 = (GtkTextTagTableForeach) 0 ;
    gpointer arg3 = (gpointer) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextTagTable *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkTextTagTableForeach, es->message_arguments[0])
    SWIG_FIRST_SELF(arg3, gpointer, es->message_arguments[1])
    gtk_text_tag_table_foreach(arg1,arg2,arg3);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_tag_table_get_size */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_tag_table_get_size)
  {
    GtkTextTagTable *arg1 = (GtkTextTagTable *) 0 ;
    gint result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextTagTable *, es->message_receiver)
    result = (gint)gtk_text_tag_table_get_size(arg1);
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: new__GtkTextBuffer */
  SYX_FUNC_PRIMITIVE(Gtk_new__GtkTextBuffer)
  {
    struct _GtkTextBuffer *result = 0 ;
    SyxOop result_oop;
    
    result = (struct _GtkTextBuffer *)(struct _GtkTextBuffer *) calloc(1, sizeof(struct _GtkTextBuffer));
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: delete__GtkTextBuffer */
  SYX_FUNC_PRIMITIVE(Gtk_delete__GtkTextBuffer)
  {
    struct _GtkTextBuffer *arg1 = (struct _GtkTextBuffer *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, struct _GtkTextBuffer *, es->message_receiver)
    free((char *) arg1);
    
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: new__GtkTextBufferClass */
  SYX_FUNC_PRIMITIVE(Gtk_new__GtkTextBufferClass)
  {
    struct _GtkTextBufferClass *result = 0 ;
    SyxOop result_oop;
    
    result = (struct _GtkTextBufferClass *)(struct _GtkTextBufferClass *) calloc(1, sizeof(struct _GtkTextBufferClass));
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: delete__GtkTextBufferClass */
  SYX_FUNC_PRIMITIVE(Gtk_delete__GtkTextBufferClass)
  {
    struct _GtkTextBufferClass *arg1 = (struct _GtkTextBufferClass *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, struct _GtkTextBufferClass *, es->message_receiver)
    free((char *) arg1);
    
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_buffer_get_type */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_buffer_get_type)
  {
    GType result;
    SyxOop result_oop;
    
    result = (GType)gtk_text_buffer_get_type();
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_buffer_new */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_buffer_new)
  {
    GtkTextTagTable *arg1 = (GtkTextTagTable *) 0 ;
    GtkTextBuffer *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextTagTable *, es->message_arguments[0])
    result = (GtkTextBuffer *)gtk_text_buffer_new(arg1);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_buffer_get_line_count */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_buffer_get_line_count)
  {
    GtkTextBuffer *arg1 = (GtkTextBuffer *) 0 ;
    gint result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextBuffer *, es->message_receiver)
    result = (gint)gtk_text_buffer_get_line_count(arg1);
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_buffer_get_char_count */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_buffer_get_char_count)
  {
    GtkTextBuffer *arg1 = (GtkTextBuffer *) 0 ;
    gint result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextBuffer *, es->message_receiver)
    result = (gint)gtk_text_buffer_get_char_count(arg1);
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_buffer_get_tag_table */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_buffer_get_tag_table)
  {
    GtkTextBuffer *arg1 = (GtkTextBuffer *) 0 ;
    GtkTextTagTable *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextBuffer *, es->message_receiver)
    result = (GtkTextTagTable *)gtk_text_buffer_get_tag_table(arg1);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_buffer_set_text */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_buffer_set_text)
  {
    GtkTextBuffer *arg1 = (GtkTextBuffer *) 0 ;
    gchar *arg2 = (gchar *) 0 ;
    gint arg3 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextBuffer *, es->message_receiver)
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg3 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    gtk_text_buffer_set_text(arg1,(char const *)arg2,arg3);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_buffer_insert */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_buffer_insert)
  {
    GtkTextBuffer *arg1 = (GtkTextBuffer *) 0 ;
    GtkTextIter *arg2 = (GtkTextIter *) 0 ;
    gchar *arg3 = (gchar *) 0 ;
    gint arg4 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextBuffer *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkTextIter *, es->message_arguments[0])
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg3 = SYX_OBJECT_STRING(es->message_arguments[1]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[2]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg4 = SYX_SMALL_INTEGER(es->message_arguments[2]);
    
    gtk_text_buffer_insert(arg1,arg2,(char const *)arg3,arg4);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_buffer_insert_at_cursor */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_buffer_insert_at_cursor)
  {
    GtkTextBuffer *arg1 = (GtkTextBuffer *) 0 ;
    gchar *arg2 = (gchar *) 0 ;
    gint arg3 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextBuffer *, es->message_receiver)
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg3 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    gtk_text_buffer_insert_at_cursor(arg1,(char const *)arg2,arg3);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_buffer_insert_interactive */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_buffer_insert_interactive)
  {
    GtkTextBuffer *arg1 = (GtkTextBuffer *) 0 ;
    GtkTextIter *arg2 = (GtkTextIter *) 0 ;
    gchar *arg3 = (gchar *) 0 ;
    gint arg4 ;
    gboolean arg5 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextBuffer *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkTextIter *, es->message_arguments[0])
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg3 = SYX_OBJECT_STRING(es->message_arguments[1]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[2]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg4 = SYX_SMALL_INTEGER(es->message_arguments[2]);
    
    
    if (!SYX_IS_BOOLEAN(es->message_arguments[3]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg5 = SYX_IS_TRUE(es->message_arguments[3]);
    
    result = gtk_text_buffer_insert_interactive(arg1,arg2,(char const *)arg3,arg4,arg5);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_buffer_insert_interactive_at_cursor */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_buffer_insert_interactive_at_cursor)
  {
    GtkTextBuffer *arg1 = (GtkTextBuffer *) 0 ;
    gchar *arg2 = (gchar *) 0 ;
    gint arg3 ;
    gboolean arg4 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextBuffer *, es->message_receiver)
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg3 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    
    if (!SYX_IS_BOOLEAN(es->message_arguments[2]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg4 = SYX_IS_TRUE(es->message_arguments[2]);
    
    result = gtk_text_buffer_insert_interactive_at_cursor(arg1,(char const *)arg2,arg3,arg4);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_buffer_insert_range */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_buffer_insert_range)
  {
    GtkTextBuffer *arg1 = (GtkTextBuffer *) 0 ;
    GtkTextIter *arg2 = (GtkTextIter *) 0 ;
    GtkTextIter *arg3 = (GtkTextIter *) 0 ;
    GtkTextIter *arg4 = (GtkTextIter *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextBuffer *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkTextIter *, es->message_arguments[0])
    SWIG_FIRST_SELF(arg3, GtkTextIter *, es->message_arguments[1])
    SWIG_FIRST_SELF(arg4, GtkTextIter *, es->message_arguments[2])
    gtk_text_buffer_insert_range(arg1,arg2,(struct _GtkTextIter const *)arg3,(struct _GtkTextIter const *)arg4);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_buffer_insert_range_interactive */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_buffer_insert_range_interactive)
  {
    GtkTextBuffer *arg1 = (GtkTextBuffer *) 0 ;
    GtkTextIter *arg2 = (GtkTextIter *) 0 ;
    GtkTextIter *arg3 = (GtkTextIter *) 0 ;
    GtkTextIter *arg4 = (GtkTextIter *) 0 ;
    gboolean arg5 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextBuffer *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkTextIter *, es->message_arguments[0])
    SWIG_FIRST_SELF(arg3, GtkTextIter *, es->message_arguments[1])
    SWIG_FIRST_SELF(arg4, GtkTextIter *, es->message_arguments[2])
    
    if (!SYX_IS_BOOLEAN(es->message_arguments[3]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg5 = SYX_IS_TRUE(es->message_arguments[3]);
    
    result = gtk_text_buffer_insert_range_interactive(arg1,arg2,(struct _GtkTextIter const *)arg3,(struct _GtkTextIter const *)arg4,arg5);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_buffer_insert_with_tags */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_buffer_insert_with_tags)
  {
    GtkTextBuffer *arg1 = (GtkTextBuffer *) 0 ;
    GtkTextIter *arg2 = (GtkTextIter *) 0 ;
    gchar *arg3 = (gchar *) 0 ;
    gint arg4 ;
    GtkTextTag *arg5 = (GtkTextTag *) 0 ;
    void *arg6 = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextBuffer *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkTextIter *, es->message_arguments[0])
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg3 = SYX_OBJECT_STRING(es->message_arguments[1]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[2]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg4 = SYX_SMALL_INTEGER(es->message_arguments[2]);
    
    SWIG_FIRST_SELF(arg5, GtkTextTag *, es->message_arguments[3])
    gtk_text_buffer_insert_with_tags(arg1,arg2,(char const *)arg3,arg4,arg5,arg6);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_buffer_insert_with_tags_by_name */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_buffer_insert_with_tags_by_name)
  {
    GtkTextBuffer *arg1 = (GtkTextBuffer *) 0 ;
    GtkTextIter *arg2 = (GtkTextIter *) 0 ;
    gchar *arg3 = (gchar *) 0 ;
    gint arg4 ;
    gchar *arg5 = (gchar *) 0 ;
    void *arg6 = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextBuffer *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkTextIter *, es->message_arguments[0])
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg3 = SYX_OBJECT_STRING(es->message_arguments[1]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[2]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg4 = SYX_SMALL_INTEGER(es->message_arguments[2]);
    
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[3]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg5 = SYX_OBJECT_STRING(es->message_arguments[3]);
    
    gtk_text_buffer_insert_with_tags_by_name(arg1,arg2,(char const *)arg3,arg4,(char const *)arg5,arg6);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_buffer_delete */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_buffer_delete)
  {
    GtkTextBuffer *arg1 = (GtkTextBuffer *) 0 ;
    GtkTextIter *arg2 = (GtkTextIter *) 0 ;
    GtkTextIter *arg3 = (GtkTextIter *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextBuffer *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkTextIter *, es->message_arguments[0])
    SWIG_FIRST_SELF(arg3, GtkTextIter *, es->message_arguments[1])
    gtk_text_buffer_delete(arg1,arg2,arg3);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_buffer_delete_interactive */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_buffer_delete_interactive)
  {
    GtkTextBuffer *arg1 = (GtkTextBuffer *) 0 ;
    GtkTextIter *arg2 = (GtkTextIter *) 0 ;
    GtkTextIter *arg3 = (GtkTextIter *) 0 ;
    gboolean arg4 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextBuffer *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkTextIter *, es->message_arguments[0])
    SWIG_FIRST_SELF(arg3, GtkTextIter *, es->message_arguments[1])
    
    if (!SYX_IS_BOOLEAN(es->message_arguments[2]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg4 = SYX_IS_TRUE(es->message_arguments[2]);
    
    result = gtk_text_buffer_delete_interactive(arg1,arg2,arg3,arg4);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_buffer_backspace */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_buffer_backspace)
  {
    GtkTextBuffer *arg1 = (GtkTextBuffer *) 0 ;
    GtkTextIter *arg2 = (GtkTextIter *) 0 ;
    gboolean arg3 ;
    gboolean arg4 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextBuffer *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkTextIter *, es->message_arguments[0])
    
    if (!SYX_IS_BOOLEAN(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg3 = SYX_IS_TRUE(es->message_arguments[1]);
    
    
    if (!SYX_IS_BOOLEAN(es->message_arguments[2]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg4 = SYX_IS_TRUE(es->message_arguments[2]);
    
    result = gtk_text_buffer_backspace(arg1,arg2,arg3,arg4);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_buffer_get_text */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_buffer_get_text)
  {
    GtkTextBuffer *arg1 = (GtkTextBuffer *) 0 ;
    GtkTextIter *arg2 = (GtkTextIter *) 0 ;
    GtkTextIter *arg3 = (GtkTextIter *) 0 ;
    gboolean arg4 ;
    gchar *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextBuffer *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkTextIter *, es->message_arguments[0])
    SWIG_FIRST_SELF(arg3, GtkTextIter *, es->message_arguments[1])
    
    if (!SYX_IS_BOOLEAN(es->message_arguments[2]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg4 = SYX_IS_TRUE(es->message_arguments[2]);
    
    result = (gchar *)gtk_text_buffer_get_text(arg1,(struct _GtkTextIter const *)arg2,(struct _GtkTextIter const *)arg3,arg4);
    SWIG_APPEND_VALUE (syx_string_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_buffer_get_slice */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_buffer_get_slice)
  {
    GtkTextBuffer *arg1 = (GtkTextBuffer *) 0 ;
    GtkTextIter *arg2 = (GtkTextIter *) 0 ;
    GtkTextIter *arg3 = (GtkTextIter *) 0 ;
    gboolean arg4 ;
    gchar *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextBuffer *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkTextIter *, es->message_arguments[0])
    SWIG_FIRST_SELF(arg3, GtkTextIter *, es->message_arguments[1])
    
    if (!SYX_IS_BOOLEAN(es->message_arguments[2]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg4 = SYX_IS_TRUE(es->message_arguments[2]);
    
    result = (gchar *)gtk_text_buffer_get_slice(arg1,(struct _GtkTextIter const *)arg2,(struct _GtkTextIter const *)arg3,arg4);
    SWIG_APPEND_VALUE (syx_string_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_buffer_insert_pixbuf */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_buffer_insert_pixbuf)
  {
    GtkTextBuffer *arg1 = (GtkTextBuffer *) 0 ;
    GtkTextIter *arg2 = (GtkTextIter *) 0 ;
    GdkPixbuf *arg3 = (GdkPixbuf *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextBuffer *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkTextIter *, es->message_arguments[0])
    SWIG_FIRST_SELF(arg3, GdkPixbuf *, es->message_arguments[1])
    gtk_text_buffer_insert_pixbuf(arg1,arg2,arg3);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_buffer_insert_child_anchor */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_buffer_insert_child_anchor)
  {
    GtkTextBuffer *arg1 = (GtkTextBuffer *) 0 ;
    GtkTextIter *arg2 = (GtkTextIter *) 0 ;
    GtkTextChildAnchor *arg3 = (GtkTextChildAnchor *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextBuffer *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkTextIter *, es->message_arguments[0])
    SWIG_FIRST_SELF(arg3, GtkTextChildAnchor *, es->message_arguments[1])
    gtk_text_buffer_insert_child_anchor(arg1,arg2,arg3);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_buffer_create_child_anchor */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_buffer_create_child_anchor)
  {
    GtkTextBuffer *arg1 = (GtkTextBuffer *) 0 ;
    GtkTextIter *arg2 = (GtkTextIter *) 0 ;
    GtkTextChildAnchor *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextBuffer *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkTextIter *, es->message_arguments[0])
    result = (GtkTextChildAnchor *)gtk_text_buffer_create_child_anchor(arg1,arg2);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_buffer_add_mark */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_buffer_add_mark)
  {
    GtkTextBuffer *arg1 = (GtkTextBuffer *) 0 ;
    GtkTextMark *arg2 = (GtkTextMark *) 0 ;
    GtkTextIter *arg3 = (GtkTextIter *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextBuffer *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkTextMark *, es->message_arguments[0])
    SWIG_FIRST_SELF(arg3, GtkTextIter *, es->message_arguments[1])
    gtk_text_buffer_add_mark(arg1,arg2,(struct _GtkTextIter const *)arg3);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_buffer_create_mark */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_buffer_create_mark)
  {
    GtkTextBuffer *arg1 = (GtkTextBuffer *) 0 ;
    gchar *arg2 = (gchar *) 0 ;
    GtkTextIter *arg3 = (GtkTextIter *) 0 ;
    gboolean arg4 ;
    GtkTextMark *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextBuffer *, es->message_receiver)
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    SWIG_FIRST_SELF(arg3, GtkTextIter *, es->message_arguments[1])
    
    if (!SYX_IS_BOOLEAN(es->message_arguments[2]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg4 = SYX_IS_TRUE(es->message_arguments[2]);
    
    result = (GtkTextMark *)gtk_text_buffer_create_mark(arg1,(char const *)arg2,(struct _GtkTextIter const *)arg3,arg4);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_buffer_move_mark */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_buffer_move_mark)
  {
    GtkTextBuffer *arg1 = (GtkTextBuffer *) 0 ;
    GtkTextMark *arg2 = (GtkTextMark *) 0 ;
    GtkTextIter *arg3 = (GtkTextIter *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextBuffer *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkTextMark *, es->message_arguments[0])
    SWIG_FIRST_SELF(arg3, GtkTextIter *, es->message_arguments[1])
    gtk_text_buffer_move_mark(arg1,arg2,(struct _GtkTextIter const *)arg3);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_buffer_delete_mark */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_buffer_delete_mark)
  {
    GtkTextBuffer *arg1 = (GtkTextBuffer *) 0 ;
    GtkTextMark *arg2 = (GtkTextMark *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextBuffer *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkTextMark *, es->message_arguments[0])
    gtk_text_buffer_delete_mark(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_buffer_get_mark */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_buffer_get_mark)
  {
    GtkTextBuffer *arg1 = (GtkTextBuffer *) 0 ;
    gchar *arg2 = (gchar *) 0 ;
    GtkTextMark *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextBuffer *, es->message_receiver)
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    result = (GtkTextMark *)gtk_text_buffer_get_mark(arg1,(char const *)arg2);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_buffer_move_mark_by_name */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_buffer_move_mark_by_name)
  {
    GtkTextBuffer *arg1 = (GtkTextBuffer *) 0 ;
    gchar *arg2 = (gchar *) 0 ;
    GtkTextIter *arg3 = (GtkTextIter *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextBuffer *, es->message_receiver)
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    SWIG_FIRST_SELF(arg3, GtkTextIter *, es->message_arguments[1])
    gtk_text_buffer_move_mark_by_name(arg1,(char const *)arg2,(struct _GtkTextIter const *)arg3);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_buffer_delete_mark_by_name */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_buffer_delete_mark_by_name)
  {
    GtkTextBuffer *arg1 = (GtkTextBuffer *) 0 ;
    gchar *arg2 = (gchar *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextBuffer *, es->message_receiver)
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    gtk_text_buffer_delete_mark_by_name(arg1,(char const *)arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_buffer_get_insert */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_buffer_get_insert)
  {
    GtkTextBuffer *arg1 = (GtkTextBuffer *) 0 ;
    GtkTextMark *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextBuffer *, es->message_receiver)
    result = (GtkTextMark *)gtk_text_buffer_get_insert(arg1);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_buffer_get_selection_bound */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_buffer_get_selection_bound)
  {
    GtkTextBuffer *arg1 = (GtkTextBuffer *) 0 ;
    GtkTextMark *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextBuffer *, es->message_receiver)
    result = (GtkTextMark *)gtk_text_buffer_get_selection_bound(arg1);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_buffer_place_cursor */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_buffer_place_cursor)
  {
    GtkTextBuffer *arg1 = (GtkTextBuffer *) 0 ;
    GtkTextIter *arg2 = (GtkTextIter *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextBuffer *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkTextIter *, es->message_arguments[0])
    gtk_text_buffer_place_cursor(arg1,(struct _GtkTextIter const *)arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_buffer_select_range */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_buffer_select_range)
  {
    GtkTextBuffer *arg1 = (GtkTextBuffer *) 0 ;
    GtkTextIter *arg2 = (GtkTextIter *) 0 ;
    GtkTextIter *arg3 = (GtkTextIter *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextBuffer *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkTextIter *, es->message_arguments[0])
    SWIG_FIRST_SELF(arg3, GtkTextIter *, es->message_arguments[1])
    gtk_text_buffer_select_range(arg1,(struct _GtkTextIter const *)arg2,(struct _GtkTextIter const *)arg3);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_buffer_apply_tag */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_buffer_apply_tag)
  {
    GtkTextBuffer *arg1 = (GtkTextBuffer *) 0 ;
    GtkTextTag *arg2 = (GtkTextTag *) 0 ;
    GtkTextIter *arg3 = (GtkTextIter *) 0 ;
    GtkTextIter *arg4 = (GtkTextIter *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextBuffer *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkTextTag *, es->message_arguments[0])
    SWIG_FIRST_SELF(arg3, GtkTextIter *, es->message_arguments[1])
    SWIG_FIRST_SELF(arg4, GtkTextIter *, es->message_arguments[2])
    gtk_text_buffer_apply_tag(arg1,arg2,(struct _GtkTextIter const *)arg3,(struct _GtkTextIter const *)arg4);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_buffer_remove_tag */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_buffer_remove_tag)
  {
    GtkTextBuffer *arg1 = (GtkTextBuffer *) 0 ;
    GtkTextTag *arg2 = (GtkTextTag *) 0 ;
    GtkTextIter *arg3 = (GtkTextIter *) 0 ;
    GtkTextIter *arg4 = (GtkTextIter *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextBuffer *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkTextTag *, es->message_arguments[0])
    SWIG_FIRST_SELF(arg3, GtkTextIter *, es->message_arguments[1])
    SWIG_FIRST_SELF(arg4, GtkTextIter *, es->message_arguments[2])
    gtk_text_buffer_remove_tag(arg1,arg2,(struct _GtkTextIter const *)arg3,(struct _GtkTextIter const *)arg4);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_buffer_apply_tag_by_name */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_buffer_apply_tag_by_name)
  {
    GtkTextBuffer *arg1 = (GtkTextBuffer *) 0 ;
    gchar *arg2 = (gchar *) 0 ;
    GtkTextIter *arg3 = (GtkTextIter *) 0 ;
    GtkTextIter *arg4 = (GtkTextIter *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextBuffer *, es->message_receiver)
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    SWIG_FIRST_SELF(arg3, GtkTextIter *, es->message_arguments[1])
    SWIG_FIRST_SELF(arg4, GtkTextIter *, es->message_arguments[2])
    gtk_text_buffer_apply_tag_by_name(arg1,(char const *)arg2,(struct _GtkTextIter const *)arg3,(struct _GtkTextIter const *)arg4);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_buffer_remove_tag_by_name */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_buffer_remove_tag_by_name)
  {
    GtkTextBuffer *arg1 = (GtkTextBuffer *) 0 ;
    gchar *arg2 = (gchar *) 0 ;
    GtkTextIter *arg3 = (GtkTextIter *) 0 ;
    GtkTextIter *arg4 = (GtkTextIter *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextBuffer *, es->message_receiver)
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    SWIG_FIRST_SELF(arg3, GtkTextIter *, es->message_arguments[1])
    SWIG_FIRST_SELF(arg4, GtkTextIter *, es->message_arguments[2])
    gtk_text_buffer_remove_tag_by_name(arg1,(char const *)arg2,(struct _GtkTextIter const *)arg3,(struct _GtkTextIter const *)arg4);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_buffer_remove_all_tags */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_buffer_remove_all_tags)
  {
    GtkTextBuffer *arg1 = (GtkTextBuffer *) 0 ;
    GtkTextIter *arg2 = (GtkTextIter *) 0 ;
    GtkTextIter *arg3 = (GtkTextIter *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextBuffer *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkTextIter *, es->message_arguments[0])
    SWIG_FIRST_SELF(arg3, GtkTextIter *, es->message_arguments[1])
    gtk_text_buffer_remove_all_tags(arg1,(struct _GtkTextIter const *)arg2,(struct _GtkTextIter const *)arg3);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_buffer_create_tag */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_buffer_create_tag)
  {
    GtkTextBuffer *arg1 = (GtkTextBuffer *) 0 ;
    gchar *arg2 = (gchar *) 0 ;
    gchar *arg3 = (gchar *) 0 ;
    void *arg4 = 0 ;
    GtkTextTag *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextBuffer *, es->message_receiver)
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg3 = SYX_OBJECT_STRING(es->message_arguments[1]);
    
    result = (GtkTextTag *)gtk_text_buffer_create_tag(arg1,(char const *)arg2,(char const *)arg3,arg4);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_buffer_get_iter_at_line_offset */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_buffer_get_iter_at_line_offset)
  {
    GtkTextBuffer *arg1 = (GtkTextBuffer *) 0 ;
    GtkTextIter *arg2 = (GtkTextIter *) 0 ;
    gint arg3 ;
    gint arg4 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextBuffer *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkTextIter *, es->message_arguments[0])
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg3 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[2]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg4 = SYX_SMALL_INTEGER(es->message_arguments[2]);
    
    gtk_text_buffer_get_iter_at_line_offset(arg1,arg2,arg3,arg4);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_buffer_get_iter_at_line_index */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_buffer_get_iter_at_line_index)
  {
    GtkTextBuffer *arg1 = (GtkTextBuffer *) 0 ;
    GtkTextIter *arg2 = (GtkTextIter *) 0 ;
    gint arg3 ;
    gint arg4 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextBuffer *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkTextIter *, es->message_arguments[0])
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg3 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[2]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg4 = SYX_SMALL_INTEGER(es->message_arguments[2]);
    
    gtk_text_buffer_get_iter_at_line_index(arg1,arg2,arg3,arg4);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_buffer_get_iter_at_offset */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_buffer_get_iter_at_offset)
  {
    GtkTextBuffer *arg1 = (GtkTextBuffer *) 0 ;
    GtkTextIter *arg2 = (GtkTextIter *) 0 ;
    gint arg3 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextBuffer *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkTextIter *, es->message_arguments[0])
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg3 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    gtk_text_buffer_get_iter_at_offset(arg1,arg2,arg3);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_buffer_get_iter_at_line */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_buffer_get_iter_at_line)
  {
    GtkTextBuffer *arg1 = (GtkTextBuffer *) 0 ;
    GtkTextIter *arg2 = (GtkTextIter *) 0 ;
    gint arg3 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextBuffer *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkTextIter *, es->message_arguments[0])
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg3 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    gtk_text_buffer_get_iter_at_line(arg1,arg2,arg3);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_buffer_get_start_iter */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_buffer_get_start_iter)
  {
    GtkTextBuffer *arg1 = (GtkTextBuffer *) 0 ;
    GtkTextIter *arg2 = (GtkTextIter *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextBuffer *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkTextIter *, es->message_arguments[0])
    gtk_text_buffer_get_start_iter(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_buffer_get_end_iter */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_buffer_get_end_iter)
  {
    GtkTextBuffer *arg1 = (GtkTextBuffer *) 0 ;
    GtkTextIter *arg2 = (GtkTextIter *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextBuffer *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkTextIter *, es->message_arguments[0])
    gtk_text_buffer_get_end_iter(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_buffer_get_bounds */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_buffer_get_bounds)
  {
    GtkTextBuffer *arg1 = (GtkTextBuffer *) 0 ;
    GtkTextIter *arg2 = (GtkTextIter *) 0 ;
    GtkTextIter *arg3 = (GtkTextIter *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextBuffer *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkTextIter *, es->message_arguments[0])
    SWIG_FIRST_SELF(arg3, GtkTextIter *, es->message_arguments[1])
    gtk_text_buffer_get_bounds(arg1,arg2,arg3);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_buffer_get_iter_at_mark */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_buffer_get_iter_at_mark)
  {
    GtkTextBuffer *arg1 = (GtkTextBuffer *) 0 ;
    GtkTextIter *arg2 = (GtkTextIter *) 0 ;
    GtkTextMark *arg3 = (GtkTextMark *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextBuffer *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkTextIter *, es->message_arguments[0])
    SWIG_FIRST_SELF(arg3, GtkTextMark *, es->message_arguments[1])
    gtk_text_buffer_get_iter_at_mark(arg1,arg2,arg3);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_buffer_get_iter_at_child_anchor */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_buffer_get_iter_at_child_anchor)
  {
    GtkTextBuffer *arg1 = (GtkTextBuffer *) 0 ;
    GtkTextIter *arg2 = (GtkTextIter *) 0 ;
    GtkTextChildAnchor *arg3 = (GtkTextChildAnchor *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextBuffer *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkTextIter *, es->message_arguments[0])
    SWIG_FIRST_SELF(arg3, GtkTextChildAnchor *, es->message_arguments[1])
    gtk_text_buffer_get_iter_at_child_anchor(arg1,arg2,arg3);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_buffer_get_modified */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_buffer_get_modified)
  {
    GtkTextBuffer *arg1 = (GtkTextBuffer *) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextBuffer *, es->message_receiver)
    result = gtk_text_buffer_get_modified(arg1);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_buffer_set_modified */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_buffer_set_modified)
  {
    GtkTextBuffer *arg1 = (GtkTextBuffer *) 0 ;
    gboolean arg2 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextBuffer *, es->message_receiver)
    
    if (!SYX_IS_BOOLEAN(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_IS_TRUE(es->message_arguments[0]);
    
    gtk_text_buffer_set_modified(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_buffer_get_has_selection */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_buffer_get_has_selection)
  {
    GtkTextBuffer *arg1 = (GtkTextBuffer *) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextBuffer *, es->message_receiver)
    result = gtk_text_buffer_get_has_selection(arg1);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_buffer_add_selection_clipboard */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_buffer_add_selection_clipboard)
  {
    GtkTextBuffer *arg1 = (GtkTextBuffer *) 0 ;
    GtkClipboard *arg2 = (GtkClipboard *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextBuffer *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkClipboard *, es->message_arguments[0])
    gtk_text_buffer_add_selection_clipboard(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_buffer_remove_selection_clipboard */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_buffer_remove_selection_clipboard)
  {
    GtkTextBuffer *arg1 = (GtkTextBuffer *) 0 ;
    GtkClipboard *arg2 = (GtkClipboard *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextBuffer *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkClipboard *, es->message_arguments[0])
    gtk_text_buffer_remove_selection_clipboard(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_buffer_cut_clipboard */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_buffer_cut_clipboard)
  {
    GtkTextBuffer *arg1 = (GtkTextBuffer *) 0 ;
    GtkClipboard *arg2 = (GtkClipboard *) 0 ;
    gboolean arg3 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextBuffer *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkClipboard *, es->message_arguments[0])
    
    if (!SYX_IS_BOOLEAN(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg3 = SYX_IS_TRUE(es->message_arguments[1]);
    
    gtk_text_buffer_cut_clipboard(arg1,arg2,arg3);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_buffer_copy_clipboard */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_buffer_copy_clipboard)
  {
    GtkTextBuffer *arg1 = (GtkTextBuffer *) 0 ;
    GtkClipboard *arg2 = (GtkClipboard *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextBuffer *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkClipboard *, es->message_arguments[0])
    gtk_text_buffer_copy_clipboard(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_buffer_paste_clipboard */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_buffer_paste_clipboard)
  {
    GtkTextBuffer *arg1 = (GtkTextBuffer *) 0 ;
    GtkClipboard *arg2 = (GtkClipboard *) 0 ;
    GtkTextIter *arg3 = (GtkTextIter *) 0 ;
    gboolean arg4 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextBuffer *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkClipboard *, es->message_arguments[0])
    SWIG_FIRST_SELF(arg3, GtkTextIter *, es->message_arguments[1])
    
    if (!SYX_IS_BOOLEAN(es->message_arguments[2]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg4 = SYX_IS_TRUE(es->message_arguments[2]);
    
    gtk_text_buffer_paste_clipboard(arg1,arg2,arg3,arg4);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_buffer_get_selection_bounds */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_buffer_get_selection_bounds)
  {
    GtkTextBuffer *arg1 = (GtkTextBuffer *) 0 ;
    GtkTextIter *arg2 = (GtkTextIter *) 0 ;
    GtkTextIter *arg3 = (GtkTextIter *) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextBuffer *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkTextIter *, es->message_arguments[0])
    SWIG_FIRST_SELF(arg3, GtkTextIter *, es->message_arguments[1])
    result = gtk_text_buffer_get_selection_bounds(arg1,arg2,arg3);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_buffer_delete_selection */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_buffer_delete_selection)
  {
    GtkTextBuffer *arg1 = (GtkTextBuffer *) 0 ;
    gboolean arg2 ;
    gboolean arg3 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextBuffer *, es->message_receiver)
    
    if (!SYX_IS_BOOLEAN(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_IS_TRUE(es->message_arguments[0]);
    
    
    if (!SYX_IS_BOOLEAN(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg3 = SYX_IS_TRUE(es->message_arguments[1]);
    
    result = gtk_text_buffer_delete_selection(arg1,arg2,arg3);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_buffer_begin_user_action */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_buffer_begin_user_action)
  {
    GtkTextBuffer *arg1 = (GtkTextBuffer *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextBuffer *, es->message_receiver)
    gtk_text_buffer_begin_user_action(arg1);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_buffer_end_user_action */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_buffer_end_user_action)
  {
    GtkTextBuffer *arg1 = (GtkTextBuffer *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextBuffer *, es->message_receiver)
    gtk_text_buffer_end_user_action(arg1);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_buffer_get_copy_target_list */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_buffer_get_copy_target_list)
  {
    GtkTextBuffer *arg1 = (GtkTextBuffer *) 0 ;
    GtkTargetList *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextBuffer *, es->message_receiver)
    result = (GtkTargetList *)gtk_text_buffer_get_copy_target_list(arg1);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_buffer_get_paste_target_list */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_buffer_get_paste_target_list)
  {
    GtkTextBuffer *arg1 = (GtkTextBuffer *) 0 ;
    GtkTargetList *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextBuffer *, es->message_receiver)
    result = (GtkTargetList *)gtk_text_buffer_get_paste_target_list(arg1);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: new__GtkTextTag */
  SYX_FUNC_PRIMITIVE(Gtk_new__GtkTextTag)
  {
    struct _GtkTextTag *result = 0 ;
    SyxOop result_oop;
    
    result = (struct _GtkTextTag *)(struct _GtkTextTag *) calloc(1, sizeof(struct _GtkTextTag));
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: delete__GtkTextTag */
  SYX_FUNC_PRIMITIVE(Gtk_delete__GtkTextTag)
  {
    struct _GtkTextTag *arg1 = (struct _GtkTextTag *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, struct _GtkTextTag *, es->message_receiver)
    free((char *) arg1);
    
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: new__GtkTextTagClass */
  SYX_FUNC_PRIMITIVE(Gtk_new__GtkTextTagClass)
  {
    struct _GtkTextTagClass *result = 0 ;
    SyxOop result_oop;
    
    result = (struct _GtkTextTagClass *)(struct _GtkTextTagClass *) calloc(1, sizeof(struct _GtkTextTagClass));
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: delete__GtkTextTagClass */
  SYX_FUNC_PRIMITIVE(Gtk_delete__GtkTextTagClass)
  {
    struct _GtkTextTagClass *arg1 = (struct _GtkTextTagClass *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, struct _GtkTextTagClass *, es->message_receiver)
    free((char *) arg1);
    
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_tag_get_type */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_tag_get_type)
  {
    GType result;
    SyxOop result_oop;
    
    result = (GType)gtk_text_tag_get_type();
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_tag_new */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_tag_new)
  {
    gchar *arg1 = (gchar *) 0 ;
    GtkTextTag *result = 0 ;
    SyxOop result_oop;
    
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    result = (GtkTextTag *)gtk_text_tag_new((char const *)arg1);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_tag_get_priority */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_tag_get_priority)
  {
    GtkTextTag *arg1 = (GtkTextTag *) 0 ;
    gint result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextTag *, es->message_receiver)
    result = (gint)gtk_text_tag_get_priority(arg1);
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_tag_set_priority */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_tag_set_priority)
  {
    GtkTextTag *arg1 = (GtkTextTag *) 0 ;
    gint arg2 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextTag *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    gtk_text_tag_set_priority(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_tag_event */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_tag_event)
  {
    GtkTextTag *arg1 = (GtkTextTag *) 0 ;
    GObject *arg2 = (GObject *) 0 ;
    GdkEvent *arg3 = (GdkEvent *) 0 ;
    GtkTextIter *arg4 = (GtkTextIter *) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextTag *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GObject *, es->message_arguments[0])
    SWIG_FIRST_SELF(arg3, GdkEvent *, es->message_arguments[1])
    SWIG_FIRST_SELF(arg4, GtkTextIter *, es->message_arguments[2])
    result = gtk_text_tag_event(arg1,arg2,arg3,(struct _GtkTextIter const *)arg4);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: new__GtkTextAppearance */
  SYX_FUNC_PRIMITIVE(Gtk_new__GtkTextAppearance)
  {
    struct _GtkTextAppearance *result = 0 ;
    SyxOop result_oop;
    
    result = (struct _GtkTextAppearance *)(struct _GtkTextAppearance *) calloc(1, sizeof(struct _GtkTextAppearance));
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: delete__GtkTextAppearance */
  SYX_FUNC_PRIMITIVE(Gtk_delete__GtkTextAppearance)
  {
    struct _GtkTextAppearance *arg1 = (struct _GtkTextAppearance *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, struct _GtkTextAppearance *, es->message_receiver)
    free((char *) arg1);
    
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: new__GtkTextAttributes */
  SYX_FUNC_PRIMITIVE(Gtk_new__GtkTextAttributes)
  {
    struct _GtkTextAttributes *result = 0 ;
    SyxOop result_oop;
    
    result = (struct _GtkTextAttributes *)(struct _GtkTextAttributes *) calloc(1, sizeof(struct _GtkTextAttributes));
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: delete__GtkTextAttributes */
  SYX_FUNC_PRIMITIVE(Gtk_delete__GtkTextAttributes)
  {
    struct _GtkTextAttributes *arg1 = (struct _GtkTextAttributes *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, struct _GtkTextAttributes *, es->message_receiver)
    free((char *) arg1);
    
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_attributes_new */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_attributes_new)
  {
    GtkTextAttributes *result = 0 ;
    SyxOop result_oop;
    
    result = (GtkTextAttributes *)gtk_text_attributes_new();
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_attributes_copy */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_attributes_copy)
  {
    GtkTextAttributes *arg1 = (GtkTextAttributes *) 0 ;
    GtkTextAttributes *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextAttributes *, es->message_receiver)
    result = (GtkTextAttributes *)gtk_text_attributes_copy(arg1);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_attributes_copy_values */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_attributes_copy_values)
  {
    GtkTextAttributes *arg1 = (GtkTextAttributes *) 0 ;
    GtkTextAttributes *arg2 = (GtkTextAttributes *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextAttributes *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkTextAttributes *, es->message_arguments[0])
    gtk_text_attributes_copy_values(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_attributes_unref */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_attributes_unref)
  {
    GtkTextAttributes *arg1 = (GtkTextAttributes *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextAttributes *, es->message_receiver)
    gtk_text_attributes_unref(arg1);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_attributes_ref */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_attributes_ref)
  {
    GtkTextAttributes *arg1 = (GtkTextAttributes *) 0 ;
    GtkTextAttributes *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextAttributes *, es->message_receiver)
    result = (GtkTextAttributes *)gtk_text_attributes_ref(arg1);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_attributes_get_type */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_attributes_get_type)
  {
    GType result;
    SyxOop result_oop;
    
    result = (GType)gtk_text_attributes_get_type();
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: new__GtkTextMark */
  SYX_FUNC_PRIMITIVE(Gtk_new__GtkTextMark)
  {
    struct _GtkTextMark *result = 0 ;
    SyxOop result_oop;
    
    result = (struct _GtkTextMark *)(struct _GtkTextMark *) calloc(1, sizeof(struct _GtkTextMark));
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: delete__GtkTextMark */
  SYX_FUNC_PRIMITIVE(Gtk_delete__GtkTextMark)
  {
    struct _GtkTextMark *arg1 = (struct _GtkTextMark *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, struct _GtkTextMark *, es->message_receiver)
    free((char *) arg1);
    
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: new__GtkTextMarkClass */
  SYX_FUNC_PRIMITIVE(Gtk_new__GtkTextMarkClass)
  {
    struct _GtkTextMarkClass *result = 0 ;
    SyxOop result_oop;
    
    result = (struct _GtkTextMarkClass *)(struct _GtkTextMarkClass *) calloc(1, sizeof(struct _GtkTextMarkClass));
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: delete__GtkTextMarkClass */
  SYX_FUNC_PRIMITIVE(Gtk_delete__GtkTextMarkClass)
  {
    struct _GtkTextMarkClass *arg1 = (struct _GtkTextMarkClass *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, struct _GtkTextMarkClass *, es->message_receiver)
    free((char *) arg1);
    
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_mark_get_type */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_mark_get_type)
  {
    GType result;
    SyxOop result_oop;
    
    result = (GType)gtk_text_mark_get_type();
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_mark_set_visible */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_mark_set_visible)
  {
    GtkTextMark *arg1 = (GtkTextMark *) 0 ;
    gboolean arg2 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextMark *, es->message_receiver)
    
    if (!SYX_IS_BOOLEAN(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_IS_TRUE(es->message_arguments[0]);
    
    gtk_text_mark_set_visible(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_mark_get_visible */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_mark_get_visible)
  {
    GtkTextMark *arg1 = (GtkTextMark *) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextMark *, es->message_receiver)
    result = gtk_text_mark_get_visible(arg1);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_mark_new */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_mark_new)
  {
    gchar *arg1 = (gchar *) 0 ;
    gboolean arg2 ;
    GtkTextMark *result = 0 ;
    SyxOop result_oop;
    
    
    if (!SYX_OBJECT_IS_STRING(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg1 = SYX_OBJECT_STRING(es->message_arguments[0]);
    
    
    if (!SYX_IS_BOOLEAN(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_IS_TRUE(es->message_arguments[1]);
    
    result = (GtkTextMark *)gtk_text_mark_new((char const *)arg1,arg2);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_mark_get_name */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_mark_get_name)
  {
    GtkTextMark *arg1 = (GtkTextMark *) 0 ;
    gchar *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextMark *, es->message_receiver)
    result = (gchar *)gtk_text_mark_get_name(arg1);
    SWIG_APPEND_VALUE (syx_string_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_mark_get_deleted */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_mark_get_deleted)
  {
    GtkTextMark *arg1 = (GtkTextMark *) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextMark *, es->message_receiver)
    result = gtk_text_mark_get_deleted(arg1);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_mark_get_buffer */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_mark_get_buffer)
  {
    GtkTextMark *arg1 = (GtkTextMark *) 0 ;
    GtkTextBuffer *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextMark *, es->message_receiver)
    result = (GtkTextBuffer *)gtk_text_mark_get_buffer(arg1);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_mark_get_left_gravity */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_mark_get_left_gravity)
  {
    GtkTextMark *arg1 = (GtkTextMark *) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextMark *, es->message_receiver)
    result = gtk_text_mark_get_left_gravity(arg1);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: new__GtkTextView */
  SYX_FUNC_PRIMITIVE(Gtk_new__GtkTextView)
  {
    struct _GtkTextView *result = 0 ;
    SyxOop result_oop;
    
    result = (struct _GtkTextView *)(struct _GtkTextView *) calloc(1, sizeof(struct _GtkTextView));
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: delete__GtkTextView */
  SYX_FUNC_PRIMITIVE(Gtk_delete__GtkTextView)
  {
    struct _GtkTextView *arg1 = (struct _GtkTextView *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, struct _GtkTextView *, es->message_receiver)
    free((char *) arg1);
    
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: new__GtkTextViewClass */
  SYX_FUNC_PRIMITIVE(Gtk_new__GtkTextViewClass)
  {
    struct _GtkTextViewClass *result = 0 ;
    SyxOop result_oop;
    
    result = (struct _GtkTextViewClass *)(struct _GtkTextViewClass *) calloc(1, sizeof(struct _GtkTextViewClass));
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: delete__GtkTextViewClass */
  SYX_FUNC_PRIMITIVE(Gtk_delete__GtkTextViewClass)
  {
    struct _GtkTextViewClass *arg1 = (struct _GtkTextViewClass *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, struct _GtkTextViewClass *, es->message_receiver)
    free((char *) arg1);
    
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_view_get_type */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_view_get_type)
  {
    GType result;
    SyxOop result_oop;
    
    result = (GType)gtk_text_view_get_type();
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_view_new */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_view_new)
  {
    GtkWidget *result = 0 ;
    SyxOop result_oop;
    
    result = (GtkWidget *)gtk_text_view_new();
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_view_new_with_buffer */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_view_new_with_buffer)
  {
    GtkTextBuffer *arg1 = (GtkTextBuffer *) 0 ;
    GtkWidget *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextBuffer *, es->message_arguments[0])
    result = (GtkWidget *)gtk_text_view_new_with_buffer(arg1);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_view_set_buffer */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_view_set_buffer)
  {
    GtkTextView *arg1 = (GtkTextView *) 0 ;
    GtkTextBuffer *arg2 = (GtkTextBuffer *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextView *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkTextBuffer *, es->message_arguments[0])
    gtk_text_view_set_buffer(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_view_get_buffer */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_view_get_buffer)
  {
    GtkTextView *arg1 = (GtkTextView *) 0 ;
    GtkTextBuffer *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextView *, es->message_receiver)
    result = (GtkTextBuffer *)gtk_text_view_get_buffer(arg1);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_view_scroll_to_iter */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_view_scroll_to_iter)
  {
    GtkTextView *arg1 = (GtkTextView *) 0 ;
    GtkTextIter *arg2 = (GtkTextIter *) 0 ;
    gdouble arg3 ;
    gboolean arg4 ;
    gdouble arg5 ;
    gdouble arg6 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextView *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkTextIter *, es->message_arguments[0])
    
    if (!SYX_OBJECT_IS_FLOAT(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg3 = SYX_OBJECT_FLOAT(es->message_arguments[1]);
    
    
    if (!SYX_IS_BOOLEAN(es->message_arguments[2]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg4 = SYX_IS_TRUE(es->message_arguments[2]);
    
    
    if (!SYX_OBJECT_IS_FLOAT(es->message_arguments[3]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg5 = SYX_OBJECT_FLOAT(es->message_arguments[3]);
    
    
    if (!SYX_OBJECT_IS_FLOAT(es->message_arguments[4]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg6 = SYX_OBJECT_FLOAT(es->message_arguments[4]);
    
    result = gtk_text_view_scroll_to_iter(arg1,arg2,arg3,arg4,arg5,arg6);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_view_scroll_to_mark */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_view_scroll_to_mark)
  {
    GtkTextView *arg1 = (GtkTextView *) 0 ;
    GtkTextMark *arg2 = (GtkTextMark *) 0 ;
    gdouble arg3 ;
    gboolean arg4 ;
    gdouble arg5 ;
    gdouble arg6 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextView *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkTextMark *, es->message_arguments[0])
    
    if (!SYX_OBJECT_IS_FLOAT(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg3 = SYX_OBJECT_FLOAT(es->message_arguments[1]);
    
    
    if (!SYX_IS_BOOLEAN(es->message_arguments[2]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg4 = SYX_IS_TRUE(es->message_arguments[2]);
    
    
    if (!SYX_OBJECT_IS_FLOAT(es->message_arguments[3]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg5 = SYX_OBJECT_FLOAT(es->message_arguments[3]);
    
    
    if (!SYX_OBJECT_IS_FLOAT(es->message_arguments[4]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg6 = SYX_OBJECT_FLOAT(es->message_arguments[4]);
    
    gtk_text_view_scroll_to_mark(arg1,arg2,arg3,arg4,arg5,arg6);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_view_scroll_mark_onscreen */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_view_scroll_mark_onscreen)
  {
    GtkTextView *arg1 = (GtkTextView *) 0 ;
    GtkTextMark *arg2 = (GtkTextMark *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextView *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkTextMark *, es->message_arguments[0])
    gtk_text_view_scroll_mark_onscreen(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_view_move_mark_onscreen */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_view_move_mark_onscreen)
  {
    GtkTextView *arg1 = (GtkTextView *) 0 ;
    GtkTextMark *arg2 = (GtkTextMark *) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextView *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkTextMark *, es->message_arguments[0])
    result = gtk_text_view_move_mark_onscreen(arg1,arg2);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_view_place_cursor_onscreen */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_view_place_cursor_onscreen)
  {
    GtkTextView *arg1 = (GtkTextView *) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextView *, es->message_receiver)
    result = gtk_text_view_place_cursor_onscreen(arg1);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_view_get_visible_rect */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_view_get_visible_rect)
  {
    GtkTextView *arg1 = (GtkTextView *) 0 ;
    GdkRectangle *arg2 = (GdkRectangle *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextView *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GdkRectangle *, es->message_arguments[0])
    gtk_text_view_get_visible_rect(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_view_set_cursor_visible */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_view_set_cursor_visible)
  {
    GtkTextView *arg1 = (GtkTextView *) 0 ;
    gboolean arg2 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextView *, es->message_receiver)
    
    if (!SYX_IS_BOOLEAN(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_IS_TRUE(es->message_arguments[0]);
    
    gtk_text_view_set_cursor_visible(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_view_get_cursor_visible */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_view_get_cursor_visible)
  {
    GtkTextView *arg1 = (GtkTextView *) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextView *, es->message_receiver)
    result = gtk_text_view_get_cursor_visible(arg1);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_view_get_iter_location */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_view_get_iter_location)
  {
    GtkTextView *arg1 = (GtkTextView *) 0 ;
    GtkTextIter *arg2 = (GtkTextIter *) 0 ;
    GdkRectangle *arg3 = (GdkRectangle *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextView *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkTextIter *, es->message_arguments[0])
    SWIG_FIRST_SELF(arg3, GdkRectangle *, es->message_arguments[1])
    gtk_text_view_get_iter_location(arg1,(struct _GtkTextIter const *)arg2,arg3);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_view_get_iter_at_location */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_view_get_iter_at_location)
  {
    GtkTextView *arg1 = (GtkTextView *) 0 ;
    GtkTextIter *arg2 = (GtkTextIter *) 0 ;
    gint arg3 ;
    gint arg4 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextView *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkTextIter *, es->message_arguments[0])
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg3 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[2]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg4 = SYX_SMALL_INTEGER(es->message_arguments[2]);
    
    gtk_text_view_get_iter_at_location(arg1,arg2,arg3,arg4);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_view_get_iter_at_position */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_view_get_iter_at_position)
  {
    GtkTextView *arg1 = (GtkTextView *) 0 ;
    GtkTextIter *arg2 = (GtkTextIter *) 0 ;
    gint *arg3 = (gint *) 0 ;
    gint arg4 ;
    gint arg5 ;
    int temp3 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextView *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkTextIter *, es->message_arguments[0])
    
    temp3 = (int) SYX_SMALL_INTEGER(es->message_arguments[1]);
    arg3 = &temp3;
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[2]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg4 = SYX_SMALL_INTEGER(es->message_arguments[2]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[3]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg5 = SYX_SMALL_INTEGER(es->message_arguments[3]);
    
  #undef SWIG_APPEND_VALUE
  #define SWIG_APPEND_VALUE _SWIG_APPEND_RESULT
    int num_values = 0;
    result_oop = syx_array_new_size (2);
    gtk_text_view_get_iter_at_position(arg1,arg2,arg3,arg4,arg5);
    SWIG_APPEND_VALUE (es->message_receiver);
    SWIG_APPEND_VALUE (syx_small_integer_new(*arg3));
    SYX_PRIM_RETURN (result_oop);
  #undef SWIG_APPEND_VALUE
  #define SWIG_APPEND_VALUE _SWIG_SET_RESULT
  }
  
  
  /* Module: Gtk Function: gtk_text_view_get_line_yrange */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_view_get_line_yrange)
  {
    GtkTextView *arg1 = (GtkTextView *) 0 ;
    GtkTextIter *arg2 = (GtkTextIter *) 0 ;
    gint *arg3 = (gint *) 0 ;
    gint *arg4 = (gint *) 0 ;
    int temp3 ;
    int temp4 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextView *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkTextIter *, es->message_arguments[0])
    
    temp3 = (int) SYX_SMALL_INTEGER(es->message_arguments[1]);
    arg3 = &temp3;
    
    
    temp4 = (int) SYX_SMALL_INTEGER(es->message_arguments[2]);
    arg4 = &temp4;
    
  #undef SWIG_APPEND_VALUE
  #define SWIG_APPEND_VALUE _SWIG_APPEND_RESULT
    int num_values = 0;
    result_oop = syx_array_new_size (3);
    gtk_text_view_get_line_yrange(arg1,(struct _GtkTextIter const *)arg2,arg3,arg4);
    SWIG_APPEND_VALUE (es->message_receiver);
    SWIG_APPEND_VALUE (syx_small_integer_new(*arg3));
    SWIG_APPEND_VALUE (syx_small_integer_new(*arg4));
    SYX_PRIM_RETURN (result_oop);
  #undef SWIG_APPEND_VALUE
  #define SWIG_APPEND_VALUE _SWIG_SET_RESULT
  }
  
  
  /* Module: Gtk Function: gtk_text_view_get_line_at_y */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_view_get_line_at_y)
  {
    GtkTextView *arg1 = (GtkTextView *) 0 ;
    GtkTextIter *arg2 = (GtkTextIter *) 0 ;
    gint arg3 ;
    gint *arg4 = (gint *) 0 ;
    int temp4 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextView *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkTextIter *, es->message_arguments[0])
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg3 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    
    temp4 = (int) SYX_SMALL_INTEGER(es->message_arguments[2]);
    arg4 = &temp4;
    
  #undef SWIG_APPEND_VALUE
  #define SWIG_APPEND_VALUE _SWIG_APPEND_RESULT
    int num_values = 0;
    result_oop = syx_array_new_size (2);
    gtk_text_view_get_line_at_y(arg1,arg2,arg3,arg4);
    SWIG_APPEND_VALUE (es->message_receiver);
    SWIG_APPEND_VALUE (syx_small_integer_new(*arg4));
    SYX_PRIM_RETURN (result_oop);
  #undef SWIG_APPEND_VALUE
  #define SWIG_APPEND_VALUE _SWIG_SET_RESULT
  }
  
  
  /* Module: Gtk Function: gtk_text_view_buffer_to_window_coords */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_view_buffer_to_window_coords)
  {
    GtkTextView *arg1 = (GtkTextView *) 0 ;
    GtkTextWindowType arg2 ;
    gint arg3 ;
    gint arg4 ;
    gint *arg5 = (gint *) 0 ;
    gint *arg6 = (gint *) 0 ;
    int temp5 ;
    int temp6 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextView *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg3 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[2]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg4 = SYX_SMALL_INTEGER(es->message_arguments[2]);
    
    
    temp5 = (int) SYX_SMALL_INTEGER(es->message_arguments[3]);
    arg5 = &temp5;
    
    
    temp6 = (int) SYX_SMALL_INTEGER(es->message_arguments[4]);
    arg6 = &temp6;
    
  #undef SWIG_APPEND_VALUE
  #define SWIG_APPEND_VALUE _SWIG_APPEND_RESULT
    int num_values = 0;
    result_oop = syx_array_new_size (3);
    gtk_text_view_buffer_to_window_coords(arg1,arg2,arg3,arg4,arg5,arg6);
    SWIG_APPEND_VALUE (es->message_receiver);
    SWIG_APPEND_VALUE (syx_small_integer_new(*arg5));
    SWIG_APPEND_VALUE (syx_small_integer_new(*arg6));
    SYX_PRIM_RETURN (result_oop);
  #undef SWIG_APPEND_VALUE
  #define SWIG_APPEND_VALUE _SWIG_SET_RESULT
  }
  
  
  /* Module: Gtk Function: gtk_text_view_window_to_buffer_coords */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_view_window_to_buffer_coords)
  {
    GtkTextView *arg1 = (GtkTextView *) 0 ;
    GtkTextWindowType arg2 ;
    gint arg3 ;
    gint arg4 ;
    gint *arg5 = (gint *) 0 ;
    gint *arg6 = (gint *) 0 ;
    int temp5 ;
    int temp6 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextView *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg3 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[2]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg4 = SYX_SMALL_INTEGER(es->message_arguments[2]);
    
    
    temp5 = (int) SYX_SMALL_INTEGER(es->message_arguments[3]);
    arg5 = &temp5;
    
    
    temp6 = (int) SYX_SMALL_INTEGER(es->message_arguments[4]);
    arg6 = &temp6;
    
  #undef SWIG_APPEND_VALUE
  #define SWIG_APPEND_VALUE _SWIG_APPEND_RESULT
    int num_values = 0;
    result_oop = syx_array_new_size (3);
    gtk_text_view_window_to_buffer_coords(arg1,arg2,arg3,arg4,arg5,arg6);
    SWIG_APPEND_VALUE (es->message_receiver);
    SWIG_APPEND_VALUE (syx_small_integer_new(*arg5));
    SWIG_APPEND_VALUE (syx_small_integer_new(*arg6));
    SYX_PRIM_RETURN (result_oop);
  #undef SWIG_APPEND_VALUE
  #define SWIG_APPEND_VALUE _SWIG_SET_RESULT
  }
  
  
  /* Module: Gtk Function: gtk_text_view_get_window */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_view_get_window)
  {
    GtkTextView *arg1 = (GtkTextView *) 0 ;
    GtkTextWindowType arg2 ;
    GdkWindow *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextView *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    result = (GdkWindow *)gtk_text_view_get_window(arg1,arg2);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_view_get_window_type */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_view_get_window_type)
  {
    GtkTextView *arg1 = (GtkTextView *) 0 ;
    GdkWindow *arg2 = (GdkWindow *) 0 ;
    GtkTextWindowType result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextView *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GdkWindow *, es->message_arguments[0])
    result = (GtkTextWindowType)gtk_text_view_get_window_type(arg1,arg2);
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_view_set_border_window_size */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_view_set_border_window_size)
  {
    GtkTextView *arg1 = (GtkTextView *) 0 ;
    GtkTextWindowType arg2 ;
    gint arg3 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextView *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg3 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    gtk_text_view_set_border_window_size(arg1,arg2,arg3);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_view_get_border_window_size */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_view_get_border_window_size)
  {
    GtkTextView *arg1 = (GtkTextView *) 0 ;
    GtkTextWindowType arg2 ;
    gint result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextView *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    result = (gint)gtk_text_view_get_border_window_size(arg1,arg2);
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_view_forward_display_line */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_view_forward_display_line)
  {
    GtkTextView *arg1 = (GtkTextView *) 0 ;
    GtkTextIter *arg2 = (GtkTextIter *) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextView *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkTextIter *, es->message_arguments[0])
    result = gtk_text_view_forward_display_line(arg1,arg2);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_view_backward_display_line */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_view_backward_display_line)
  {
    GtkTextView *arg1 = (GtkTextView *) 0 ;
    GtkTextIter *arg2 = (GtkTextIter *) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextView *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkTextIter *, es->message_arguments[0])
    result = gtk_text_view_backward_display_line(arg1,arg2);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_view_forward_display_line_end */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_view_forward_display_line_end)
  {
    GtkTextView *arg1 = (GtkTextView *) 0 ;
    GtkTextIter *arg2 = (GtkTextIter *) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextView *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkTextIter *, es->message_arguments[0])
    result = gtk_text_view_forward_display_line_end(arg1,arg2);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_view_backward_display_line_start */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_view_backward_display_line_start)
  {
    GtkTextView *arg1 = (GtkTextView *) 0 ;
    GtkTextIter *arg2 = (GtkTextIter *) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextView *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkTextIter *, es->message_arguments[0])
    result = gtk_text_view_backward_display_line_start(arg1,arg2);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_view_starts_display_line */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_view_starts_display_line)
  {
    GtkTextView *arg1 = (GtkTextView *) 0 ;
    GtkTextIter *arg2 = (GtkTextIter *) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextView *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkTextIter *, es->message_arguments[0])
    result = gtk_text_view_starts_display_line(arg1,(struct _GtkTextIter const *)arg2);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_view_move_visually */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_view_move_visually)
  {
    GtkTextView *arg1 = (GtkTextView *) 0 ;
    GtkTextIter *arg2 = (GtkTextIter *) 0 ;
    gint arg3 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextView *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkTextIter *, es->message_arguments[0])
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg3 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    result = gtk_text_view_move_visually(arg1,arg2,arg3);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_view_add_child_at_anchor */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_view_add_child_at_anchor)
  {
    GtkTextView *arg1 = (GtkTextView *) 0 ;
    GtkWidget *arg2 = (GtkWidget *) 0 ;
    GtkTextChildAnchor *arg3 = (GtkTextChildAnchor *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextView *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkWidget *, es->message_arguments[0])
    SWIG_FIRST_SELF(arg3, GtkTextChildAnchor *, es->message_arguments[1])
    gtk_text_view_add_child_at_anchor(arg1,arg2,arg3);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_view_add_child_in_window */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_view_add_child_in_window)
  {
    GtkTextView *arg1 = (GtkTextView *) 0 ;
    GtkWidget *arg2 = (GtkWidget *) 0 ;
    GtkTextWindowType arg3 ;
    gint arg4 ;
    gint arg5 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextView *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkWidget *, es->message_arguments[0])
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg3 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[2]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg4 = SYX_SMALL_INTEGER(es->message_arguments[2]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[3]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg5 = SYX_SMALL_INTEGER(es->message_arguments[3]);
    
    gtk_text_view_add_child_in_window(arg1,arg2,arg3,arg4,arg5);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_view_move_child */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_view_move_child)
  {
    GtkTextView *arg1 = (GtkTextView *) 0 ;
    GtkWidget *arg2 = (GtkWidget *) 0 ;
    gint arg3 ;
    gint arg4 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextView *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, GtkWidget *, es->message_arguments[0])
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[1]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg3 = SYX_SMALL_INTEGER(es->message_arguments[1]);
    
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[2]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg4 = SYX_SMALL_INTEGER(es->message_arguments[2]);
    
    gtk_text_view_move_child(arg1,arg2,arg3,arg4);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_view_set_wrap_mode */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_view_set_wrap_mode)
  {
    GtkTextView *arg1 = (GtkTextView *) 0 ;
    GtkWrapMode arg2 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextView *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    gtk_text_view_set_wrap_mode(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_view_get_wrap_mode */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_view_get_wrap_mode)
  {
    GtkTextView *arg1 = (GtkTextView *) 0 ;
    GtkWrapMode result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextView *, es->message_receiver)
    result = (GtkWrapMode)gtk_text_view_get_wrap_mode(arg1);
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_view_set_editable */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_view_set_editable)
  {
    GtkTextView *arg1 = (GtkTextView *) 0 ;
    gboolean arg2 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextView *, es->message_receiver)
    
    if (!SYX_IS_BOOLEAN(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_IS_TRUE(es->message_arguments[0]);
    
    gtk_text_view_set_editable(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_view_get_editable */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_view_get_editable)
  {
    GtkTextView *arg1 = (GtkTextView *) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextView *, es->message_receiver)
    result = gtk_text_view_get_editable(arg1);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_view_set_overwrite */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_view_set_overwrite)
  {
    GtkTextView *arg1 = (GtkTextView *) 0 ;
    gboolean arg2 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextView *, es->message_receiver)
    
    if (!SYX_IS_BOOLEAN(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_IS_TRUE(es->message_arguments[0]);
    
    gtk_text_view_set_overwrite(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_view_get_overwrite */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_view_get_overwrite)
  {
    GtkTextView *arg1 = (GtkTextView *) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextView *, es->message_receiver)
    result = gtk_text_view_get_overwrite(arg1);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_view_set_accepts_tab */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_view_set_accepts_tab)
  {
    GtkTextView *arg1 = (GtkTextView *) 0 ;
    gboolean arg2 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextView *, es->message_receiver)
    
    if (!SYX_IS_BOOLEAN(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_IS_TRUE(es->message_arguments[0]);
    
    gtk_text_view_set_accepts_tab(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_view_get_accepts_tab */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_view_get_accepts_tab)
  {
    GtkTextView *arg1 = (GtkTextView *) 0 ;
    gboolean result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextView *, es->message_receiver)
    result = gtk_text_view_get_accepts_tab(arg1);
    SWIG_APPEND_VALUE (syx_boolean_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_view_set_pixels_above_lines */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_view_set_pixels_above_lines)
  {
    GtkTextView *arg1 = (GtkTextView *) 0 ;
    gint arg2 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextView *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    gtk_text_view_set_pixels_above_lines(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_view_get_pixels_above_lines */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_view_get_pixels_above_lines)
  {
    GtkTextView *arg1 = (GtkTextView *) 0 ;
    gint result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextView *, es->message_receiver)
    result = (gint)gtk_text_view_get_pixels_above_lines(arg1);
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_view_set_pixels_below_lines */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_view_set_pixels_below_lines)
  {
    GtkTextView *arg1 = (GtkTextView *) 0 ;
    gint arg2 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextView *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    gtk_text_view_set_pixels_below_lines(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_view_get_pixels_below_lines */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_view_get_pixels_below_lines)
  {
    GtkTextView *arg1 = (GtkTextView *) 0 ;
    gint result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextView *, es->message_receiver)
    result = (gint)gtk_text_view_get_pixels_below_lines(arg1);
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_view_set_pixels_inside_wrap */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_view_set_pixels_inside_wrap)
  {
    GtkTextView *arg1 = (GtkTextView *) 0 ;
    gint arg2 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextView *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    gtk_text_view_set_pixels_inside_wrap(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_view_get_pixels_inside_wrap */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_view_get_pixels_inside_wrap)
  {
    GtkTextView *arg1 = (GtkTextView *) 0 ;
    gint result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextView *, es->message_receiver)
    result = (gint)gtk_text_view_get_pixels_inside_wrap(arg1);
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_view_set_justification */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_view_set_justification)
  {
    GtkTextView *arg1 = (GtkTextView *) 0 ;
    GtkJustification arg2 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextView *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    gtk_text_view_set_justification(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_view_get_justification */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_view_get_justification)
  {
    GtkTextView *arg1 = (GtkTextView *) 0 ;
    GtkJustification result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextView *, es->message_receiver)
    result = (GtkJustification)gtk_text_view_get_justification(arg1);
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_view_set_left_margin */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_view_set_left_margin)
  {
    GtkTextView *arg1 = (GtkTextView *) 0 ;
    gint arg2 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextView *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    gtk_text_view_set_left_margin(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_view_get_left_margin */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_view_get_left_margin)
  {
    GtkTextView *arg1 = (GtkTextView *) 0 ;
    gint result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextView *, es->message_receiver)
    result = (gint)gtk_text_view_get_left_margin(arg1);
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_view_set_right_margin */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_view_set_right_margin)
  {
    GtkTextView *arg1 = (GtkTextView *) 0 ;
    gint arg2 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextView *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    gtk_text_view_set_right_margin(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_view_get_right_margin */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_view_get_right_margin)
  {
    GtkTextView *arg1 = (GtkTextView *) 0 ;
    gint result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextView *, es->message_receiver)
    result = (gint)gtk_text_view_get_right_margin(arg1);
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_view_set_indent */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_view_set_indent)
  {
    GtkTextView *arg1 = (GtkTextView *) 0 ;
    gint arg2 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextView *, es->message_receiver)
    
    if (!SYX_IS_SMALL_INTEGER(es->message_arguments[0]))
    {
      SYX_PRIM_FAIL;
    }	   
    arg2 = SYX_SMALL_INTEGER(es->message_arguments[0]);
    
    gtk_text_view_set_indent(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_view_get_indent */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_view_get_indent)
  {
    GtkTextView *arg1 = (GtkTextView *) 0 ;
    gint result;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextView *, es->message_receiver)
    result = (gint)gtk_text_view_get_indent(arg1);
    SWIG_APPEND_VALUE (syx_small_integer_new(result));
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_view_set_tabs */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_view_set_tabs)
  {
    GtkTextView *arg1 = (GtkTextView *) 0 ;
    PangoTabArray *arg2 = (PangoTabArray *) 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextView *, es->message_receiver)
    SWIG_FIRST_SELF(arg2, PangoTabArray *, es->message_arguments[0])
    gtk_text_view_set_tabs(arg1,arg2);
    SWIG_APPEND_VALUE (es->message_receiver);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_view_get_tabs */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_view_get_tabs)
  {
    GtkTextView *arg1 = (GtkTextView *) 0 ;
    PangoTabArray *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextView *, es->message_receiver)
    result = (PangoTabArray *)gtk_text_view_get_tabs(arg1);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  /* Module: Gtk Function: gtk_text_view_get_default_attributes */
  SYX_FUNC_PRIMITIVE(Gtk_gtk_text_view_get_default_attributes)
  {
    GtkTextView *arg1 = (GtkTextView *) 0 ;
    GtkTextAttributes *result = 0 ;
    SyxOop result_oop;
    
    SWIG_FIRST_SELF(arg1, GtkTextView *, es->message_receiver)
    result = (GtkTextAttributes *)gtk_text_view_get_default_attributes(arg1);
    SWIG_APPEND_VALUE ((SyxOop) result);
    SYX_PRIM_RETURN (result_oop);
  }
  
  
  
  