2020-03-20 20:28:31 +00:00
|
|
|
'use strict';
|
2018-10-23 14:57:13 +00:00
|
|
|
|
2020-03-20 20:28:31 +00:00
|
|
|
const electron = require('electron');
|
2018-10-23 14:57:13 +00:00
|
|
|
|
2020-03-20 20:28:31 +00:00
|
|
|
const { LabelButton } = electron;
|
|
|
|
const { MdTextButton } = process.electronBinding('md_text_button');
|
2018-10-23 14:57:13 +00:00
|
|
|
|
2020-03-20 20:28:31 +00:00
|
|
|
Object.setPrototypeOf(MdTextButton.prototype, LabelButton.prototype);
|
2018-10-23 14:57:13 +00:00
|
|
|
|
|
|
|
MdTextButton.prototype._init = function () {
|
|
|
|
// Call parent class's _init.
|
2020-03-20 20:28:31 +00:00
|
|
|
LabelButton.prototype._init.call(this);
|
|
|
|
};
|
2018-10-23 14:57:13 +00:00
|
|
|
|
2020-03-20 20:28:31 +00:00
|
|
|
module.exports = MdTextButton;
|