金馆长
金馆长

Reputation: 217

How to remove the default title bar on rebol?

How to remove the default title bar on rebol?

enter image description here

Upvotes: 6

Views: 129

Answers (1)

rgchris
rgchris

Reputation: 3708

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"

Upvotes: 3

Related Questions