Sha256: 48c250abfab5df351da320852747c564ae899bc463e6d91d737158a8454e0799
Contents?: true
Size: 551 Bytes
Versions: 3
Compression:
Stored size: 551 Bytes
Contents
require 'rbhex/core/widgets/rlink' ## module Rbhex class MenuLink < Link dsl_property :description def initialize form, config={}, &block config[:hotkey] = true super @col_offset = -1 * (@col || 1) @row_offset = -1 * (@row || 1) end # added for some standardization 2010-09-07 20:28 # alias :text :getvalue # NEXT VERSION # change existing text to label def getvalue_for_paint "%s %-12s - %-s" % [ @mnemonic , getvalue(), @description ] end ## end # class end # module
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
rbhex-core-1.1.0.alpha6 | lib/rbhex/core/widgets/rmenulink.rb |
rbhex-core-1.1.0.alpha5 | lib/rbhex/core/widgets/rmenulink.rb |
rbhex-core-1.1.0.alpha4 | lib/rbhex/core/widgets/rmenulink.rb |