ranger.defaults.apps
index
/home/hut/work/ranger/ranger/defaults/apps.py

# Copyright (c) 2009, 2010 hut <hut@lavabit.com>
#
# Permission to use, copy, modify, and/or distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permission notice appear in all copies.
#
# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

 
Modules
       
os
sys

 
Classes
       
ranger.applications.Applications(builtins.object)
CustomApplications

 
class CustomApplications(ranger.applications.Applications)
    
Method resolution order:
CustomApplications
ranger.applications.Applications
builtins.object

Methods defined here:
app_aunpack(self, c)
app_default(self, c)
How to determine the default application?
app_editor = app_vim(self, c)
app_evince(self, c)
app_feh(self, c)
app_mplayer(self, c)
app_pager(self, c)
# ----------------------------------------- application definitions
app_vim(self, c)

Methods inherited from ranger.applications.Applications:
all(self)
Returns a list with all application functions
app_self(self, context)
Run the file itself
get(self, app)
Looks for an application, returns app_default if it doesn't exist
has(self, app)
Returns whether an application is defined

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

 
Data
        ALLOWED_FLAGS = 'sdpSDP'
PIPE = -1
devnull = <_io.TextIOWrapper name='/dev/null' encoding='UTF-8'>