6

How to remove the default title bar on rebol?

enter image description here

David Duponchel
  • 3,959
  • 3
  • 28
  • 36
金馆长
  • 217
  • 2
  • 7
  • 1
    I have never used Rebol but I think this may help: http://www.rebol.com/docs/words/wview.html. Look at "opts - Window options [no-title no-border resize] (must be: block word)". – mwk Aug 13 '16 at 13:06

1 Answers1

3

In , use the [no-title] (clears the title bar) or [no-border] (removes the title bar) option:

view/options layout [button "Close" [unview/all]] [no-title no-border]

So far as I can tell, the same holds for .

view/options [button "Close" [unview/all]] [no-title no-border]

I'm not certain if this holds for also, though it appears the window face has no-title and no-border flags.

If you invoke view from a script, then the title is gathered from the Title attribute in the script's header, though you can override this with the /title refinement.

view/title layout [button "Close" [unview/all]] "My Other Title"
rgchris
  • 3,698
  • 19
  • 19