import PropTypes from 'prop-types' ; import Gtk from '../gtk' ; import Element from './Element' ; export default class IconView extends Element { static propTypes = { activateOnSingleClick : PropTypes . bool , cellArea : PropTypes . object , columnSpacing : PropTypes . number , columns : PropTypes . number , itemOrientation : PropTypes . object , itemPadding : PropTypes . number , itemWidth : PropTypes . number , margin : PropTypes . number , markupColumn : PropTypes . number , model : PropTypes . object , pixbufColumn : PropTypes . number , reorderable : PropTypes . bool , rowSpacing : PropTypes . number , selectionMode : PropTypes . object , spacing : PropTypes . number , textColumn : PropTypes . number , tooltipColumn : PropTypes . number , borderWidth : PropTypes . number , child : PropTypes . object , resizeMode : PropTypes . object } ; static defaultProps = { activateOnSingleClick : null , cellArea : null , columnSpacing : null , columns : null , itemOrientation : null , itemPadding : null , itemWidth : null , margin : null , markupColumn : null , model : null , pixbufColumn : null , reorderable : null , rowSpacing : null , selectionMode : null , spacing : null , textColumn : null , tooltipColumn : null , borderWidth : null , child : null , resizeMode : null } ; constructor ( props = { } ) { super ( new Gtk . IconView ( ) , props , { isContainer : true } ) ; } convertWidgetToBinWindowCoords ( wx , wy , bx , by ) { return this . node . convertWidgetToBinWindowCoords ( wx , wy , bx , by ) ; } createDragIcon ( path ) { return this . node . createDragIcon ( path ) ; } enableModelDragDest ( targets , nTargets , actions ) { return this . node . enableModelDragDest ( targets , nTargets , actions ) ; } enableModelDragSource ( startButtonMask , targets , nTargets , actions ) { return this . node . enableModelDragSource ( startButtonMask , targets , nTargets , actions ) ; } itemActivated ( path ) { return this . node . itemActivated ( path ) ; } pathIsSelected ( path ) { return this . node . pathIsSelected ( path ) ; } scrollToPath ( path , useAlign , rowAlign , colAlign ) { return this . node . scrollToPath ( path , useAlign , rowAlign , colAlign ) ; } selectAll ( ) { return this . node . selectAll ( ) ; } selectPath ( path ) { return this . node . selectPath ( path ) ; } selectedForeach ( func , data ) { return this . node . selectedForeach ( func , data ) ; } unselectAll ( ) { return this . node . unselectAll ( ) ; } unselectPath ( path ) { return this . node . unselectPath ( path ) ; } unsetModelDragDest ( ) { return this . node . unsetModelDragDest ( ) ; } unsetModelDragSource ( ) { return this . node . unsetModelDragSource ( ) ; } 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 ( ) ; } }