Logo Search packages:      
Sourcecode: rgtk version File versions  Download package

gdkAccessors.c

#include "gtkUtils.h"
#include "gdkFuncs.h"
#include "gdkEnum.h"


#include "RGtk.h"

USER_OBJECT_
S_GdkVisualGetType (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkVisual * obj;
   GdkVisualType val;

   obj = ( GdkVisual * ) getPtrValue( s_obj ) ;
   val = obj->type;
   _result =  S_check_GdkVisualType_value (asRInt( val ));

   return(_result);
} 
USER_OBJECT_
S_GdkVisualGetDepth (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkVisual * obj;
   int val;

   obj = ( GdkVisual * ) getPtrValue( s_obj ) ;
   val = obj->depth;
  _result = asRInt ( val );

   return(_result);
} 
USER_OBJECT_
S_GdkVisualGetByteOrder (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkVisual * obj;
   GdkByteOrder val;

   obj = ( GdkVisual * ) getPtrValue( s_obj ) ;
   val = obj->byte_order;
   _result =  S_check_GdkByteOrder_value (asRInt( val ));

   return(_result);
} 
USER_OBJECT_
S_GdkVisualGetColormapSize (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkVisual * obj;
   int val;

   obj = ( GdkVisual * ) getPtrValue( s_obj ) ;
   val = obj->colormap_size;
  _result = asRInt ( val );

   return(_result);
} 
USER_OBJECT_
S_GdkVisualGetBitsPerRgb (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkVisual * obj;
   int val;

   obj = ( GdkVisual * ) getPtrValue( s_obj ) ;
   val = obj->bits_per_rgb;
  _result = asRInt ( val );

   return(_result);
} 
USER_OBJECT_
S_GdkVisualGetRedMask (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkVisual * obj;
   unsigned int val;

   obj = ( GdkVisual * ) getPtrValue( s_obj ) ;
   val = obj->red_mask;
  _result = asRInt ( val );

   return(_result);
} 
USER_OBJECT_
S_GdkVisualGetRedShift (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkVisual * obj;
   int val;

   obj = ( GdkVisual * ) getPtrValue( s_obj ) ;
   val = obj->red_shift;
  _result = asRInt ( val );

   return(_result);
} 
USER_OBJECT_
S_GdkVisualGetRedPrec (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkVisual * obj;
   int val;

   obj = ( GdkVisual * ) getPtrValue( s_obj ) ;
   val = obj->red_prec;
  _result = asRInt ( val );

   return(_result);
} 
USER_OBJECT_
S_GdkVisualGetGreenMask (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkVisual * obj;
   unsigned int val;

   obj = ( GdkVisual * ) getPtrValue( s_obj ) ;
   val = obj->green_mask;
  _result = asRInt ( val );

   return(_result);
} 
USER_OBJECT_
S_GdkVisualGetGreenShift (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkVisual * obj;
   int val;

   obj = ( GdkVisual * ) getPtrValue( s_obj ) ;
   val = obj->green_shift;
  _result = asRInt ( val );

   return(_result);
} 
USER_OBJECT_
S_GdkVisualGetGreenPrec (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkVisual * obj;
   int val;

   obj = ( GdkVisual * ) getPtrValue( s_obj ) ;
   val = obj->green_prec;
  _result = asRInt ( val );

   return(_result);
} 
USER_OBJECT_
S_GdkVisualGetBlueMask (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkVisual * obj;
   unsigned int val;

   obj = ( GdkVisual * ) getPtrValue( s_obj ) ;
   val = obj->blue_mask;
  _result = asRInt ( val );

   return(_result);
} 
USER_OBJECT_
S_GdkVisualGetBlueShift (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkVisual * obj;
   int val;

   obj = ( GdkVisual * ) getPtrValue( s_obj ) ;
   val = obj->blue_shift;
  _result = asRInt ( val );

   return(_result);
} 
USER_OBJECT_
S_GdkVisualGetBluePrec (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkVisual * obj;
   int val;

   obj = ( GdkVisual * ) getPtrValue( s_obj ) ;
   val = obj->blue_prec;
  _result = asRInt ( val );

   return(_result);
} 
USER_OBJECT_
S_GdkEventMotionGetWindow (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkEventMotion * obj;
   GdkWindow * val;

   obj = ( GdkEventMotion * ) getPtrValue( s_obj ) ;
   val = obj->window;
   _result = toRPointer(val, "GdkWindow");

   return(_result);
} 
USER_OBJECT_
S_GdkEventMotionGetSendEvent (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkEventMotion * obj;
   Rboolean val;

   obj = ( GdkEventMotion * ) getPtrValue( s_obj ) ;
   val = obj->send_event;
  _result = asRLogical ( val );

   return(_result);
} 
USER_OBJECT_
S_GdkEventMotionGetTime (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkEventMotion * obj;
   time_t val;

   obj = ( GdkEventMotion * ) getPtrValue( s_obj ) ;
   val = obj->time;
  _result = asRNumeric ( val );

   return(_result);
} 
USER_OBJECT_
S_GdkEventMotionGetX (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkEventMotion * obj;
   double val;

   obj = ( GdkEventMotion * ) getPtrValue( s_obj ) ;
   val = obj->x;
  _result = asRNumeric ( val );

   return(_result);
} 
USER_OBJECT_
S_GdkEventMotionGetY (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkEventMotion * obj;
   double val;

   obj = ( GdkEventMotion * ) getPtrValue( s_obj ) ;
   val = obj->y;
  _result = asRNumeric ( val );

   return(_result);
} 
USER_OBJECT_
S_GdkEventMotionGetPressure (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkEventMotion * obj;
   double val;

   obj = ( GdkEventMotion * ) getPtrValue( s_obj ) ;
   val = obj->pressure;
  _result = asRNumeric ( val );

   return(_result);
} 
USER_OBJECT_
S_GdkEventMotionGetXtilt (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkEventMotion * obj;
   double val;

   obj = ( GdkEventMotion * ) getPtrValue( s_obj ) ;
   val = obj->xtilt;
  _result = asRNumeric ( val );

   return(_result);
} 
USER_OBJECT_
S_GdkEventMotionGetYtilt (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkEventMotion * obj;
   double val;

   obj = ( GdkEventMotion * ) getPtrValue( s_obj ) ;
   val = obj->ytilt;
  _result = asRNumeric ( val );

   return(_result);
} 
USER_OBJECT_
S_GdkEventMotionGetState (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkEventMotion * obj;
   unsigned int val;

   obj = ( GdkEventMotion * ) getPtrValue( s_obj ) ;
   val = obj->state;
  _result = asRInt ( val );

   return(_result);
} 
USER_OBJECT_
S_GdkEventMotionGetIsHint (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkEventMotion * obj;
   int val;

   obj = ( GdkEventMotion * ) getPtrValue( s_obj ) ;
   val = obj->is_hint;
  _result = asRInt ( val );

   return(_result);
} 
USER_OBJECT_
S_GdkEventMotionGetSource (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkEventMotion * obj;
   GdkInputSource val;

   obj = ( GdkEventMotion * ) getPtrValue( s_obj ) ;
   val = obj->source;
   _result =  S_check_GdkInputSource_value (asRInt( val ));

   return(_result);
} 
USER_OBJECT_
S_GdkEventMotionGetDeviceid (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkEventMotion * obj;
   unsigned int val;

   obj = ( GdkEventMotion * ) getPtrValue( s_obj ) ;
   val = obj->deviceid;
  _result = asRInt ( val );

   return(_result);
} 
USER_OBJECT_
S_GdkEventMotionGetXRoot (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkEventMotion * obj;
   double val;

   obj = ( GdkEventMotion * ) getPtrValue( s_obj ) ;
   val = obj->x_root;
  _result = asRNumeric ( val );

   return(_result);
} 
USER_OBJECT_
S_GdkEventMotionGetYRoot (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkEventMotion * obj;
   double val;

   obj = ( GdkEventMotion * ) getPtrValue( s_obj ) ;
   val = obj->y_root;
  _result = asRNumeric ( val );

   return(_result);
} 
USER_OBJECT_
S_GdkEventSelectionGetWindow (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkEventSelection * obj;
   GdkWindow * val;

   obj = ( GdkEventSelection * ) getPtrValue( s_obj ) ;
   val = obj->window;
   _result = toRPointer(val, "GdkWindow");

   return(_result);
} 
USER_OBJECT_
S_GdkEventSelectionGetSendEvent (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkEventSelection * obj;
   Rboolean val;

   obj = ( GdkEventSelection * ) getPtrValue( s_obj ) ;
   val = obj->send_event;
  _result = asRLogical ( val );

   return(_result);
} 
USER_OBJECT_
S_GdkEventSelectionGetSelection (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkEventSelection * obj;
   gulong val;

   obj = ( GdkEventSelection * ) getPtrValue( s_obj ) ;
   val = obj->selection;
  _result = asRNumeric ( val );

   return(_result);
} 
USER_OBJECT_
S_GdkEventSelectionGetTarget (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkEventSelection * obj;
   gulong val;

   obj = ( GdkEventSelection * ) getPtrValue( s_obj ) ;
   val = obj->target;
  _result = asRNumeric ( val );

   return(_result);
} 
USER_OBJECT_
S_GdkEventSelectionGetProperty (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkEventSelection * obj;
   gulong val;

   obj = ( GdkEventSelection * ) getPtrValue( s_obj ) ;
   val = obj->property;
  _result = asRNumeric ( val );

   return(_result);
} 
USER_OBJECT_
S_GdkEventSelectionGetRequestor (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkEventSelection * obj;
   unsigned int val;

   obj = ( GdkEventSelection * ) getPtrValue( s_obj ) ;
   val = obj->requestor;
  _result = asRInt ( val );

   return(_result);
} 
USER_OBJECT_
S_GdkEventSelectionGetTime (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkEventSelection * obj;
   time_t val;

   obj = ( GdkEventSelection * ) getPtrValue( s_obj ) ;
   val = obj->time;
  _result = asRNumeric ( val );

   return(_result);
} 
USER_OBJECT_
S_GdkEventConfigureGetWindow (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkEventConfigure * obj;
   GdkWindow * val;

   obj = ( GdkEventConfigure * ) getPtrValue( s_obj ) ;
   val = obj->window;
   _result = toRPointer(val, "GdkWindow");

   return(_result);
} 
USER_OBJECT_
S_GdkEventConfigureGetSendEvent (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkEventConfigure * obj;
   Rboolean val;

   obj = ( GdkEventConfigure * ) getPtrValue( s_obj ) ;
   val = obj->send_event;
  _result = asRLogical ( val );

   return(_result);
} 
USER_OBJECT_
S_GdkEventConfigureGetX (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkEventConfigure * obj;
   int val;

   obj = ( GdkEventConfigure * ) getPtrValue( s_obj ) ;
   val = obj->x;
  _result = asRInt ( val );

   return(_result);
} 
USER_OBJECT_
S_GdkEventConfigureGetY (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkEventConfigure * obj;
   int val;

   obj = ( GdkEventConfigure * ) getPtrValue( s_obj ) ;
   val = obj->y;
  _result = asRInt ( val );

   return(_result);
} 
USER_OBJECT_
S_GdkEventConfigureGetWidth (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkEventConfigure * obj;
   int val;

   obj = ( GdkEventConfigure * ) getPtrValue( s_obj ) ;
   val = obj->width;
  _result = asRInt ( val );

   return(_result);
} 
USER_OBJECT_
S_GdkEventConfigureGetHeight (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkEventConfigure * obj;
   int val;

   obj = ( GdkEventConfigure * ) getPtrValue( s_obj ) ;
   val = obj->height;
  _result = asRInt ( val );

   return(_result);
} 
USER_OBJECT_
S_GdkEventCrossingGetWindow (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkEventCrossing * obj;
   GdkWindow * val;

   obj = ( GdkEventCrossing * ) getPtrValue( s_obj ) ;
   val = obj->window;
   _result = toRPointer(val, "GdkWindow");

   return(_result);
} 
USER_OBJECT_
S_GdkEventCrossingGetSendEvent (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkEventCrossing * obj;
   Rboolean val;

   obj = ( GdkEventCrossing * ) getPtrValue( s_obj ) ;
   val = obj->send_event;
  _result = asRLogical ( val );

   return(_result);
} 
USER_OBJECT_
S_GdkEventCrossingGetSubwindow (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkEventCrossing * obj;
   GdkWindow * val;

   obj = ( GdkEventCrossing * ) getPtrValue( s_obj ) ;
   val = obj->subwindow;
   _result = toRPointer(val, "GdkWindow");

   return(_result);
} 
USER_OBJECT_
S_GdkEventCrossingGetTime (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkEventCrossing * obj;
   time_t val;

   obj = ( GdkEventCrossing * ) getPtrValue( s_obj ) ;
   val = obj->time;
  _result = asRNumeric ( val );

   return(_result);
} 
USER_OBJECT_
S_GdkEventCrossingGetX (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkEventCrossing * obj;
   double val;

   obj = ( GdkEventCrossing * ) getPtrValue( s_obj ) ;
   val = obj->x;
  _result = asRNumeric ( val );

   return(_result);
} 
USER_OBJECT_
S_GdkEventCrossingGetY (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkEventCrossing * obj;
   double val;

   obj = ( GdkEventCrossing * ) getPtrValue( s_obj ) ;
   val = obj->y;
  _result = asRNumeric ( val );

   return(_result);
} 
USER_OBJECT_
S_GdkEventCrossingGetXRoot (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkEventCrossing * obj;
   double val;

   obj = ( GdkEventCrossing * ) getPtrValue( s_obj ) ;
   val = obj->x_root;
  _result = asRNumeric ( val );

   return(_result);
} 
USER_OBJECT_
S_GdkEventCrossingGetYRoot (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkEventCrossing * obj;
   double val;

   obj = ( GdkEventCrossing * ) getPtrValue( s_obj ) ;
   val = obj->y_root;
  _result = asRNumeric ( val );

   return(_result);
} 
USER_OBJECT_
S_GdkEventCrossingGetMode (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkEventCrossing * obj;
   GdkCrossingMode val;

   obj = ( GdkEventCrossing * ) getPtrValue( s_obj ) ;
   val = obj->mode;
   _result =  S_check_GdkCrossingMode_value (asRInt( val ));

   return(_result);
} 
USER_OBJECT_
S_GdkEventCrossingGetDetail (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkEventCrossing * obj;
   GdkNotifyType val;

   obj = ( GdkEventCrossing * ) getPtrValue( s_obj ) ;
   val = obj->detail;
   _result =  S_check_GdkNotifyType_value (asRInt( val ));

   return(_result);
} 
USER_OBJECT_
S_GdkEventCrossingGetFocus (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkEventCrossing * obj;
   Rboolean val;

   obj = ( GdkEventCrossing * ) getPtrValue( s_obj ) ;
   val = obj->focus;
  _result = asRLogical ( val );

   return(_result);
} 
USER_OBJECT_
S_GdkEventCrossingGetState (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkEventCrossing * obj;
   unsigned int val;

   obj = ( GdkEventCrossing * ) getPtrValue( s_obj ) ;
   val = obj->state;
  _result = asRInt ( val );

   return(_result);
} 
USER_OBJECT_
S_GdkEventExposeGetWindow (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkEventExpose * obj;
   GdkWindow * val;

   obj = ( GdkEventExpose * ) getPtrValue( s_obj ) ;
   val = obj->window;
   _result = toRPointer(val, "GdkWindow");

   return(_result);
} 
USER_OBJECT_
S_GdkEventExposeGetSendEvent (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkEventExpose * obj;
   Rboolean val;

   obj = ( GdkEventExpose * ) getPtrValue( s_obj ) ;
   val = obj->send_event;
  _result = asRLogical ( val );

   return(_result);
} 
USER_OBJECT_
S_GdkEventExposeGetCount (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkEventExpose * obj;
   int val;

   obj = ( GdkEventExpose * ) getPtrValue( s_obj ) ;
   val = obj->count;
  _result = asRInt ( val );

   return(_result);
} 
USER_OBJECT_
S_GdkRectangleGetX (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkRectangle * obj;
   int val;

   obj = ( GdkRectangle * ) getPtrValue( s_obj ) ;
   val = obj->x;
  _result = asRInt ( val );

   return(_result);
} 
USER_OBJECT_
S_GdkRectangleGetY (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkRectangle * obj;
   int val;

   obj = ( GdkRectangle * ) getPtrValue( s_obj ) ;
   val = obj->y;
  _result = asRInt ( val );

   return(_result);
} 
USER_OBJECT_
S_GdkRectangleGetWidth (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkRectangle * obj;
   unsigned int val;

   obj = ( GdkRectangle * ) getPtrValue( s_obj ) ;
   val = obj->width;
  _result = asRInt ( val );

   return(_result);
} 
USER_OBJECT_
S_GdkRectangleGetHeight (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkRectangle * obj;
   unsigned int val;

   obj = ( GdkRectangle * ) getPtrValue( s_obj ) ;
   val = obj->height;
  _result = asRInt ( val );

   return(_result);
} 
USER_OBJECT_
S_GdkEventFocusGetWindow (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkEventFocus * obj;
   GdkWindow * val;

   obj = ( GdkEventFocus * ) getPtrValue( s_obj ) ;
   val = obj->window;
   _result = toRPointer(val, "GdkWindow");

   return(_result);
} 
USER_OBJECT_
S_GdkEventFocusGetSendEvent (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkEventFocus * obj;
   Rboolean val;

   obj = ( GdkEventFocus * ) getPtrValue( s_obj ) ;
   val = obj->send_event;
  _result = asRLogical ( val );

   return(_result);
} 
USER_OBJECT_
S_GdkEventFocusGetIn (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkEventFocus * obj;
   int val;

   obj = ( GdkEventFocus * ) getPtrValue( s_obj ) ;
   val = obj->in;
  _result = asRInt ( val );

   return(_result);
} 
USER_OBJECT_
S_GdkEventKeyGetWindow (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkEventKey * obj;
   GdkWindow * val;

   obj = ( GdkEventKey * ) getPtrValue( s_obj ) ;
   val = obj->window;
   _result = toRPointer(val, "GdkWindow");

   return(_result);
} 
USER_OBJECT_
S_GdkEventKeyGetSendEvent (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkEventKey * obj;
   Rboolean val;

   obj = ( GdkEventKey * ) getPtrValue( s_obj ) ;
   val = obj->send_event;
  _result = asRLogical ( val );

   return(_result);
} 
USER_OBJECT_
S_GdkEventKeyGetTime (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkEventKey * obj;
   time_t val;

   obj = ( GdkEventKey * ) getPtrValue( s_obj ) ;
   val = obj->time;
  _result = asRNumeric ( val );

   return(_result);
} 
USER_OBJECT_
S_GdkEventKeyGetState (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkEventKey * obj;
   unsigned int val;

   obj = ( GdkEventKey * ) getPtrValue( s_obj ) ;
   val = obj->state;
  _result = asRInt ( val );

   return(_result);
} 
USER_OBJECT_
S_GdkEventKeyGetKeyval (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkEventKey * obj;
   unsigned int val;

   obj = ( GdkEventKey * ) getPtrValue( s_obj ) ;
   val = obj->keyval;
  _result = asRInt ( val );

   return(_result);
} 
USER_OBJECT_
S_GdkEventKeyGetLength (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkEventKey * obj;
   int val;

   obj = ( GdkEventKey * ) getPtrValue( s_obj ) ;
   val = obj->length;
  _result = asRInt ( val );

   return(_result);
} 
USER_OBJECT_
S_GdkEventKeyGetString (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkEventKey * obj;
   string val;

   obj = ( GdkEventKey * ) getPtrValue( s_obj ) ;
   val = obj->string;
  _result = asRCharacter ( val );

   return(_result);
} 
USER_OBJECT_
S_GdkEventGetType (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkEvent * obj;
   GdkEventType val;

   obj = ( GdkEvent * ) getPtrValue( s_obj ) ;
   val = obj->type;
   _result =  S_check_GdkEventType_value (asRInt( val ));

   return(_result);
} 
USER_OBJECT_
S_GdkEventAnyGetWindow (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkEventAny * obj;
   GdkWindow * val;

   obj = ( GdkEventAny * ) getPtrValue( s_obj ) ;
   val = obj->window;
   _result = toRPointer(val, "GdkWindow");

   return(_result);
} 
USER_OBJECT_
S_GdkEventAnyGetSendEvent (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkEventAny * obj;
   Rboolean val;

   obj = ( GdkEventAny * ) getPtrValue( s_obj ) ;
   val = obj->send_event;
  _result = asRLogical ( val );

   return(_result);
} 
USER_OBJECT_
S_GdkWindowAttrGetTitle (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkWindowAttr * obj;
   string val;

   obj = ( GdkWindowAttr * ) getPtrValue( s_obj ) ;
   val = obj->title;
  _result = asRCharacter ( val );

   return(_result);
} 
USER_OBJECT_
S_GdkWindowAttrGetEventMask (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkWindowAttr * obj;
   int val;

   obj = ( GdkWindowAttr * ) getPtrValue( s_obj ) ;
   val = obj->event_mask;
  _result = asRInt ( val );

   return(_result);
} 
USER_OBJECT_
S_GdkWindowAttrGetX (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkWindowAttr * obj;
   int val;

   obj = ( GdkWindowAttr * ) getPtrValue( s_obj ) ;
   val = obj->x;
  _result = asRInt ( val );

   return(_result);
} 
USER_OBJECT_
S_GdkWindowAttrGetY (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkWindowAttr * obj;
   int val;

   obj = ( GdkWindowAttr * ) getPtrValue( s_obj ) ;
   val = obj->y;
  _result = asRInt ( val );

   return(_result);
} 
USER_OBJECT_
S_GdkWindowAttrGetWidth (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkWindowAttr * obj;
   int val;

   obj = ( GdkWindowAttr * ) getPtrValue( s_obj ) ;
   val = obj->width;
  _result = asRInt ( val );

   return(_result);
} 
USER_OBJECT_
S_GdkWindowAttrGetHeight (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkWindowAttr * obj;
   int val;

   obj = ( GdkWindowAttr * ) getPtrValue( s_obj ) ;
   val = obj->height;
  _result = asRInt ( val );

   return(_result);
} 
USER_OBJECT_
S_GdkWindowAttrGetWclass (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkWindowAttr * obj;
   GdkWindowClass val;

   obj = ( GdkWindowAttr * ) getPtrValue( s_obj ) ;
   val = obj->wclass;
   _result =  S_check_GdkWindowClass_value (asRInt( val ));

   return(_result);
} 
USER_OBJECT_
S_GdkWindowAttrGetVisual (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkWindowAttr * obj;
   GdkVisual * val;

   obj = ( GdkWindowAttr * ) getPtrValue( s_obj ) ;
   val = obj->visual;
   _result = toRPointer(val, "GdkVisual");

   return(_result);
} 
USER_OBJECT_
S_GdkWindowAttrGetColormap (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkWindowAttr * obj;
   GdkColormap * val;

   obj = ( GdkWindowAttr * ) getPtrValue( s_obj ) ;
   val = obj->colormap;
   _result = toRPointer(val, "GdkColormap");

   return(_result);
} 
USER_OBJECT_
S_GdkWindowAttrGetWindowType (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkWindowAttr * obj;
   GdkWindowType val;

   obj = ( GdkWindowAttr * ) getPtrValue( s_obj ) ;
   val = obj->window_type;
   _result =  S_check_GdkWindowType_value (asRInt( val ));

   return(_result);
} 
USER_OBJECT_
S_GdkWindowAttrGetCursor (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkWindowAttr * obj;
   GdkCursor * val;

   obj = ( GdkWindowAttr * ) getPtrValue( s_obj ) ;
   val = obj->cursor;
   _result = toRPointer(val, "GdkCursor");

   return(_result);
} 
USER_OBJECT_
S_GdkWindowAttrGetWmclassName (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkWindowAttr * obj;
   string val;

   obj = ( GdkWindowAttr * ) getPtrValue( s_obj ) ;
   val = obj->wmclass_name;
  _result = asRCharacter ( val );

   return(_result);
} 
USER_OBJECT_
S_GdkWindowAttrGetWmclassClass (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkWindowAttr * obj;
   string val;

   obj = ( GdkWindowAttr * ) getPtrValue( s_obj ) ;
   val = obj->wmclass_class;
  _result = asRCharacter ( val );

   return(_result);
} 
USER_OBJECT_
S_GdkWindowAttrGetOverrideRedirect (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkWindowAttr * obj;
   Rboolean val;

   obj = ( GdkWindowAttr * ) getPtrValue( s_obj ) ;
   val = obj->override_redirect;
  _result = asRLogical ( val );

   return(_result);
} 
USER_OBJECT_
S_GdkEventProximityGetWindow (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkEventProximity * obj;
   GdkWindow * val;

   obj = ( GdkEventProximity * ) getPtrValue( s_obj ) ;
   val = obj->window;
   _result = toRPointer(val, "GdkWindow");

   return(_result);
} 
USER_OBJECT_
S_GdkEventProximityGetSendEvent (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkEventProximity * obj;
   Rboolean val;

   obj = ( GdkEventProximity * ) getPtrValue( s_obj ) ;
   val = obj->send_event;
  _result = asRLogical ( val );

   return(_result);
} 
USER_OBJECT_
S_GdkEventProximityGetTime (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkEventProximity * obj;
   time_t val;

   obj = ( GdkEventProximity * ) getPtrValue( s_obj ) ;
   val = obj->time;
  _result = asRNumeric ( val );

   return(_result);
} 
USER_OBJECT_
S_GdkEventProximityGetSource (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkEventProximity * obj;
   GdkInputSource val;

   obj = ( GdkEventProximity * ) getPtrValue( s_obj ) ;
   val = obj->source;
   _result =  S_check_GdkInputSource_value (asRInt( val ));

   return(_result);
} 
USER_OBJECT_
S_GdkEventProximityGetDeviceid (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkEventProximity * obj;
   unsigned int val;

   obj = ( GdkEventProximity * ) getPtrValue( s_obj ) ;
   val = obj->deviceid;
  _result = asRInt ( val );

   return(_result);
} 
USER_OBJECT_
S_GdkEventVisibilityGetWindow (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkEventVisibility * obj;
   GdkWindow * val;

   obj = ( GdkEventVisibility * ) getPtrValue( s_obj ) ;
   val = obj->window;
   _result = toRPointer(val, "GdkWindow");

   return(_result);
} 
USER_OBJECT_
S_GdkEventVisibilityGetSendEvent (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkEventVisibility * obj;
   Rboolean val;

   obj = ( GdkEventVisibility * ) getPtrValue( s_obj ) ;
   val = obj->send_event;
  _result = asRLogical ( val );

   return(_result);
} 
USER_OBJECT_
S_GdkEventVisibilityGetState (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkEventVisibility * obj;
   GdkVisibilityState val;

   obj = ( GdkEventVisibility * ) getPtrValue( s_obj ) ;
   val = obj->state;
   _result =  S_check_GdkVisibilityState_value (asRInt( val ));

   return(_result);
} 
USER_OBJECT_
S_GdkPointGetX (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkPoint * obj;
   int val;

   obj = ( GdkPoint * ) getPtrValue( s_obj ) ;
   val = obj->x;
  _result = asRInt ( val );

   return(_result);
} 
USER_OBJECT_
S_GdkPointGetY (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkPoint * obj;
   int val;

   obj = ( GdkPoint * ) getPtrValue( s_obj ) ;
   val = obj->y;
  _result = asRInt ( val );

   return(_result);
} 
USER_OBJECT_
S_GdkFontGetType (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkFont * obj;
   GdkFontType val;

   obj = ( GdkFont * ) getPtrValue( s_obj ) ;
   val = obj->type;
   _result =  S_check_GdkFontType_value (asRInt( val ));

   return(_result);
} 
USER_OBJECT_
S_GdkFontGetAscent (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkFont * obj;
   int val;

   obj = ( GdkFont * ) getPtrValue( s_obj ) ;
   val = obj->ascent;
  _result = asRInt ( val );

   return(_result);
} 
USER_OBJECT_
S_GdkFontGetDescent (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkFont * obj;
   int val;

   obj = ( GdkFont * ) getPtrValue( s_obj ) ;
   val = obj->descent;
  _result = asRInt ( val );

   return(_result);
} 
USER_OBJECT_
S_GdkEventButtonGetWindow (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkEventButton * obj;
   GdkWindow * val;

   obj = ( GdkEventButton * ) getPtrValue( s_obj ) ;
   val = obj->window;
   _result = toRPointer(val, "GdkWindow");

   return(_result);
} 
USER_OBJECT_
S_GdkEventButtonGetSendEvent (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkEventButton * obj;
   Rboolean val;

   obj = ( GdkEventButton * ) getPtrValue( s_obj ) ;
   val = obj->send_event;
  _result = asRLogical ( val );

   return(_result);
} 
USER_OBJECT_
S_GdkEventButtonGetTime (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkEventButton * obj;
   time_t val;

   obj = ( GdkEventButton * ) getPtrValue( s_obj ) ;
   val = obj->time;
  _result = asRNumeric ( val );

   return(_result);
} 
USER_OBJECT_
S_GdkEventButtonGetX (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkEventButton * obj;
   double val;

   obj = ( GdkEventButton * ) getPtrValue( s_obj ) ;
   val = obj->x;
  _result = asRNumeric ( val );

   return(_result);
} 
USER_OBJECT_
S_GdkEventButtonGetY (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkEventButton * obj;
   double val;

   obj = ( GdkEventButton * ) getPtrValue( s_obj ) ;
   val = obj->y;
  _result = asRNumeric ( val );

   return(_result);
} 
USER_OBJECT_
S_GdkEventButtonGetPressure (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkEventButton * obj;
   double val;

   obj = ( GdkEventButton * ) getPtrValue( s_obj ) ;
   val = obj->pressure;
  _result = asRNumeric ( val );

   return(_result);
} 
USER_OBJECT_
S_GdkEventButtonGetXtilt (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkEventButton * obj;
   double val;

   obj = ( GdkEventButton * ) getPtrValue( s_obj ) ;
   val = obj->xtilt;
  _result = asRNumeric ( val );

   return(_result);
} 
USER_OBJECT_
S_GdkEventButtonGetYtilt (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkEventButton * obj;
   double val;

   obj = ( GdkEventButton * ) getPtrValue( s_obj ) ;
   val = obj->ytilt;
  _result = asRNumeric ( val );

   return(_result);
} 
USER_OBJECT_
S_GdkEventButtonGetState (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkEventButton * obj;
   unsigned int val;

   obj = ( GdkEventButton * ) getPtrValue( s_obj ) ;
   val = obj->state;
  _result = asRInt ( val );

   return(_result);
} 
USER_OBJECT_
S_GdkEventButtonGetButton (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkEventButton * obj;
   unsigned int val;

   obj = ( GdkEventButton * ) getPtrValue( s_obj ) ;
   val = obj->button;
  _result = asRInt ( val );

   return(_result);
} 
USER_OBJECT_
S_GdkEventButtonGetSource (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkEventButton * obj;
   GdkInputSource val;

   obj = ( GdkEventButton * ) getPtrValue( s_obj ) ;
   val = obj->source;
   _result =  S_check_GdkInputSource_value (asRInt( val ));

   return(_result);
} 
USER_OBJECT_
S_GdkEventButtonGetDeviceid (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkEventButton * obj;
   unsigned int val;

   obj = ( GdkEventButton * ) getPtrValue( s_obj ) ;
   val = obj->deviceid;
  _result = asRInt ( val );

   return(_result);
} 
USER_OBJECT_
S_GdkEventButtonGetXRoot (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkEventButton * obj;
   double val;

   obj = ( GdkEventButton * ) getPtrValue( s_obj ) ;
   val = obj->x_root;
  _result = asRNumeric ( val );

   return(_result);
} 
USER_OBJECT_
S_GdkEventButtonGetYRoot (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkEventButton * obj;
   double val;

   obj = ( GdkEventButton * ) getPtrValue( s_obj ) ;
   val = obj->y_root;
  _result = asRNumeric ( val );

   return(_result);
} 
USER_OBJECT_
S_GdkEventPropertyGetWindow (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkEventProperty * obj;
   GdkWindow * val;

   obj = ( GdkEventProperty * ) getPtrValue( s_obj ) ;
   val = obj->window;
   _result = toRPointer(val, "GdkWindow");

   return(_result);
} 
USER_OBJECT_
S_GdkEventPropertyGetSendEvent (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkEventProperty * obj;
   Rboolean val;

   obj = ( GdkEventProperty * ) getPtrValue( s_obj ) ;
   val = obj->send_event;
  _result = asRLogical ( val );

   return(_result);
} 
USER_OBJECT_
S_GdkEventPropertyGetAtom (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkEventProperty * obj;
   gulong val;

   obj = ( GdkEventProperty * ) getPtrValue( s_obj ) ;
   val = obj->atom;
  _result = asRNumeric ( val );

   return(_result);
} 
USER_OBJECT_
S_GdkEventPropertyGetTime (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkEventProperty * obj;
   time_t val;

   obj = ( GdkEventProperty * ) getPtrValue( s_obj ) ;
   val = obj->time;
  _result = asRNumeric ( val );

   return(_result);
} 
USER_OBJECT_
S_GdkEventPropertyGetState (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkEventProperty * obj;
   unsigned int val;

   obj = ( GdkEventProperty * ) getPtrValue( s_obj ) ;
   val = obj->state;
  _result = asRInt ( val );

   return(_result);
} 
USER_OBJECT_
S_GdkCursorGetType (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkCursor * obj;
   GdkCursorType val;

   obj = ( GdkCursor * ) getPtrValue( s_obj ) ;
   val = obj->type;
   _result =  S_check_GdkCursorType_value (asRInt( val ));

   return(_result);
} 
USER_OBJECT_
S_GdkImageGetType (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkImage * obj;
   GdkImageType val;

   obj = ( GdkImage * ) getPtrValue( s_obj ) ;
   val = obj->type;
   _result =  S_check_GdkImageType_value (asRInt( val ));

   return(_result);
} 
USER_OBJECT_
S_GdkImageGetVisual (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkImage * obj;
   GdkVisual * val;

   obj = ( GdkImage * ) getPtrValue( s_obj ) ;
   val = obj->visual;
   _result = toRPointer(val, "GdkVisual");

   return(_result);
} 
USER_OBJECT_
S_GdkImageGetByteOrder (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkImage * obj;
   GdkByteOrder val;

   obj = ( GdkImage * ) getPtrValue( s_obj ) ;
   val = obj->byte_order;
   _result =  S_check_GdkByteOrder_value (asRInt( val ));

   return(_result);
} 
USER_OBJECT_
S_GdkImageGetWidth (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkImage * obj;
   unsigned int val;

   obj = ( GdkImage * ) getPtrValue( s_obj ) ;
   val = obj->width;
  _result = asRInt ( val );

   return(_result);
} 
USER_OBJECT_
S_GdkImageGetHeight (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkImage * obj;
   unsigned int val;

   obj = ( GdkImage * ) getPtrValue( s_obj ) ;
   val = obj->height;
  _result = asRInt ( val );

   return(_result);
} 
USER_OBJECT_
S_GdkImageGetDepth (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkImage * obj;
   unsigned int val;

   obj = ( GdkImage * ) getPtrValue( s_obj ) ;
   val = obj->depth;
  _result = asRInt ( val );

   return(_result);
} 
USER_OBJECT_
S_GdkImageGetBpp (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkImage * obj;
   unsigned int val;

   obj = ( GdkImage * ) getPtrValue( s_obj ) ;
   val = obj->bpp;
  _result = asRInt ( val );

   return(_result);
} 
USER_OBJECT_
S_GdkImageGetBpl (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GdkImage * obj;
   unsigned int val;

   obj = ( GdkImage * ) getPtrValue( s_obj ) ;
   val = obj->bpl;
  _result = asRInt ( val );

   return(_result);
} 

Generated by  Doxygen 1.6.0   Back to index