reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -5764,7 +5764,7 @@ class StandardPaths(object):
|
||||
"""
|
||||
Get() -> StandardPaths
|
||||
|
||||
Return the global standard paths object
|
||||
Return the global standard paths singleton
|
||||
"""
|
||||
return _misc_.StandardPaths_Get(*args, **kwargs)
|
||||
|
||||
@@ -5774,7 +5774,7 @@ class StandardPaths(object):
|
||||
GetConfigDir(self) -> String
|
||||
|
||||
Return the directory with system config files: /etc under Unix,
|
||||
c:\Documents and Settings\All Users\Application Data under Windows,
|
||||
'c:\Documents and Settings\All Users\Application Data' under Windows,
|
||||
/Library/Preferences for Mac
|
||||
"""
|
||||
return _misc_.StandardPaths_GetConfigDir(*args, **kwargs)
|
||||
@@ -5784,7 +5784,7 @@ class StandardPaths(object):
|
||||
GetUserConfigDir(self) -> String
|
||||
|
||||
Return the directory for the user config files: $HOME under Unix,
|
||||
c:\Documents and Settings\username under Windows,
|
||||
'c:\Documents and Settings\username' under Windows, and
|
||||
~/Library/Preferences under Mac
|
||||
|
||||
Only use this if you have a single file to put there, otherwise
|
||||
@@ -5798,7 +5798,7 @@ class StandardPaths(object):
|
||||
|
||||
Return the location of the application's global, (i.e. not
|
||||
user-specific,) data files: prefix/share/appname under Unix,
|
||||
c:\Program Filesppname under Windows,
|
||||
'c:\Program Files\appname' under Windows,
|
||||
appname.app/Contents/SharedSupport app bundle directory under Mac.
|
||||
"""
|
||||
return _misc_.StandardPaths_GetDataDir(*args, **kwargs)
|
||||
@@ -5819,7 +5819,7 @@ class StandardPaths(object):
|
||||
|
||||
Return the directory for the user-dependent application data files:
|
||||
$HOME/.appname under Unix, c:\Documents and
|
||||
Settings\username\Application Datappname under Windows and
|
||||
Settings\username\Application Data\appname under Windows and
|
||||
~/Library/Application Support/appname under Mac
|
||||
"""
|
||||
return _misc_.StandardPaths_GetUserDataDir(*args, **kwargs)
|
||||
@@ -5832,7 +5832,7 @@ class StandardPaths(object):
|
||||
with the other machines
|
||||
|
||||
Same as `GetUserDataDir` for all platforms except Windows where it is
|
||||
the 'Local Settings\Application Datappname' directory.
|
||||
the 'Local Settings\Application Data\appname' directory.
|
||||
"""
|
||||
return _misc_.StandardPaths_GetUserLocalDataDir(*args, **kwargs)
|
||||
|
||||
@@ -5847,11 +5847,23 @@ class StandardPaths(object):
|
||||
return _misc_.StandardPaths_GetPluginsDir(*args, **kwargs)
|
||||
|
||||
def SetInstallPrefix(*args, **kwargs):
|
||||
"""SetInstallPrefix(self, String prefix)"""
|
||||
"""
|
||||
SetInstallPrefix(self, String prefix)
|
||||
|
||||
Set the program installation directory which is /usr/local by default.
|
||||
This value will be used by other methods such as `GetDataDir` and
|
||||
`GetPluginsDir` as the prefix for what they return. (This function
|
||||
only has meaning on Unix systems.)
|
||||
"""
|
||||
return _misc_.StandardPaths_SetInstallPrefix(*args, **kwargs)
|
||||
|
||||
def GetInstallPrefix(*args, **kwargs):
|
||||
"""GetInstallPrefix(self) -> String"""
|
||||
"""
|
||||
GetInstallPrefix(self) -> String
|
||||
|
||||
Get the program installation prefix. The default is the prefix where
|
||||
Python is installed. (This function only has meaning on Unix systems.)
|
||||
"""
|
||||
return _misc_.StandardPaths_GetInstallPrefix(*args, **kwargs)
|
||||
|
||||
|
||||
@@ -5866,7 +5878,7 @@ def StandardPaths_Get(*args, **kwargs):
|
||||
"""
|
||||
StandardPaths_Get() -> StandardPaths
|
||||
|
||||
Return the global standard paths object
|
||||
Return the global standard paths singleton
|
||||
"""
|
||||
return _misc_.StandardPaths_Get(*args, **kwargs)
|
||||
|
||||
|
Reference in New Issue
Block a user