///
/// Returns the clipboard pixmap, or null if the clipboard does not
/// contain a pixmap. Note that this can lose information. For
/// example, if the image is 24-bit and the display is 8-bit, the
/// result is converted to 8 bits, and if the image has an alpha
/// channel, the result just has a mask.
///
/// The *mode* argument is used to control which part of the system
/// clipboard is used. If *mode* is QClipboard::Clipboard, the
/// pixmap is retrieved from the global clipboard. If *mode* is
/// QClipboard::Selection, the pixmap is retrieved from the global
/// mouse selection.
///
/// **See also:** [`set_pixmap()`]
/// [`image()`]
/// [`mime_data()`]
/// [`Pixmap::convert_from_image`]
Returns the clipboard pixmap, or null if the clipboard does not
contain a pixmap. Note that this can lose information. For
example, if the image is 24-bit and the display is 8-bit, the
result is converted to 8 bits, and if the image has an alpha
channel, the result just has a mask.

The *mode* argument is used to control which part of the system
clipboard is used. If *mode* is QClipboard::Clipboard, the
pixmap is retrieved from the global clipboard. If *mode* is
QClipboard::Selection, the pixmap is retrieved from the global
mouse selection.


Returns the clipboard pixmap or null if the clipboard does not contain a pixmap . Note that this can lose information . For example if the image is 24 - bit and the display is 8 - bit the result is converted to 8 bits and if the image has an alpha channel the result just has a mask . The * mode * argument is used to control which part of the system clipboard is used . If * mode * is QClipboard :: Clipboard the pixmap is retrieved from the global clipboard . If * mode * is QClipboard :: Selection the pixmap is retrieved from the global mouse selection .
pub fn pixmap(&self, mode: Mode) -> Pixmap {
        let enum_mode_1 = mode as u32;
        let (obj_data, funcs) = self.get_clipboard_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).pixmap)(obj_data, enum_mode_1);
            let t = ret_val;
            let ret_val;
            if t.host_data != ::std::ptr::null() {
                ret_val = Pixmap::new_from_rc(t);
            } else {
                ret_val = Pixmap::new_from_owned(t);
            }
            ret_val
        }
    }
pub fn pixmap ( & self , mode : Mode ) -> Pixmap { let enum_mode_1 = mode as u32 ; let ( obj_data , funcs ) = self . get_clipboard_obj_funcs ( ) ; unsafe { let ret_val = ( ( * funcs ) . pixmap ) ( obj_data , enum_mode_1 ) ; let t = ret_val ; let ret_val ; if t . host_data != :: std :: ptr :: null ( ) { ret_val = Pixmap :: new_from_rc ( t ) ; } else { ret_val = Pixmap :: new_from_owned ( t ) ; } ret_val } }
Returns the clipboard pixmap, or null if the clipboard does not
contain a pixmap.
Returns the clipboard pixmap or null if the clipboard does not contain a pixmap .
&self
mode
Mode