X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/449090b54d2e74bfd28c217bab25d11764ca38cc..6c4fc6a8e3bea19621a328e66b3857ab01a5c15a:/docs/latex/wx/apptraits.tex diff --git a/docs/latex/wx/apptraits.tex b/docs/latex/wx/apptraits.tex index 39e0ff6a84..aba7737e8d 100644 --- a/docs/latex/wx/apptraits.tex +++ b/docs/latex/wx/apptraits.tex @@ -68,6 +68,15 @@ this is used in GUI mode only and always returns \NULL in console. NOTE: returned pointer will be deleted by the caller. +\membersection{wxAppTraits::GetDesktopEnvironment}\label{wxapptraitsgetdesktopenvironment} + +\constfunc{virtual wxString}{GetDesktopEnvironment}{\void} + +This method returns the name of the desktop environment currently +running in a Unix desktop. Currently only "KDE" or "GNOME" are +supported and the code uses the X11 session protocol vendor name +to figure out, which desktop environment is running. The method +returns an empty string otherwise and on all other platforms. \membersection{wxAppTraits::GetStandardPaths}\label{wxapptraitsgetstandardpaths} @@ -115,3 +124,4 @@ Shows the assert dialog with the specified message in GUI mode or just prints the string to stderr in console mode. Returns \true to suppress subsequent asserts, \false to continue as before. +