2018-05-24 08:11:08 +00:00
|
|
|
'use strict'
|
|
|
|
|
|
|
|
const electron = require('electron')
|
|
|
|
|
2018-09-13 16:10:51 +00:00
|
|
|
const { Button } = electron
|
|
|
|
const { LabelButton } = process.atomBinding('label_button')
|
2018-05-24 08:11:08 +00:00
|
|
|
|
|
|
|
Object.setPrototypeOf(LabelButton.prototype, Button.prototype)
|
|
|
|
|
|
|
|
LabelButton.prototype._init = function () {
|
|
|
|
// Call parent class's _init.
|
|
|
|
Button.prototype._init.call(this)
|
|
|
|
}
|
|
|
|
|
|
|
|
module.exports = LabelButton
|