/*----------------------------------------------------------------------*/ static Boolean SetValues(Widget ow,Widget rw,Widget nw,ArgList args,Cardinal *nargs) { XfeFancyBoxPart * np = _XfeFancyBoxPart(nw); XfeFancyBoxPart * op = _XfeFancyBoxPart(ow); return _XfeManagerChainSetValues(ow,rw,nw,xfeFancyBoxWidgetClass); }
/*----------------------------------------------------------------------*/ static Boolean SetValues(Widget ow,Widget rw,Widget nw,ArgList args,Cardinal *nargs) { XfeComboBoxPart * np = _XfeComboBoxPart(nw); XfeComboBoxPart * op = _XfeComboBoxPart(ow); /* title */ if (np->title != op->title) { _XmWarning(nw,MESSAGE2); np->title = op->title; } /* list */ if (np->list != op->list) { _XmWarning(nw,MESSAGE3); np->list = op->list; } /* shell */ if (np->shell != op->shell) { _XmWarning(nw,MESSAGE4); np->shell = op->shell; } /* combo_box_type */ if (np->combo_box_type != op->combo_box_type) { TitleConfigure(nw); _XfemConfigFlags(nw) |= XfeConfigExpose; #if 0 _XmWarning(nw,MESSAGE6); np->combo_box_type = op->combo_box_type; #endif } /* title_shadow_thickness */ if (np->title_shadow_thickness != op->title_shadow_thickness) { _XfemConfigFlags(nw) |= XfeConfigGLE; } /* title_shadow_type */ if (np->title_shadow_type != op->title_shadow_type) { /* Make sure the new shadow type is ok */ XfeRepTypeCheck(nw,XmRShadowType,&np->title_shadow_type,XmSHADOW_IN); _XfemConfigFlags(nw) |= XfeConfigExpose; } return _XfeManagerChainSetValues(ow,rw,nw,xfeComboBoxWidgetClass); }