class Gdk::Cursor
Public Class Methods
new(*args)
click to toggle source
Calls superclass method
# File lib/gdk3/cursor.rb, line 21 def new(*args) first_arg = args.first case first_arg when String, Symbol, CursorType @caches[first_arg] ||= super else super end end
new(*args)
click to toggle source
# File lib/gdk3/cursor.rb, line 33 def initialize(*args) if args.last.is_a?(Hash) options = args.pop else options = {} end display = options[:display] || Display.default initialize_raw(display, *args) end
Also aliased as: initialize_raw