pub fn subwin(&self, nlines: i32, ncols: i32, begy: i32, begx: i32) -> Result<Window, i32> {
        let new_window = unsafe { curses::subwin(self._window, nlines, ncols, begy, begx) };
        if new_window.is_null() {
            Err(ERR)
        } else {
            Ok(Window {
                _window: new_window,
                _stdscr: false,
            })
        }
    }
/// Creates a new subwindow within a window.
///
/// The dimensions of the subwindow are nlines lines and ncols columns. The subwindow is at
/// position (begy, begx) on the screen. This position is relative to the screen, and not to
/// the window orig. Changes made to either window will affect both. When using this routine,
/// you will often need to call touchwin() before calling refresh().
Creates a new subwindow within a window.
The dimensions of the subwindow are nlines lines and ncols columns. The subwindow is at
position (begy, begx) on the screen. This position is relative to the screen, and not to
the window orig. Changes made to either window will affect both. When using this routine,
you will often need to call touchwin() before calling refresh().
Creates a new subwindow within a window . The dimensions of the subwindow are nlines lines and ncols columns . The subwindow is at position ( begy begx ) on the screen . This position is relative to the screen and not to the window orig . Changes made to either window will affect both . When using this routine you will often need to call touchwin () before calling refresh () .
pub fn subwin(&self, nlines: i32, ncols: i32, begy: i32, begx: i32) -> Result<Window, i32> {
        let new_window = unsafe { curses::subwin(self._window, nlines, ncols, begy, begx) };
        if new_window.is_null() {
            Err(ERR)
        } else {
            Ok(Window {
                _window: new_window,
                _stdscr: false,
            })
        }
    }
pub fn subwin ( & self , nlines : i32 , ncols : i32 , begy : i32 , begx : i32 ) -> Result < Window , i32 > { let new_window = unsafe { curses :: subwin ( self . _window , nlines , ncols , begy , begx ) } ; if new_window . is_null ( ) { Err ( ERR ) } else { Ok ( Window { _window : new_window , _stdscr : false , } ) } }
Creates a new subwindow within a window.
Creates a new subwindow within a window .
&self
nlines
i32
ncols
i32
begy
i32
begx
i32
&self
nlines
i32
ncols
i32
begy
i32
begx
i32