Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to remove the default title bar on rebol?

How to remove the default title bar on rebol?

enter image description here

like image 490
金馆长 Avatar asked Aug 13 '16 12:08

金馆长


1 Answers

In rebol2, 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 rebol3.

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

I'm not certain if this holds for red 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"
like image 73
rgchris Avatar answered Nov 13 '22 06:11

rgchris