import PropTypes from 'prop-types' ; import Gtk from '../gtk' ; import Element from './Element' ; export default class HScale extends Element { static propTypes = { digits : PropTypes . number , drawValue : PropTypes . bool , hasOrigin : PropTypes . bool , valuePos : PropTypes . object , adjustment : PropTypes . object , fillLevel : PropTypes . number , inverted : PropTypes . bool , lowerStepperSensitivity : PropTypes . object , restrictToFillLevel : PropTypes . bool , roundDigits : PropTypes . number , showFillLevel : PropTypes . bool , upperStepperSensitivity : PropTypes . object } ; static defaultProps = { digits : null , drawValue : null , hasOrigin : null , valuePos : null , adjustment : null , fillLevel : null , inverted : null , lowerStepperSensitivity : null , restrictToFillLevel : null , roundDigits : null , showFillLevel : null , upperStepperSensitivity : null } ; constructor ( props = { } ) { super ( new Gtk . HScale ( ) , props ) ; } addMark ( value , position , markup ) { return this . node . addMark ( value , position , markup ) ; } clearMarks ( ) { return this . node . clearMarks ( ) ; } }