Sha256: e7828ce1e16fc3444b21a4038a4c3a9dd6252464b371ac5f741c1bc16b1d1047
Contents?: true
Size: 1.51 KB
Versions: 7
Compression:
Stored size: 1.51 KB
Contents
# :stopdoc: # Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. # :startdoc: module Wx # Default BitmapType for current platform. Actual value is platform dependent. ICON_DEFAULT_TYPE = Wx::BitmapType::BITMAP_TYPE_ANY # Default BitmapType for current platform. Actual value is platform dependent. BITMAP_DEFAULT_TYPE = Wx::BitmapType::BITMAP_TYPE_ANY # Default BitmapType for current platform. Actual value is platform dependent. CURSOR_DEFAULT_TYPE = Wx::BitmapType::BITMAP_TYPE_ANY # Searches for an art file with basename 'name' and creates a Bitmap 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>:bitmap</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::Bitmap] # @see Wx::ArtLocator::find_art def self.Bitmap(name, bmp_type = nil, art_path: nil, art_section: nil); end end
Version data entries
7 entries across 7 versions & 1 rubygems