| << inserthtml | Gui module | msgbox >> |
| r = lookandfeel() |
| ce = lookandfeel('available') |
| p = lookandfeel(lf) |
| ss = lookandfeel('stylesheet') |
| pp = lookandfeel('stylesheet', ss) |
a string: look and feel to apply.
a string: style sheet to apply.
a string: current look and feel.
a cell of strings: list of look and feel available.
a string: current style sheet applied.
a string: previous look and feel applied.
a string: previous style sheet applied.
lookandfeel manages look and feel Nelson application.
currentlf = lookandfeel();
lfs = lookandfeel('available')
for lf = lfs'
lookandfeel(lf{1})
sleep(10);
end
lookandfeel(currentlf)
currentstylesheet = lookandfeel('stylesheet')
stylefilename = [modulepath('gui'), '/resources/darkstyle.qss'];
edit(stylefilename)
newstyle = fileread(stylefilename);
previousstylesheet = lookandfeel('stylesheet', newstyle)
sleep(10);
lookandfeel('stylesheet', previousstylesheet)
| Version | Description |
|---|---|
| 1.0.0 | initial version |
Allan CORNET