| Panel objects, as returned by :func:`new_panel` above, are windows with a |
| stacking order. There's always a window associated with a panel which determines |
| the content, while the panel methods are responsible for the window's depth in |
| the panel stack. |
| |
| Panel objects have the following methods: |
| |
| |
n | .. method:: XXX Class.above() |
n | .. method:: Panel.above() |
| |
| Returns the panel above the current panel. |
| |
| |
n | .. method:: XXX Class.below() |
n | .. method:: Panel.below() |
| |
| Returns the panel below the current panel. |
| |
| |
n | .. method:: XXX Class.bottom() |
n | .. method:: Panel.bottom() |
| |
| Push the panel to the bottom of the stack. |
| |
| |
n | .. method:: XXX Class.hidden() |
n | .. method:: Panel.hidden() |
| |
| Returns true if the panel is hidden (not visible), false otherwise. |
| |
| |
n | .. method:: XXX Class.hide() |
n | .. method:: Panel.hide() |
| |
| Hide the panel. This does not delete the object, it just makes the window on |
| screen invisible. |
| |
| |
n | .. method:: XXX Class.move(y, x) |
n | .. method:: Panel.move(y, x) |
| |
| Move the panel to the screen coordinates ``(y, x)``. |
| |
| |
n | .. method:: XXX Class.replace(win) |
n | .. method:: Panel.replace(win) |
| |
| Change the window associated with the panel to the window *win*. |
| |
| |
n | .. method:: XXX Class.set_userptr(obj) |
n | .. method:: Panel.set_userptr(obj) |
| |
| Set the panel's user pointer to *obj*. This is used to associate an arbitrary |
| piece of data with the panel, and can be any Python object. |
| |
| |
n | .. method:: XXX Class.show() |
n | .. method:: Panel.show() |
| |
| Display the panel (which might have been hidden). |
| |
| |
n | .. method:: XXX Class.top() |
n | .. method:: Panel.top() |
| |
| Push panel to the top of the stack. |
| |
| |
n | .. method:: XXX Class.userptr() |
n | .. method:: Panel.userptr() |
| |
| Returns the user pointer for the panel. This might be any Python object. |
| |
| |
t | .. method:: XXX Class.window() |
t | .. method:: Panel.window() |
| |
| Returns the window object associated with the panel. |
| |