Sha256: 6e67684844b19751b5214ff774d23f2c9996ec9e8a203ad6ab16454d926006fc

Contents?: true

Size: 891 Bytes

Versions: 5

Compression:

Stored size: 891 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-x64-mingw-ucrt lib/wx/doc/icon.rb
wxruby3-0.9.0.pre.rc.2-x64-mingw-ucrt lib/wx/doc/icon.rb
wxruby3-0.9.0.pre.rc.1-x64-mingw-ucrt lib/wx/doc/icon.rb
wxruby3-0.9.0.pre.beta.14-x64-mingw-ucrt lib/wx/doc/icon.rb
wxruby3-0.9.0.pre.beta.13-x64-mingw-ucrt lib/wx/doc/icon.rb