Module: Gdk::Paintable
- Defined in:
- lib/gdk4/paintable.rb
Class Method Summary collapse
Class Method Details
.try_convert(value) ⇒ Object
20 21 22 23 24 25 26 27 |
# File 'lib/gdk4/paintable.rb', line 20 def try_convert(value) case value when GdkPixbuf::Pixbuf Texture.new(value) else nil end end |