Sha256: 495c7666bdeb6257854ae8becb8db8be6cea2b2a15957113833dc6bbadae8305
Contents?: true
Size: 1.09 KB
Versions: 3
Compression:
Stored size: 1.09 KB
Contents
module VER module Help class HelpForHelp def initialize(parent) @parent = parent setup_widgets setup_tags end def setup_widgets font, tabs = VER.options.values_at(:font, :tabs) @text = Tk::Text.new(@parent, autoseparators: true, # insert separators into the undo flow borderwidth: 0, exportselection: true, # copy into X11 buffer automatically font: font, insertofftime: 0, # blinking cursor be gone! setgrid: true, # tell the wm that this is a griddy window takefocus: true, tabs: tabs, tabstyle: :wordprocessor, undo: true, # enable undo capabilities wrap: :word ) @text.pack @text.insert(:end, <<-'HELP') Welcome to the internal Help system of VER. You most likely got here by pressing [<Help.help_for_help>]. You can close the help using [<Views.view_close>]. HELP end def setup_tags end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ver-2009.12.14 | lib/ver/help/help_for_help.rb |
ver-2009.11.29 | lib/ver/help/help_for_help.rb |
ver-2009.11.28 | lib/ver/help/help_for_help.rb |