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