Rebol3 - How do you extract all the GUI styles with descriptions in Rebol3 after load-gui is evaluated?

StackOverflow https://stackoverflow.com/questions/17538887

  •  02-06-2022
  •  | 
  •  

Pergunta

(edited per suggestions)

How do you extract all the GUI styles with descriptions in Rebol3 after load-gui is evaluated?

Foi útil?

Solução

from @rgchris, an initial idea:

REBOL []
load-gui 
do http://reb4.me/r3/rsp 

style-info: collect [
    foreach [name style] body-of guie/styles [
        keep form name keep style/about
    ]
] 

styles-list: render-each [name about] style-info {<h1><%== name %></h1>^/<p><%== about %></p>^/}

write %styles-list.html styles-list
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top