Sha256: c10b3f0859f5d0b5c78f916810dd6a4cd1d32f119013088c4b5737e6f54a0d8e
Contents?: true
Size: 529 Bytes
Versions: 7
Compression:
Stored size: 529 Bytes
Contents
require 'rbcurse' ## module RubyCurses class Link < Button dsl_property :description def initialize form, config={}, &block super @text_offset = 0 # haha we've never done this, pin the cursor up on 0,0 @col_offset = -1 if @mnemonic form.bind_key(@mnemonic.downcase, self){ self.fire } end @display_length = config[:width] end def fire super self.focus end def getvalue_for_paint getvalue() end ## end # class end # module
Version data entries
7 entries across 7 versions & 2 rubygems