ranger.shared.settings
index
/home/hut/ranger/ranger/shared/settings.py

# Copyright (C) 2009, 2010  Roman Zimbelmann <romanz@lavabit.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.

 
Modules
       
ranger
types

 
Classes
       
__builtin__.object
SettingsAware

 
class SettingsAware(__builtin__.object)
    # -- globalize the settings --
 
  Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Data and other attributes defined here:
settings = {}

 
Functions
       
check_option_types(opt)

 
Data
        ALLOWED_SETTINGS = {'autosave_bookmarks': <type 'bool'>, 'collapse_preview': <type 'bool'>, 'colorscheme': (<class 'ranger.gui.colorscheme.ColorScheme'>, <type 'module'>), 'directories_first': <type 'bool'>, 'flushinput': <type 'bool'>, 'hidden_filter': <function <lambda> at 0x1bf4c80>, 'max_filesize_for_preview': (<type 'int'>, <type 'NoneType'>), 'max_history_size': (<type 'int'>, <type 'NoneType'>), 'preview_files': <type 'bool'>, 'reverse': <type 'bool'>, ...}