class Smartdict::Gui::InterchangeButton
Public Class Methods
new(controller)
click to toggle source
Calls superclass method
# File lib/smartdict/gui/interchange_button.rb, line 4 def initialize(controller) super('') @controller = controller signal_connect('clicked') { @controller.interchange_langs } image = Gtk::Image.new(Smartdict::Icons.interchange) set_image image image.show set_size_request(60, LEFT_BOX_BUTTON_HEIGHT) end