Sha256: 129f3e9d86f78801d4cc8686832273dd03f7ca100e58c60525e7f5d5d6688c69

Contents?: true

Size: 873 Bytes

Versions: 5

Compression:

Stored size: 873 Bytes

Contents

class Wx::Icon

  # Searches for an art file with basename 'name' and creates an Icon 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_owner' arguments ('art_path' is set to the
  # absolute path to the folder holding the caller's code and 'art_owner' to the basename of the
  # caller's source file). The 'art_type' argument is set to <code>:icon</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 [Integer] desired_width
  # @param [Integer] desired_height
  # @return [Wx::Icon]
  # @see Wx::ArtLocator::find_art
  def self.Icon(name, bmp_type = nil, desired_width=-1, desired_height=-1); end

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
wxruby3-0.9.0.pre.rc.3 lib/wx/doc/icon.rb
wxruby3-0.9.0.pre.rc.2 lib/wx/doc/icon.rb
wxruby3-0.9.0.pre.rc.1 lib/wx/doc/icon.rb
wxruby3-0.9.0.pre.beta.14 lib/wx/doc/icon.rb
wxruby3-0.9.0.pre.beta.13 lib/wx/doc/icon.rb