Search notes:

Stellarium API: deleteLabel

//  vim: ft=javascript
//
//  ..\runScript.bat deleteLabel.ssc
//  

var lbl_1 = LabelMgr.labelScreen("Some Text", 10, 10, true, 20, '#ffc08b');
core.wait(1);

var lbl_2 = LabelMgr.labelScreen("More Text", 10, 40, true, 20, '#ffc08b');
core.wait(1);

LabelMgr.deleteLabel(lbl_1);
lbl_1 = LabelMgr.labelScreen("Another Text", 10, 10, true, 20, '#ffc08b');

core.wait(1);

LabelMgr.deleteAllLabels();

Github repository about-Stellarium, path: /API/LabelMgr/deleteLabel.ssc

See also

Stellarium Script API

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/Wissensc...', 1758201387, '216.73.216.150', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/Wissenschaft/Astronomie/tools/Stellarium/script/API/LabelMgr/deleteLabel(56): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78