XtSetArg(av[ac],XmNraiseBorderThickness,atoi(name)); ac++;
XtSetArg(av[ac],XmNaccentBorderThickness,atoi(name)); ac++;
menu_item_cb(Widget w,XtPointer client_data,XtPointer call_data){	Widget		pane = (Widget) client_data;	String		name = XtName(w);	String		parent_name = XtName(XtParent(w));	Arg			av[20];	Cardinal	ac = 0;	printf("menu_item_cb(%s,%s) pane = %s\n",name,parent_name,XtName(pane));	if (!XfeIsAlive(pane))	{		return;	}	if (strcmp(name,"TraversalOn") == 0)	{		XfeResourceToggleBoolean(pane,XmNtraversalOn);	}	else if (strcmp(name,"pane_sash_double_line") == 0)	{		XtSetArg(av[ac],XmNpaneSashType,XmPANE_SASH_DOUBLE_LINE); ac++;	}	else if (strcmp(name,"pane_sash_live") == 0)	{		XtSetArg(av[ac],XmNpaneSashType,XmPANE_SASH_LIVE); ac++;	}	else if (strcmp(name,"pane_sash_rectangle") == 0)	{		XtSetArg(av[ac],XmNpaneSashType,XmPANE_SASH_RECTANGLE); ac++;	}	else if (strcmp(name,"pane_sash_filled_rectangle") == 0)	{		XtSetArg(av[ac],XmNpaneSashType,XmPANE_SASH_FILLED_RECTANGLE); ac++;	}	else if (strcmp(name,"pane_sash_single_line") == 0)	{		XtSetArg(av[ac],XmNpaneSashType,XmPANE_SASH_SINGLE_LINE); ac++;	}	else if (strcmp(name,"Sensitive") == 0)	{		XfeResourceToggleBoolean(pane,XmNsensitive);	}	else if (strcmp(name,"UsePreferredWidth") == 0)	{		XfeResourceToggleBoolean(pane,XmNusePreferredWidth);	}	else if (strcmp(name,"UsePreferredHeight") == 0)	{		XfeResourceToggleBoolean(pane,XmNusePreferredHeight);	}	else if (strcmp(name,"ShadowIn") == 0)	{		XtSetArg(av[ac],XmNshadowType,XmSHADOW_IN); ac++;	}	else if (strcmp(name,"ShadowOut") == 0)	{		XtSetArg(av[ac],XmNshadowType,XmSHADOW_OUT); ac++;	}	else if (strcmp(name,"ShadowEtchedIn") == 0)	{		XtSetArg(av[ac],XmNshadowType,XmSHADOW_ETCHED_IN); ac++;	}	else if (strcmp(name,"ShadowEtchedOut") == 0)	{		XtSetArg(av[ac],XmNshadowType,XmSHADOW_ETCHED_OUT); ac++;	}	else if (strcmp(name,"AlignmentBeginning") == 0)	{		XtSetArg(av[ac],XmNlabelAlignment,XmALIGNMENT_BEGINNING); ac++;	}	else if (strcmp(name,"AlignmentCenter") == 0)	{		XtSetArg(av[ac],XmNlabelAlignment,XmALIGNMENT_CENTER); ac++;	}	else if (strcmp(name,"AlignmentEnd") == 0)	{		XtSetArg(av[ac],XmNlabelAlignment,XmALIGNMENT_END); ac++;	}	if (strcmp(parent_name,"MarginLeft") == 0)	{		XtSetArg(av[ac],XmNmarginLeft,atoi(name)); ac++;	}	else if (strcmp(parent_name,"MarginRight") == 0)	{		XtSetArg(av[ac],XmNmarginRight,atoi(name)); ac++;	}	else if (strcmp(parent_name,"MarginTop") == 0)	{		XtSetArg(av[ac],XmNmarginTop,atoi(name)); ac++;	}	else if (strcmp(parent_name,"MarginBottom") == 0)	{		XtSetArg(av[ac],XmNmarginBottom,atoi(name)); ac++;	}	else if (strcmp(parent_name,"MarginAll") == 0)	{		XtSetArg(av[ac],XmNmarginLeft,atoi(name)); ac++;		XtSetArg(av[ac],XmNmarginRight,atoi(name)); ac++;		XtSetArg(av[ac],XmNmarginTop,atoi(name)); ac++;		XtSetArg(av[ac],XmNmarginBottom,atoi(name)); ac++;	}	else if (strcmp(parent_name,"Width") == 0)	{		XtSetArg(av[ac],XmNwidth,atoi(name)); ac++;	}	else if (strcmp(parent_name,"Height") == 0)	{		XtSetArg(av[ac],XmNheight,atoi(name)); ac++;	}	else if (strcmp(parent_name,"ShadowThickness") == 0)	{		XtSetArg(av[ac],XmNshadowThickness,atoi(name)); ac++;	}	else if (strcmp(parent_name,"SashOffset") == 0)	{		XtSetArg(av[ac],XmNsashOffset,atoi(name)); ac++;	}	else if (strcmp(parent_name,"SashSpacing") == 0)	{		XtSetArg(av[ac],XmNsashSpacing,atoi(name)); ac++;	}	else if (strcmp(parent_name,"SashThickness") == 0)	{		XtSetArg(av[ac],XmNsashThickness,atoi(name)); ac++;	}	else if (strcmp(parent_name,"SashShadowThickness") == 0)	{		XtSetArg(av[ac],XmNsashShadowThickness,atoi(name)); ac++;	}	else if (strcmp(parent_name,"HighlightThickness") == 0)	{		XtSetArg(av[ac],XmNhighlightThickness,atoi(name)); ac++;	}	else if (strcmp(parent_name,"RaiseBorderThickness") == 0)	{		XtSetArg(av[ac],XmNraiseBorderThickness,atoi(name)); ac++;	}	else if (strcmp(parent_name,"ArmOffset") == 0)	{		XtSetArg(av[ac],XmNarmOffset,atoi(name)); ac++;	}	else if (strcmp(name,"OrientationVertical") == 0)	{		XtSetArg(av[ac],XmNorientation,XmVERTICAL); ac++;	}	else if (strcmp(name,"OrientationHorizontal") == 0)	{		XtSetArg(av[ac],XmNorientation,XmHORIZONTAL); ac++;	}	else if (strcmp(parent_name,"Managing") == 0)	{		Widget child = XfeDescendantFindByName(pane,name,XfeFIND_ANY,False);		if (XfeIsAlive(child))		{			XfeToggleManagedState(child);		}	}	else if (strcmp(parent_name,"SashPosition") == 0)	{		XtSetArg(av[ac],XmNsashPosition,atoi(name)); ac++;	}	if (ac)	{		XtSetValues(pane,av,ac);	}}