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

gnomeuiAccessors.c

#include "gtkUtils.h"
#include "gnomeuiFuncs.h"
#include "gnomeuiEnum.h"


#include "RGtk.h"

USER_OBJECT_
S_GnomeDialogGetVbox (USER_OBJECT_ s_obj)
{
   USER_OBJECT_ _result;

   GnomeDialog * obj;
   GtkWidget * val;

   obj = ( GnomeDialog * ) getPtrValue( s_obj ) ;
   val = obj->vbox;
   _result = toRPointer(val, "GtkWidget");

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

   GnomeCalculator * obj;
   double val;

   obj = ( GnomeCalculator * ) getPtrValue( s_obj ) ;
   val = obj->result;
  _result = asRNumeric ( val );

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

   GnomeDruidPageStandard * obj;
   GtkWidget * val;

   obj = ( GnomeDruidPageStandard * ) getPtrValue( s_obj ) ;
   val = obj->vbox;
   _result = toRPointer(val, "GtkWidget");

   return(_result);
} 

Generated by  Doxygen 1.6.0   Back to index