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
sys

 
Classes
       
__builtin__.object
SettingsAware
ranger.ext.signal_dispatcher.SignalDispatcher(__builtin__.object)
SettingObject

 
class SettingObject(ranger.ext.signal_dispatcher.SignalDispatcher)
    
Method resolution order:
SettingObject
ranger.ext.signal_dispatcher.SignalDispatcher
__builtin__.object

Methods defined here:
__getattr__(self, name)
__getitem__ = __getattr__(self, name)
__init__(self)
__iter__(self)
__setattr__(self, name, value)
__setitem__ = __setattr__(self, name, value)
types_of(self, name)

Methods inherited from ranger.ext.signal_dispatcher.SignalDispatcher:
signal_bind(self, signal_name, function, priority=0.5, weak=False)
signal_clear = __init__(self)
signal_emit(self, signal_name, **kw)
signal_unbind(self, signal_handler)

Data descriptors inherited from ranger.ext.signal_dispatcher.SignalDispatcher:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
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 = {}

 
Data
        ALLOWED_SETTINGS = {'autosave_bookmarks': <type 'bool'>, 'collapse_preview': <type 'bool'>, 'colorscheme': <type 'str'>, 'colorscheme_overlay': (<type 'NoneType'>, <type 'function'>), 'column_ratios': (<type 'tuple'>, <type 'list'>, <type 'set'>), 'dirname_in_tabs': <type 'bool'>, 'display_size_in_main_column': <type 'bool'>, 'display_size_in_status_bar': <type 'bool'>, 'draw_bookmark_borders': <type 'bool'>, 'draw_borders': <type 'bool'>, ...}