#include "rowcol.h"

@implementation WDCRowColumn



- initWithName:(char*)aName managedBy:anObject
{
  [self setWidget:XtCreateWidget((char*)aName,
				 [self getWidgetClass],
				 [anObject getWidget],
				 [self getArgList],
				 [self getNumArgs])];
  [self setArg:XmNpacking to:(char*)XmPACK_COLUMN];
  [self setParentObject: anObject];
  return [self setAction];
}


- (WidgetClass)getWidgetClass
{
  return xmRowColumnWidgetClass;
}


- setCallData:(XtPointer)aCall_data
{
  XmRowColumnCallbackStruct *aCall_data_ptr
    =(XmRowColumnCallbackStruct*)aCall_data;
  _call_data.reason=aCall_data_ptr->reason;
  _call_data.event=aCall_data_ptr->event;
  _call_data.widget=aCall_data_ptr->widget;
  _call_data.data=aCall_data_ptr->data;
  _call_data.callbackstruct=aCall_data_ptr->callbackstruct;
  return self;
}

- setAction
{
  return self;
}

- doAction
{
  return self;
}

@end
