Class: Phew::ScriptList

Inherits:
Gtk::ComboBoxText
  • Object
show all
Defined in:
lib/phew/script_list.rb

Overview

Drop-down list of available scripts.

Instance Method Summary collapse

Instance Method Details

#fillObject

FIXME: Should be able to fill inside #initialize



10
11
12
13
14
# File 'lib/phew/script_list.rb', line 10

def fill
  Pango::Script::Enum.symbols
    .map(&:to_s)
    .each { |str| append str, str }
end