add: x = GetIntegerForKey("EdgeResistance"); WMSetSliderValue(panel->resS, x); resistanceCallback(NULL, panel);
context: showData(_Panel *panel){    char *str;    proplist_t arr;    int x, y;    str = GetStringForKey("WindowPlacement");    WMSetPopUpButtonSelectedItem(panel->placP, getPlacement(str));    arr = GetObjectForKey("WindowPlaceOrigin");    x = 0;     y = 0;    if (arr && (!PLIsArray(arr) || PLGetNumberOfElements(arr)!=2)) {	wwarning(_("invalid data in option WindowPlaceOrigin. Using default (0,0)"));    } else {	if (arr) {	    x = atoi(PLGetString(PLGetArrayElement(arr, 0)));	    y = atoi(PLGetString(PLGetArrayElement(arr, 1)));	}    }    WMSetSliderValue(panel->hsli, x);    WMSetSliderValue(panel->vsli, y);    sliderCallback(NULL, panel);        WMSetButtonSelected(panel->tranB, GetBoolForKey("OpenTransientOnOwnerWorkspace"));        WMSetButtonSelected(panel->opaqB, GetBoolForKey("OpaqueMove"));        WMSetButtonSelected(panel->miconB, GetBoolForKey("NoWindowOverIcons"));    WMSetButtonSelected(panel->mdockB, GetBoolForKey("NoWindowOverDock"));}