pub fn attrget(&self) -> (chtype, i16) {
        let mut attributes: chtype = 0;
        let mut color_pair: i16 = 0;
        unsafe {
            curses::wattr_get(
                self._window,
                &mut attributes,
                &mut color_pair,
                ptr::null_mut(),
            );
        }
        (attributes, color_pair)
    }
/// Retrieve attributes for the given window.
///
/// ```rust
/// use pancurses::{A_BOLD, initscr, endwin};
/// let window = initscr();
/// window.attron(A_BOLD);
/// let (active_attributes, color_pair) = window.attrget();
/// assert_eq!(A_BOLD, active_attributes);
/// endwin();
/// ```
Retrieve attributes for the given window.
Retrieve attributes for the given window .
pub fn attrget(&self) -> (chtype, i16) {
        let mut attributes: chtype = 0;
        let mut color_pair: i16 = 0;
        unsafe {
            curses::wattr_get(
                self._window,
                &mut attributes,
                &mut color_pair,
                ptr::null_mut(),
            );
        }
        (attributes, color_pair)
    }
pub fn attrget ( & self ) -> ( chtype , i16 ) { let mut attributes : chtype = 0 ; let mut color_pair : i16 = 0 ; unsafe { curses :: wattr_get ( self . _window , & mut attributes , & mut color_pair , ptr :: null_mut ( ) , ) ; } ( attributes , color_pair ) }
Retrieve attributes for the given window.
Retrieve attributes for the given window .
&self
&self