Sha256: dc28100d840923aece6ee8c743009ff8fca1644ce9fdb14b248f097a42c81ce0
Contents?: true
Size: 680 Bytes
Versions: 9
Compression:
Stored size: 680 Bytes
Contents
# Wx::PG::PGProperty # Copyright (c) M.J.N. Corino, The Netherlands module Wx::PG NullProperty = nil PGChoicesEmptyData = nil PG_LABEL_STRING = '@!' unless self.const_defined?(:PG_LABEL_STRING) # disappeared >= wxWidgets 3.3.0 PG_LABEL = Wx::PG::PG_LABEL_STRING PG_DEFAULT_IMAGE_SIZE = Wx::DEFAULT_SIZE class PGProperty wx_each_attribute = instance_method :each_attribute define_method :each_attribute do |id| if block_given? wx_each_attribute.bind(self).call(id) else ::Enumerator.new { |y| wx_each_attribute.bind(self).call(id) { |variant| y << variant } } end end alias :attributes :each_attribute end end
Version data entries
9 entries across 9 versions & 1 rubygems