Home   Archive   Permalink



Getting all the styles in VID

Here is how to get all the defined styles in VID:
    
editor stylize/master []
    
And you can search for the styles with your favorite text editor using this regular expression: "^    [A-Z]+ make object! "
(4 space between ^ and [)
    
And here is the list of styles in VID:
    
IMAGE, BACKDROP, BACKTILE, BOX, BAR, SENSOR, KEY, VTEXT, TEXT, BODY, TXT, BANNER, LABEL, VLAB, LBL, LAB, TITLE, TT, CODE, BUTTON, CHECK, RADIO, LED, ARROW, TOGGLE, ROTARY, CHOICE, ICON, FIELD, INFO, AREA, SLIDER, SCROLLER, PROGRESS, PANEL, LIST, ANIM, BTN, TOG

posted by:   Endo       2-Jun-2010/6:20:45-7:00



I've always used:
    
     editor extract svv/vid-styles 2 ; styles ("widgets")
     editor svv/vid-words             ; layout words
     editor svv/facet-words         ; style facets
     editor svv/vid-styles/TEXT-LIST/words ; additional facets for individual styles
    
Check out http://re-bol.com/rebol_crash_course.html#section-3.1

posted by:   Nick       2-Jun-2010/12:08:28-7:00