import PropTypes from 'prop-types' ; import Gtk from '../gtk' ; import Element from './Element' ; export default class PlacesSidebar extends Element { static propTypes = { localOnly : PropTypes . bool , location : PropTypes . object , openFlags : PropTypes . object , populateAll : PropTypes . bool , showConnectToServer : PropTypes . bool , showDesktop : PropTypes . bool , showEnterLocation : PropTypes . bool , showOtherLocations : PropTypes . bool , showRecent : PropTypes . bool , showStarredLocation : PropTypes . bool , showTrash : PropTypes . bool , hadjustment : PropTypes . object , hscrollbarPolicy : PropTypes . object , kineticScrolling : PropTypes . bool , maxContentHeight : PropTypes . number , maxContentWidth : PropTypes . number , minContentHeight : PropTypes . number , minContentWidth : PropTypes . number , overlayScrolling : PropTypes . bool , propagateNaturalHeight : PropTypes . bool , propagateNaturalWidth : PropTypes . bool , shadowType : PropTypes . object , vadjustment : PropTypes . object , vscrollbarPolicy : PropTypes . object , windowPlacement : PropTypes . object , windowPlacementSet : PropTypes . bool , borderWidth : PropTypes . number , child : PropTypes . object , resizeMode : PropTypes . object } ; static defaultProps = { localOnly : null , location : null , openFlags : null , populateAll : null , showConnectToServer : null , showDesktop : null , showEnterLocation : null , showOtherLocations : null , showRecent : null , showStarredLocation : null , showTrash : null , hadjustment : null , hscrollbarPolicy : null , kineticScrolling : null , maxContentHeight : null , maxContentWidth : null , minContentHeight : null , minContentWidth : null , overlayScrolling : null , propagateNaturalHeight : null , propagateNaturalWidth : null , shadowType : null , vadjustment : null , vscrollbarPolicy : null , windowPlacement : null , windowPlacementSet : null , borderWidth : null , child : null , resizeMode : null } ; constructor ( props = { } ) { super ( new Gtk . PlacesSidebar ( ) , props , { isContainer : true } ) ; } addShortcut ( location ) { return this . node . addShortcut ( location ) ; } listShortcuts ( ) { return this . node . listShortcuts ( ) ; } removeShortcut ( location ) { return this . node . removeShortcut ( location ) ; } addWithViewport ( child ) { return this . node . addWithViewport ( child ) ; } unsetPlacement ( ) { return this . node . unsetPlacement ( ) ; } 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 ( ) ; } }