Module: GirFFIGtk::ImageClassOverrides
- Defined in:
- lib/gir_ffi-gtk/image.rb
Overview
Overrides for GtkImage class methods
Instance Method Summary collapse
Instance Method Details
#new_from_gicon(icon, size) ⇒ Object
17 18 19 |
# File 'lib/gir_ffi-gtk/image.rb', line 17 def new_from_gicon(icon, size) super(icon, Gtk::IconSize.to_int(size)) end |
#new_from_icon_name(icon_name, size) ⇒ Object
13 14 15 |
# File 'lib/gir_ffi-gtk/image.rb', line 13 def new_from_icon_name(icon_name, size) super(icon_name, Gtk::IconSize.to_int(size)) end |