class Gdk::Texture

Public Class Methods

try_convert(value) click to toggle source
# File lib/gdk4/texture.rb, line 20
def try_convert(value)
  case value
  when GdkPixbuf::Pixbuf
    new(value)
  else
    nil
  end
end