Method: RubyCurses#app_header
- Defined in:
- lib/rbcurse/core/widgets/rwidget.rb
#app_header(title, config = {}, &block) ⇒ Object
add a standard application header
Example
header = app_header "rbcurse ", :text_center => "Browser Demo", :text_right =>"New Improved!",
:color => :black, :bgcolor => :white, :attr => :bold
760 761 762 763 |
# File 'lib/rbcurse/core/widgets/rwidget.rb', line 760 def app_header title, config={}, &block require 'rbcurse/core/widgets/applicationheader' header = ApplicationHeader.new @form, title, config, &block end |