Module: RubyCurses

Extended by:
RubyCurses
Includes:
ColorMap
Included in:
RubyCurses
Defined in:
lib/rbcurse/rtree.rb,
lib/rbcurse/app.rb,
lib/rbcurse/rmenu.rb,
lib/rbcurse/action.rb,
lib/rbcurse/rcombo.rb,
lib/rbcurse/rtable.rb,
lib/rbcurse/rwidget.rb,
lib/rbcurse/listkeys.rb,
lib/rbcurse/rlistbox.rb,
lib/rbcurse/rprogress.rb,
lib/rbcurse/rtextarea.rb,
lib/rbcurse/rtextview.rb,
lib/rbcurse/rviewport.rb,
lib/rbcurse/rvimsplit.rb,
lib/rbcurse/celleditor.rb,
lib/rbcurse/rpopupmenu.rb,
lib/rbcurse/rsplitpane.rb,
lib/rbcurse/rmessagebox.rb,
lib/rbcurse/rmultisplit.rb,
lib/rbcurse/rscrollform.rb,
lib/rbcurse/rscrollpane.rb,
lib/rbcurse/rsplitpane2.rb,
lib/rbcurse/rtabbedpane.rb,
lib/rbcurse/undomanager.rb,
lib/rbcurse/extras/rlink.rb,
lib/rbcurse/ractionevent.rb,
lib/rbcurse/rchangeevent.rb,
lib/rbcurse/extras/viewer.rb,
lib/rbcurse/rbasiclistbox.rb,
lib/rbcurse/rtabbedwindow.rb,
lib/rbcurse/extras/divider.rb,
lib/rbcurse/extras/tabular.rb,
lib/rbcurse/listselectable.rb,
lib/rbcurse/rcommandwindow.rb,
lib/rbcurse/rmultitextview.rb,
lib/rbcurse/tree/treemodel.rb,
lib/rbcurse/extras/menutree.rb,
lib/rbcurse/keylabelprinter.rb,
lib/rbcurse/rinputdataevent.rb,
lib/rbcurse/rmulticontainer.rb,
lib/rbcurse/extras/rmenulink.rb,
lib/rbcurse/extras/scrollbar.rb,
lib/rbcurse/listcellrenderer.rb,
lib/rbcurse/applicationheader.rb,
lib/rbcurse/extras/bottomline.rb,
lib/rbcurse/extras/statusline.rb,
lib/rbcurse/extras/focusmanager.rb,
lib/rbcurse/extras/stdscrwindow.rb,
lib/rbcurse/checkboxcellrenderer.rb,
lib/rbcurse/comboboxcellrenderer.rb,
lib/rbcurse/extras/directorylist.rb,
lib/rbcurse/extras/directorytree.rb,
lib/rbcurse/extras/tabularwidget.rb,
lib/rbcurse/extras/listselectable.rb,
lib/rbcurse/tree/treecellrenderer.rb,
lib/rbcurse/table/tablecellrenderer.rb,
lib/rbcurse/defaultlistselectionmodel.rb,
lib/rbcurse/table/tabledatecellrenderer.rb

Overview

2010-09-21 19:43 source now contains List object, not this class

Defined Under Namespace

Modules: ConfigSetup, EventHandler, FocusManager, ListKeys, ListSelectable, NewListSelectable, Utils Classes: AbstractUndo, Action, ActionEvent, App, ApplicationHeader, BasicListCellRenderer, BasicListbox, Bottomline, BufferManager, Button, CellEditor, ChangeEvent, CheckBox, CheckBoxCellRenderer, CheckBoxMenuItem, ColumnResizeEvent, ComboBox, ComboBoxCellRenderer, CommandWindow, Coord, DefaultListSelectionModel, DefaultTableColumnModel, DefaultTableModel, DefaultTreeModel, DirectoryList, DirectoryListCellRenderer, DirectoryTree, Divider, DragEvent, Event, Field, FieldValidationException, Form, History, IllegalStateException, InputDataEvent, ItemEvent, KeyLabelPrinter, Label, Link, ListCellRenderer, ListDataEvent, ListDataModel, ListSelectionEvent, Listbox, Menu, MenuBar, MenuItem, MenuLink, MenuSeparator, MenuTree, MessageBox, MultiContainer, MultiSplit, MultiTextView, PCheckBoxMenuItem, PMenu, PMenuBar, PMenuItem, PMenuSeparator, PopupList, PopupMenu, Progress, PropertyChangeEvent, PropertyVetoException, RBuffer, RComponents, RadioButton, ResizeEvent, ScrollForm, ScrollPane, Scrollbar, SimpleUndo, Split, SplitPane, StatusLine, StdscrWindow, TabbedButton, TabbedPane, TabbedWindow, Table, TableCellRenderer, TableColumn, TableColumnModel, TableColumnModelEvent, TableDateCellRenderer, TableEditingEvent, TableHeader, TableModel, TableModelEvent, TableTraversalEvent, Tabular, TabularWidget, TextActionEvent, TextArea, TextView, ToggleButton, Tree, TreeCellRenderer, TreeModelEvent, TreeNode, Variable, Viewer, Viewport, VimSplit, Widget

Constant Summary collapse

META_KEY =
128

Class Method Summary collapse

Instance Method Summary collapse

Methods included from ColorMap

colors, get_color, get_color_const, get_colors_for_pair, install_color, is_color?, setup

Class Method Details

.startupObject

class radio



2653
2654
2655
2656
2657
2658
2659
# File 'lib/rbcurse/rwidget.rb', line 2653

def self.startup
  VER::start_ncurses
  path = File.join(ENV["LOGDIR"] || "./" ,"rbc13.log")
  file   = File.open(path, File::WRONLY|File::TRUNC|File::CREAT) 
  $log = Logger.new(path)
  $log.level = Logger::DEBUG
end

Instance Method Details

#repaint_oldObject



115
116
# File 'lib/rbcurse/rprogress.rb', line 115

def repaint_old
end

#status_line(config = {}, &block) ⇒ Object

prints a status line at bottom where mode’s statuses et can be reflected



499
500
501
502
# File 'lib/rbcurse/rwidget.rb', line 499

def status_line config={}, &block
  require 'rbcurse/extras/statusline'
  sl = RubyCurses::StatusLine.new @form, config, &block
end