Sha256: d4ca6a42f81c6a6357e7bc1240a8f61a773b51ec6fa98f499cc74a1223058d29
Contents?: true
Size: 556 Bytes
Versions: 4
Compression:
Stored size: 556 Bytes
Contents
require 'rbhex/core/widgets/rlink' ## module RubyCurses 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
4 entries across 4 versions & 1 rubygems