import PropTypes from 'prop-types' ; import Gtk from '../gtk' ; import Element from './Element' ; export default class PopoverMenu extends Element { static propTypes = { visibleSubmenu : PropTypes . string , constrainTo : PropTypes . object , modal : PropTypes . bool , pointingTo : PropTypes . object , position : PropTypes . object , relativeTo : PropTypes . object , transitionsEnabled : PropTypes . bool , borderWidth : PropTypes . number , child : PropTypes . object , resizeMode : PropTypes . object } ; static defaultProps = { visibleSubmenu : null , constrainTo : null , modal : null , pointingTo : null , position : null , relativeTo : null , transitionsEnabled : null , borderWidth : null , child : null , resizeMode : null } ; constructor ( props = { } ) { super ( new Gtk . PopoverMenu ( ) , props , { isContainer : true } ) ; } openSubmenu ( name ) { return this . node . openSubmenu ( name ) ; } bindModel ( model , actionNamespace ) { return this . node . bindModel ( model , actionNamespace ) ; } popdown ( ) { return this . node . popdown ( ) ; } popup ( ) { return this . node . popup ( ) ; } add ( widget ) { return this . node . add ( widget ) ; } addWithProperties ( widget , firstPropName , ___ ) { return this . node . addWithProperties ( widget , firstPropName , ___ ) ; } checkResize ( ) { return this . node . checkResize ( ) ; } childGet ( child , firstPropName , ___ ) { return this . node . childGet ( child , firstPropName , ___ ) ; } childGetProperty ( child , propertyName , value ) { return this . node . childGetProperty ( child , propertyName , value ) ; } childGetValist ( child , firstPropertyName , varArgs ) { return this . node . childGetValist ( child , firstPropertyName , varArgs ) ; } childNotify ( child , childProperty ) { return this . node . childNotify ( child , childProperty ) ; } childNotifyByPspec ( child , pspec ) { return this . node . childNotifyByPspec ( child , pspec ) ; } childSet ( child , firstPropName , ___ ) { return this . node . childSet ( child , firstPropName , ___ ) ; } childSetProperty ( child , propertyName , value ) { return this . node . childSetProperty ( child , propertyName , value ) ; } childSetValist ( child , firstPropertyName , varArgs ) { return this . node . childSetValist ( child , firstPropertyName , varArgs ) ; } childType ( ) { return this . node . childType ( ) ; } forall ( callback , callbackData ) { return this . node . forall ( callback , callbackData ) ; } foreach ( callback , callbackData ) { return this . node . foreach ( callback , callbackData ) ; } propagateDraw ( child , cr ) { return this . node . propagateDraw ( child , cr ) ; } remove ( widget ) { return this . node . remove ( widget ) ; } resizeChildren ( ) { return this . node . resizeChildren ( ) ; } unsetFocusChain ( ) { return this . node . unsetFocusChain ( ) ; } }