///
/// The default value of this property is Qt::DefaultContextMenu,
/// which means the contextMenuEvent() handler is called. Other values
/// are Qt::NoContextMenu, Qt::PreventContextMenu,
/// Qt::ActionsContextMenu, and Qt::CustomContextMenu. With
/// Qt::CustomContextMenu, the signal customContextMenuRequested() is
/// emitted.
///
/// **See also:** [`context_menu_event()`]
/// [`custom_context_menu_requested()`]
/// [`actions()`]
The default value of this property is Qt::DefaultContextMenu,
which means the contextMenuEvent() handler is called.


The default value of this property is Qt :: DefaultContextMenu which means the contextMenuEvent () handler is called .
pub fn context_menu_policy(&self) -> ContextMenuPolicy {
        let (obj_data, funcs) = self.get_widget_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).context_menu_policy)(obj_data);
            let ret_val = { transmute::<u32, ContextMenuPolicy>(ret_val) };
            ret_val
        }
    }
pub fn context_menu_policy ( & self ) -> ContextMenuPolicy { let ( obj_data , funcs ) = self . get_widget_obj_funcs ( ) ; unsafe { let ret_val = ( ( * funcs ) . context_menu_policy ) ( obj_data ) ; let ret_val = { transmute :: < u32 , ContextMenuPolicy > ( ret_val ) } ; ret_val } }
The default value of this property is Qt::DefaultContextMenu,
which means the contextMenuEvent() handler is called.
The default value of this property is Qt :: DefaultContextMenu which means the contextMenuEvent () handler is called .
&self