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
  •  | 
  •  

Question

(edited per suggestions)

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

Was it helpful?

Solution

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
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top