else if (strcmp(parent_name,"RaiseBorderThickness") == 0) { XtSetArg(av[ac],XmNraiseBorderThickness,atoi(name)); ac++;
else if (strcmp(parent_name,"AccentBorderThickness") == 0) { XtSetArg(av[ac],XmNaccentBorderThickness,atoi(name)); ac++;
menu_item_cb(Widget w,XtPointer client_data,XtPointer call_data){	String		name = XtName(w);	String		parent_name = XtName(XtParent(w));	Arg			av[20];	Cardinal	ac = 0;	printf("menu_item_cb(%s,%s)\n",name,parent_name);	if (!XfeIsAlive(_button_target))	{		return;	}	/* Modifiers */	if (CMP(parent_name,"Modifiers"))	{		if (CMP(name,"None"))		{			XtSetArg(av[ac],XmNselectionModifiers,None); ac++;		}		else if (CMP(name,"Any"))		{			XtSetArg(av[ac],XmNselectionModifiers,AnyModifier); ac++;		}		else if (CMP(name,"Shift"))		{			XtSetArg(av[ac],XmNselectionModifiers,ShiftMask); ac++;		}		else if (CMP(name,"Control"))		{			XtSetArg(av[ac],XmNselectionModifiers,ControlMask); ac++;		}		else if (CMP(name,"Alt"))		{			XtSetArg(av[ac],XmNselectionModifiers,Mod1Mask); ac++;		}		else if (CMP(name,"Mod1"))		{			XtSetArg(av[ac],XmNselectionModifiers,Mod1Mask); ac++;		}		else if (CMP(name,"Mod2"))		{			XtSetArg(av[ac],XmNselectionModifiers,Mod2Mask); ac++;		}		else if (CMP(name,"Mod3"))		{			XtSetArg(av[ac],XmNselectionModifiers,Mod3Mask); ac++;		}		else if (CMP(name,"Mod4"))		{			XtSetArg(av[ac],XmNselectionModifiers,Mod4Mask); ac++;		}	}	else if (strcmp(name,"TypePush") == 0)	{		XtSetArg(av[ac],XmNbuttonType,XmBUTTON_PUSH); ac++;	}	else if (strcmp(name,"TypeToggle") == 0)	{		XtSetArg(av[ac],XmNbuttonType,XmBUTTON_TOGGLE); ac++;	}	else if (strcmp(name,"TypeNone") == 0)	{		XtSetArg(av[ac],XmNbuttonType,XmBUTTON_NONE); ac++;	}	else if (strcmp(name,"RaiseOnEnter") == 0)	{		XfeResourceToggleBoolean(_button_target,XmNraiseOnEnter);	}	else if (strcmp(name,"TraversalOn") == 0)	{		XfeResourceToggleBoolean(_button_target,XmNtraversalOn);	}	else if (strcmp(name,"EmulateMotif") == 0)	{		XfeResourceToggleBoolean(_button_target,XmNemulateMotif);	}	else if (strcmp(name,"Armed") == 0)	{		XfeResourceToggleBoolean(_button_target,XmNarmed);	}	else if (strcmp(name,"Raised") == 0)	{		XfeResourceToggleBoolean(_button_target,XmNraised);	}	else if (strcmp(name,"Selected") == 0)	{		XfeResourceToggleBoolean(_button_target,XmNselected);	}	else if (strcmp(name,"PretendSensitive") == 0)	{		XfeResourceToggleBoolean(_button_target,XmNpretendSensitive);	}	else if (strcmp(name,"Sensitive") == 0)	{		XfeResourceToggleBoolean(_button_target,XmNsensitive);	}	else if (strcmp(name,"UsePreferredWidth") == 0)	{		XfeResourceToggleBoolean(_button_target,XmNusePreferredWidth);	}	else if (strcmp(name,"UsePreferredHeight") == 0)	{		XfeResourceToggleBoolean(_button_target,XmNusePreferredHeight);	}	else if (strcmp(name,"FillOnEnter") == 0)	{		XfeResourceToggleBoolean(_button_target,XmNfillOnEnter);	}	else if (strcmp(name,"FillOnArm") == 0)	{		XfeResourceToggleBoolean(_button_target,XmNfillOnArm);	}	else if (strcmp(name,"LayoutLabelOnly") == 0)	{		XtSetArg(av[ac],XmNbuttonLayout,XmBUTTON_LABEL_ONLY); ac++;	}	else if (strcmp(name,"LayoutLabelOnBottom") == 0)	{		XtSetArg(av[ac],XmNbuttonLayout,XmBUTTON_LABEL_ON_BOTTOM); ac++;	}	else if (strcmp(name,"LayoutLabelOnLeft") == 0)	{		XtSetArg(av[ac],XmNbuttonLayout,XmBUTTON_LABEL_ON_LEFT); ac++;	}	else if (strcmp(name,"LayoutLabelOnRight") == 0)	{		XtSetArg(av[ac],XmNbuttonLayout,XmBUTTON_LABEL_ON_RIGHT); ac++;	}	else if (strcmp(name,"LayoutLabelOnTop") == 0)	{		XtSetArg(av[ac],XmNbuttonLayout,XmBUTTON_LABEL_ON_TOP); ac++;	}	else if (strcmp(name,"LayoutPixmapOnly") == 0)	{		XtSetArg(av[ac],XmNbuttonLayout,XmBUTTON_PIXMAP_ONLY); ac++;	}	else if (strcmp(name,"TriggerAnywhere") == 0)	{		XtSetArg(av[ac],XmNbuttonTrigger,XmBUTTON_TRIGGER_ANYWHERE); ac++;	}	else if (strcmp(name,"TriggerEither") == 0)	{		XtSetArg(av[ac],XmNbuttonTrigger,XmBUTTON_TRIGGER_EITHER); ac++;	}	else if (strcmp(name,"TriggerNeither") == 0)	{		XtSetArg(av[ac],XmNbuttonTrigger,XmBUTTON_TRIGGER_NEITHER); ac++;	}	else if (strcmp(name,"TriggerLabel") == 0)	{		XtSetArg(av[ac],XmNbuttonTrigger,XmBUTTON_TRIGGER_LABEL); ac++;	}	else if (strcmp(name,"TriggerPixmap") == 0)	{		XtSetArg(av[ac],XmNbuttonTrigger,XmBUTTON_TRIGGER_PIXMAP); ac++;	}	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,"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,"Spacing") == 0)	{		XtSetArg(av[ac],XmNspacing,atoi(name)); ac++;	}	else if (strcmp(parent_name,"ArmOffset") == 0)	{		XtSetArg(av[ac],XmNarmOffset,atoi(name)); ac++;	}	else if (strcmp(name,"ChangePixmap") == 0)	{		change_pixmap(_button_target);	}	else if (strcmp(name,"ChangeLabel") == 0)	{		change_label(_button_target);	}	if (ac)	{		XtSetValues(_button_target,av,ac);	}}