Sha256: 109b460b64c31d59132ba6825893a67f6ef4cda1d8c7a2f6a4562f4a6cdbda4d

Contents?: true

Size: 1.07 KB

Versions: 8

Compression:

Stored size: 1.07 KB

Contents

# :stopdoc:
# Copyright (c) 2023 M.J.N. Corino, The Netherlands
#
# This software is released under the MIT license.
# :startdoc:


class Wx

  # Searches for an art file with basename 'name' and creates a Cursor if found.
  # Raises an ArgumentError if not found.
  # Wx::ArtLocator::find_art is used to look up the art file using ::Kernel#caller_locations to
  # determine the values for the 'art_path' and 'art_section' arguments if not specified here
  # ('art_path' is set to the absolute path to the folder holding the caller's code and 'art_section'
  # to the basename of the caller's source file). The 'art_type' argument is set to <code>:cursor</code>.
  # @param [String,Symbol] name base name of art file
  # @param [Wx::BitmapType,nil] bmp_type bitmap type for art file (nil means any supported type)
  # @param [String,nil] art_path base path to look up the art file
  # @param [String,nil] art_section optional owner folder name for art files
  # @return [Wx::Cursor]
  # @see Wx::ArtLocator::find_art
  def self.Cursor(name, bmp_type = nil, art_path: nil, art_section: nil); end

end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
wxruby3-0.9.8 lib/wx/doc/cursor.rb
wxruby3-0.9.7 lib/wx/doc/cursor.rb
wxruby3-0.9.5 lib/wx/doc/cursor.rb
wxruby3-0.9.4 lib/wx/doc/cursor.rb
wxruby3-0.9.3 lib/wx/doc/cursor.rb
wxruby3-0.9.2 lib/wx/doc/cursor.rb
wxruby3-0.9.1 lib/wx/doc/cursor.rb
wxruby3-0.9.0 lib/wx/doc/cursor.rb