|
|
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);