[Overview][Constants][Types][Procedures and functions][Index] |
Gets the directory name where the widgetset files are stored for the specified descriptive name.
Source position: lclplatformdef.pas line 43
function DisplayNameToDirName( |
const ADisplayName: string |
):string; |
ADisplayName |
|
Descriptive name for the requested widgetset directory. |
Directory name where the files for the specified widgetset are located.
DisplayNameToDirName is a String function used to convert the specified descriptive name for a widgetset to the directory where its files are stored.
The return value refers to a directory located in the ($LazarusDir)/lcl/interfaces directory.
ADisplayName contains the descriptive name for the widgetset as returned from DirNameToDisplayName, and should contain a value from the LCLPlatformDisplayNames constant. Case is not significant for the argument value.
DisplayNameToDirName iterates over the values in LCLPlatformDisplayNames to locate the position for the value in ADisplayName. The corresponding value from LCLPatformDirNames is used as the return value. If the specified descriptive name is not found, the value 'gtk2' is used.
Added in LCL 3.0.
|
Gets the platform enumeration value for the specified directory name. |
|
|
Represents the supported platforms for the LCL. |
|
|
Array constant with the directory names for supported LCL platforms. |
|
|
Array constant with the display names for supported LCL platforms. |
Version 3.2 | Generated 2024-02-25 | Home |