Class: Gdk::Cursor

Inherits:
Object
  • Object
show all
Extended by:
GLib::Deprecatable
Defined in:
lib/gdk4/cursor.rb,
lib/gdk4/deprecated.rb

Class Method Summary collapse

Class Method Details

.new(*args) ⇒ Object



21
22
23
24
25
26
27
28
29
# File 'lib/gdk4/cursor.rb', line 21

def new(*args)
  first_arg = args.first
  case first_arg
  when String, Symbol
    @caches[first_arg] ||= super
  else
    super
  end
end