import PropTypes from 'prop-types' ; import Gtk from '../gtk' ; import Element from './Element' ; export default class TextView extends Element { static propTypes = { acceptsTab : PropTypes . bool , bottomMargin : PropTypes . number , buffer : PropTypes . object , cursorVisible : PropTypes . bool , editable : PropTypes . bool , imModule : PropTypes . string , indent : PropTypes . number , inputHints : PropTypes . object , inputPurpose : PropTypes . object , justification : PropTypes . object , leftMargin : PropTypes . number , monospace : PropTypes . bool , overwrite : PropTypes . bool , pixelsAboveLines : PropTypes . number , pixelsBelowLines : PropTypes . number , pixelsInsideWrap : PropTypes . number , populateAll : PropTypes . bool , rightMargin : PropTypes . number , tabs : PropTypes . object , topMargin : PropTypes . number , wrapMode : PropTypes . object , borderWidth : PropTypes . number , child : PropTypes . object , resizeMode : PropTypes . object } ; static defaultProps = { acceptsTab : null , bottomMargin : null , buffer : null , cursorVisible : null , editable : null , imModule : null , indent : null , inputHints : null , inputPurpose : null , justification : null , leftMargin : null , monospace : null , overwrite : null , pixelsAboveLines : null , pixelsBelowLines : null , pixelsInsideWrap : null , populateAll : null , rightMargin : null , tabs : null , topMargin : null , wrapMode : null , borderWidth : null , child : null , resizeMode : null } ; constructor ( props = { } ) { super ( new Gtk . TextView ( ) , props , { isContainer : true } ) ; } addChildAtAnchor ( child , anchor ) { return this . node . addChildAtAnchor ( child , anchor ) ; } addChildInWindow ( child , whichWindow , xpos , ypos ) { return this . node . addChildInWindow ( child , whichWindow , xpos , ypos ) ; } backwardDisplayLine ( iter ) { return this . node . backwardDisplayLine ( iter ) ; } backwardDisplayLineStart ( iter ) { return this . node . backwardDisplayLineStart ( iter ) ; } bufferToWindowCoords ( win , bufferX , bufferY , windowX , windowY ) { return this . node . bufferToWindowCoords ( win , bufferX , bufferY , windowX , windowY ) ; } forwardDisplayLine ( iter ) { return this . node . forwardDisplayLine ( iter ) ; } forwardDisplayLineEnd ( iter ) { return this . node . forwardDisplayLineEnd ( iter ) ; } imContextFilterKeypress ( event ) { return this . node . imContextFilterKeypress ( event ) ; } moveChild ( child , xpos , ypos ) { return this . node . moveChild ( child , xpos , ypos ) ; } moveMarkOnscreen ( mark ) { return this . node . moveMarkOnscreen ( mark ) ; } moveVisually ( iter , count ) { return this . node . moveVisually ( iter , count ) ; } placeCursorOnscreen ( ) { return this . node . placeCursorOnscreen ( ) ; } resetCursorBlink ( ) { return this . node . resetCursorBlink ( ) ; } resetImContext ( ) { return this . node . resetImContext ( ) ; } scrollMarkOnscreen ( mark ) { return this . node . scrollMarkOnscreen ( mark ) ; } scrollToIter ( iter , withinMargin , useAlign , xalign , yalign ) { return this . node . scrollToIter ( iter , withinMargin , useAlign , xalign , yalign ) ; } scrollToMark ( mark , withinMargin , useAlign , xalign , yalign ) { return this . node . scrollToMark ( mark , withinMargin , useAlign , xalign , yalign ) ; } startsDisplayLine ( iter ) { return this . node . startsDisplayLine ( iter ) ; } windowToBufferCoords ( win , windowX , windowY , bufferX , bufferY ) { return this . node . windowToBufferCoords ( win , windowX , windowY , bufferX , bufferY ) ; } 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 ( ) ; } }