Lines Matching defs:shell
74 static void PopupOnNode ( WNode * node, Widget shell );
166 * Arguments: parent - the shell to put them into.
491 res_box->shell = XtVaCreatePopupShell(global_effective_toolkit,
497 XtAddCallback(res_box->shell, XtNdestroyCallback,
501 res_box->shell, NULL, ZERO);
540 XtAddCallback(button,XtNcallback,PopdownResBox,(XtPointer)res_box->shell);
543 PopupOnNode(node, res_box->shell);
932 * Description: Pops a shell widget up centered on the node specified.
934 * shell - the shell to popup.
939 PopupOnNode(WNode *node, Widget shell)
956 (shell, XtParseTranslationTable ("<Message>WM_PROTOCOLS: quit()"));
957 XtRealizeWidget(shell);
958 wm_delete_window = XInternAtom(XtDisplay(shell), "WM_DELETE_WINDOW",
960 (void) XSetWMProtocols (XtDisplay(shell), XtWindow(shell),
962 XtGetValues(shell, args, num_args); /* use same arg_list. */
967 max_loc = WidthOfScreen(XtScreen(shell)) - (Position) (width + 2 * bw);
973 max_loc = HeightOfScreen(XtScreen(shell)) - (Position) (height + 2 * bw);
982 XtSetValues(shell, args, num_args);
984 XtPopup(shell, XtGrabNone);