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