class Widgets::Power
A simple power button
Public Class Methods
Source
# File src/widgets/power.rb, line 6 def initialize options options[:on_click] ||= proc { `notify-send 'imagine a shutdown'` } super @button = Gtk::Button.new label: "" append @button end
Calls superclass method
Widgets::Widget::new