add: changePage(panel->secP, panel);
context: createPanel(Panel *p){    _Panel *panel = (_Panel*)p;    WMColor *color;    WMFont *font;    WMScreen *scr = WMWidgetScreen(panel->win);    char *tmp;    Bool ok = True;        panel->fprefix = wstrappend(wusergnusteppath(), "/.AppInfo");    if (access(panel->fprefix, F_OK)!=0) {	if (mkdir(panel->fprefix, 0755) < 0) {	    wsyserror(panel->fprefix);	    ok = False;	}    }    if (ok) {	tmp = wstrappend(panel->fprefix, "/WPrefs/");	free(panel->fprefix);	panel->fprefix = tmp;	if (access(panel->fprefix, F_OK)!=0) {	    if (mkdir(panel->fprefix, 0755) < 0) {		wsyserror(panel->fprefix);	    }	}    }    panel->smallFont = WMSystemFontOfSize(scr, 10);    panel->normalFont = WMSystemFontOfSize(scr, 12);    panel->boldFont = WMBoldSystemFontOfSize(scr, 12);    panel->onLed = WMCreatePixmapFromXPMData(scr, blueled_xpm);    panel->offLed = WMCreatePixmapFromXPMData(scr, blueled2_xpm);    panel->frame = WMCreateFrame(panel->win);    WMResizeWidget(panel->frame, FRAME_WIDTH, FRAME_HEIGHT);    WMMoveWidget(panel->frame, FRAME_LEFT, FRAME_TOP);    /* preview box */    panel->prevL = WMCreateLabel(panel->frame);    WMResizeWidget(panel->prevL, 260, 165);    WMMoveWidget(panel->prevL, 15, 10);    WMSetLabelImagePosition(panel->prevL, WIPImageOnly);    panel->secP = WMCreatePopUpButton(panel->frame);    WMResizeWidget(panel->secP, 260, 20);    WMMoveWidget(panel->secP, 15, 180);    WMSetPopUpButtonSelectedItem(panel->secP, 0);    WMAddPopUpButtonItem(panel->secP, _("Titlebar of Focused Window"));    WMAddPopUpButtonItem(panel->secP, _("Titlebar of Unfocused Windows"));    WMAddPopUpButtonItem(panel->secP, _("Titlebar of Focused Window's Owner"));    WMAddPopUpButtonItem(panel->secP, _("Titlebar of Menus"));    WMAddPopUpButtonItem(panel->secP, _("Menu Items"));    WMAddPopUpButtonItem(panel->secP, _("Icon Background"));/*    WMAddPopUpButtonItem(panel->secP, _("Workspace Backgrounds")); */    WMSetPopUpButtonAction(panel->secP, changePage, panel);    /* texture list */    font = WMBoldSystemFontOfSize(scr, 12);    panel->texL = WMCreateLabel(panel->frame);    WMResizeWidget(panel->texL, 225, 18);    WMMoveWidget(panel->texL, 285, 10);    WMSetLabelFont(panel->texL, font);    WMSetLabelText(panel->texL, _("Textures"));    WMSetLabelRelief(panel->texL, WRSunken);    WMSetLabelTextAlignment(panel->texL, WACenter);    color = WMDarkGrayColor(scr);    WMSetWidgetBackgroundColor(panel->texL, color);    WMReleaseColor(color);    color = WMWhiteColor(scr);    WMSetLabelTextColor(panel->texL, color);    WMReleaseColor(color);    WMReleaseFont(font);    panel->texLs = WMCreateList(panel->frame);    WMResizeWidget(panel->texLs, 225, 144);    WMMoveWidget(panel->texLs, 285, 30);    WMSetListUserDrawItemHeight(panel->texLs, 35);    WMSetListUserDrawProc(panel->texLs, paintListItem);    WMHangData(panel->texLs, panel);    WMSetListAction(panel->texLs, textureClick, panel);    WMSetListDoubleAction(panel->texLs, textureDoubleClick, panel);    /* command buttons */    font = WMSystemFontOfSize(scr, 10);    panel->newB = WMCreateCommandButton(panel->frame);    WMResizeWidget(panel->newB, 56, 48);    WMMoveWidget(panel->newB, 285, 180);    WMSetButtonFont(panel->newB, font);    WMSetButtonImagePosition(panel->newB, WIPAbove);    WMSetButtonText(panel->newB, _("New"));    WMSetButtonAction(panel->newB, newTexture, panel);    SetButtonAlphaImage(scr, panel->newB, TNEW_FILE);    panel->ripB = WMCreateCommandButton(panel->frame);    WMResizeWidget(panel->ripB, 56, 48);    WMMoveWidget(panel->ripB, 341, 180);    WMSetButtonFont(panel->ripB, font);    WMSetButtonImagePosition(panel->ripB, WIPAbove);    WMSetButtonText(panel->ripB, _("Extract..."));    WMSetButtonAction(panel->ripB, extractTexture, panel);    SetButtonAlphaImage(scr, panel->ripB, TEXTR_FILE);    WMSetButtonEnabled(panel->ripB, False);    panel->editB = WMCreateCommandButton(panel->frame);    WMResizeWidget(panel->editB, 56, 48);    WMMoveWidget(panel->editB, 397, 180);    WMSetButtonFont(panel->editB, font);    WMSetButtonImagePosition(panel->editB, WIPAbove);    WMSetButtonText(panel->editB, _("Edit"));    SetButtonAlphaImage(scr, panel->editB, TEDIT_FILE);    WMSetButtonAction(panel->editB, editTexture, panel);    panel->delB = WMCreateCommandButton(panel->frame);    WMResizeWidget(panel->delB, 56, 48);    WMMoveWidget(panel->delB, 453, 180);    WMSetButtonFont(panel->delB, font);    WMSetButtonImagePosition(panel->delB, WIPAbove);    WMSetButtonText(panel->delB, _("Delete"));    SetButtonAlphaImage(scr, panel->delB, TDEL_FILE);    WMSetButtonEnabled(panel->delB, False);    WMSetButtonAction(panel->delB, deleteTexture, panel);    WMReleaseFont(font);    /**/    WMRealizeWidget(panel->frame);    WMMapSubwidgets(panel->frame);    WMSetPopUpButtonSelectedItem(panel->secP, 0);    showData(panel);    fillTextureList(panel->texLs);    panel->texturePanel = CreateTexturePanel(panel->win);}