2009-05-26 20:02:32 +02:00
|
|
|
plasmoid.configChanged = function()
|
|
|
|
{
|
|
|
|
plasmoid.activeConfig = "main";
|
|
|
|
print("Configuration changed: " + plasmoid.readConfig("Test"));
|
|
|
|
}
|
|
|
|
|
2009-05-13 02:55:25 +02:00
|
|
|
print(plasmoid.readConfig("Test"));
|
|
|
|
plasmoid.activeConfig = "secondary";
|
|
|
|
print(plasmoid.activeConfig);
|
|
|
|
print(plasmoid.readConfig("Test"));
|
2009-05-26 20:02:32 +02:00
|
|
|
plasmoid.writeConfig("Test", "A different text!");
|
2009-05-13 02:55:25 +02:00
|
|
|
print(plasmoid.readConfig("Test"));
|
|
|
|
|