DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
ETI panels

Fetching pointers to panel windows

Each panel has a low-level ETI window associated with it. To retrieve a pointer to this window, you use the function panel_window.

SYNOPSIS

   WINDOW *panel_window(panel)
   PANEL *panel;        /* Panel whose window pointer is
                               returned */
The function returns NULL if the panel pointer argument is NULL.

In general, you may use this returned pointer as an argument to any standard low-level (curses) routine that takes a pointer to a window as an argument. For example, you can insert a character c at a location y,x in a panel window with the function mvwinsch(win,y,x,c), where win is the window pointer returned by panel_window.

   WINDOW *win;
   PANEL *panel;
   int y, x;
   chtype c;
   

win = panel_window(panel); mvwinsch(win,y,x,c);


Next topic: Changing panel windows
Previous topic: Elementary panel window operations

© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 27 April 2004