///
/// Returns `true` if this widget would become enabled if *ancestor* is
/// enabled; otherwise returns `false.`
///
/// This is the case if neither the widget itself nor every parent up
/// to but excluding *ancestor* has been explicitly disabled.
///
/// isEnabledTo(0) returns false if this widget or any if its ancestors
/// was explicitly disabled.
///
/// The word ancestor here means a parent widget within the same window.
///
/// Therefore isEnabledTo(0) stops at this widget's window, unlike
/// isEnabled() which also takes parent windows into considerations.
///
/// **See also:** [`set_enabled()`]
/// enabled
///
/// This function is deprecated. It is equivalent to isEnabled()
Returns `true` if this widget would become enabled if *ancestor* is
enabled; otherwise returns `false.`

This is the case if neither the widget itself nor every parent up
to but excluding *ancestor* has been explicitly disabled.

isEnabledTo(0) returns false if this widget or any if its ancestors
was explicitly disabled.

The word ancestor here means a parent widget within the same window.

Therefore isEnabledTo(0) stops at this widget's window, unlike
isEnabled() which also takes parent windows into considerations.

See also:** [`set_enabled()`]
enabled

This function is deprecated. It is equivalent to isEnabled()
Returns ` true ` if this widget would become enabled if * ancestor * is enabled ; otherwise returns ` false . ` This is the case if neither the widget itself nor every parent up to but excluding * ancestor * has been explicitly disabled . isEnabledTo ( 0 ) returns false if this widget or any if its ancestors was explicitly disabled . The word ancestor here means a parent widget within the same window . Therefore isEnabledTo ( 0 ) stops at this widget ' s window unlike isEnabled () which also takes parent windows into considerations . See also : ** [ ` set_enabled () ` ] enabled This function is deprecated . It is equivalent to isEnabled ()
pub fn is_enabled(&self) -> bool {
        let (obj_data, funcs) = self.get_widget_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).is_enabled)(obj_data);
            ret_val
        }
    }
pub fn is_enabled ( & self ) -> bool { let ( obj_data , funcs ) = self . get_widget_obj_funcs ( ) ; unsafe { let ret_val = ( ( * funcs ) . is_enabled ) ( obj_data ) ; ret_val } }
Returns `true` if this widget would become enabled if *ancestor* is
enabled; otherwise returns `false.`
Returns ` true ` if this widget would become enabled if * ancestor * is enabled ; otherwise returns ` false . `
&self