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

문제

(edited per suggestions)

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

도움이 되었습니까?

해결책

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
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top