Início > comp > gb.settings 
 en fr de es it nl pl pt mk sq ca hu cs tr ar fa id vi ko ja ru zh zh_TW eo
Anterior  Próximo  Editar  Renomear  Desfazer  Procurar  Administração  
Documentação  
Cuidado! Esta página não está traduziada.  Veja a versão em inglês 
gb.settings
This componente allows your project to deal with application configuration files.

Classes
Settings

Configuration Files

These files, typically called "xyzzy.conf" (where "xyzzy" is the name of your application), can be interrogated to obtain locally specific settings and can be used to store such settings between invocations of the application.

Configuration File Syntax

A configuration file is a text file, in which each line is:

A value is accessed from its full key, which is the slot name followed by a slash and the key.

A slot name can contain slashes too.

Exemplo

[Editor]
Font="Bitstream Vera Sans Mono"
Toolbar=1
CleanOnSave=0
ShowProc=1
ShowChange=1
ShowCurrent=1
UseRelief=1
Color[0]="&FFFFFF&"
Color[1]="&000000&"
Color[2]="&00C0A0&"
Color[3]="&00C000&"

[ExistingFile]
ExplorerType=0
Splitter="249,249"
TreeSequence="0"
PreviewImg=0
ShowHidden=0

[ExistingImage]
Path="/usr/share/icons/crystalsvg/64x64/devices"
Key="1"
ExplorerType=1
Splitter="212,434"
TreeSequence="1"
PreviewImg=1
ShowHidden=0

[...]