Class: Gtk::StockItem
- Inherits:
-
Object
- Object
- Gtk::StockItem
- Defined in:
- lib/gtk3/stock-item.rb
Instance Method Summary collapse
Instance Method Details
#[](*args) ⇒ Object
19 20 21 22 23 24 |
# File 'lib/gtk3/stock-item.rb', line 19 def [](*args) warn("#{self.class}\##{__method__} is deprecated. " + "Use \#stock_id, \#label, \#modifier, \#keyval and " + "\#translation_domain instead.") to_a[*args] end |
#to_a ⇒ Object
26 27 28 29 30 31 32 33 34 |
# File 'lib/gtk3/stock-item.rb', line 26 def to_a [ stock_id, label, modifier, keyval, translation_domain, ] end |