Class: Smartdict::Gui::WordEntry
- Inherits:
-
Gtk::Entry
- Object
- Gtk::Entry
- Smartdict::Gui::WordEntry
- Defined in:
- lib/smartdict/gui/word_entry.rb
Instance Method Summary collapse
-
#initialize(controller) ⇒ WordEntry
constructor
A new instance of WordEntry.
Constructor Details
#initialize(controller) ⇒ WordEntry
Returns a new instance of WordEntry.
4 5 6 7 8 |
# File 'lib/smartdict/gui/word_entry.rb', line 4 def initialize(controller) super() @controller = controller signal_connect('activate') { @controller.translate } end |