Class: Gdk::Cursor
- Inherits:
-
Object
- Object
- Gdk::Cursor
- Extended by:
- GLib::Deprecatable
- Defined in:
- lib/gdk3/cursor.rb,
lib/gdk3/deprecated.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(*args) ⇒ Cursor
constructor
A new instance of Cursor.
- #initialize_raw ⇒ Object
Constructor Details
Class Method Details
.new(*args) ⇒ Object
21 22 23 24 25 26 27 28 29 |
# 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 |
Instance Method Details
#initialize_raw ⇒ Object
32 |
# File 'lib/gdk3/cursor.rb', line 32 alias_method :initialize_raw, :initialize |