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
|
2019-03-18 19:37:06 +00:00
|
|
|
const { LabelButton } = process.electronBinding('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
|