Lines Matching refs:pan
53 PANEL *pan;
69 pan = win.panel()
71 pan.window().addstr(other_string)
128 /* Return the panel object that corresponds to pan */
130 find_po(PANEL *pan)
133 for (temp = lop; temp->po->pan != pan; temp = temp->next)
147 { return PyCursesCheckERR(X(self->pan), # X); }
152 if (X (self->pan) == FALSE) { Py_INCREF(Py_False); return Py_False; } \
160 return PyCursesCheckERR(X(self->pan, arg1, arg2), # X); }
174 PyCursesPanel_New(PANEL *pan, PyCursesWindowObject *wo)
180 po->pan = pan;
194 PyObject *obj = (PyObject *) panel_userptr(po->pan);
196 (void)set_panel_userptr(po->pan, NULL);
199 (void)del_panel(po->pan);
212 PANEL *pan;
215 pan = panel_above(self->pan);
217 if (pan == NULL) { /* valid output, it means the calling panel
222 po = find_po(pan);
237 PANEL *pan;
240 pan = panel_below(self->pan);
242 if (pan == NULL) { /* valid output, it means the calling panel
247 po = find_po(pan);
279 po = find_po(self->pan);
286 rtn = replace_panel(self->pan, temp->win);
304 oldobj = (PyObject *) panel_userptr(self->pan);
305 rc = set_panel_userptr(self->pan, (void*)obj);
319 obj = (PyObject *) panel_userptr(self->pan);
381 PANEL *pan;
386 pan = panel_above(NULL);
388 if (pan == NULL) { /* valid output, it means
393 po = find_po(pan);
407 PANEL *pan;
411 pan = new_panel(win->win);
412 if (pan == NULL) {
416 return (PyObject *)PyCursesPanel_New(pan, win);
427 PANEL *pan;
432 pan = panel_below(NULL);
434 if (pan == NULL) { /* valid output, it means
439 po = find_po(pan);