ranger.shared.settings
index
/home/hut/code/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
       
builtins.object
SettingsAware
ranger.ext.signal_dispatcher.SignalDispatcher(builtins.object)
SettingObject

 
class SettingObject(ranger.ext.signal_dispatcher.SignalDispatcher)
    
Method resolution order:
SettingObject
ranger.ext.signal_dispatcher.SignalDispatcher
builtins.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(builtins.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': <class 'bool'>, 'collapse_preview': <class 'bool'>, 'colorscheme': <class 'str'>, 'colorscheme_overlay': (<class 'NoneType'>, <class 'function'>), 'column_ratios': (<class 'tuple'>, <class 'list'>, <class 'set'>), 'dirname_in_tabs': <class 'bool'>, 'display_size_in_main_column': <class 'bool'>, 'display_size_in_status_bar': <class 'bool'>, 'draw_bookmark_borders': <class 'bool'>, 'draw_borders': <class 'bool'>, ...}