如何删除 rebol 上的默认标题栏?
How to remove the default title bar on rebol?
如何去掉rebol的默认标题栏?
在 rebol2 中,使用 [no-title]
(清除标题栏)或 [no-border]
(删除标题栏)选项:
view/options layout [button "Close" [unview/all]] [no-title no-border]
据我所知,rebol3也是如此。
view/options [button "Close" [unview/all]] [no-title no-border]
我不确定这是否适用于 red also, though it appears the window face has no-title
and no-border
flags。
如果您从脚本调用 view
,则标题是从 script's header 中的 Title
属性收集的,尽管您可以使用 /title
覆盖它细化。
view/title layout [button "Close" [unview/all]] "My Other Title"
如何去掉rebol的默认标题栏?
在 rebol2 中,使用 [no-title]
(清除标题栏)或 [no-border]
(删除标题栏)选项:
view/options layout [button "Close" [unview/all]] [no-title no-border]
据我所知,rebol3也是如此。
view/options [button "Close" [unview/all]] [no-title no-border]
我不确定这是否适用于 red also, though it appears the window face has no-title
and no-border
flags。
如果您从脚本调用 view
,则标题是从 script's header 中的 Title
属性收集的,尽管您可以使用 /title
覆盖它细化。
view/title layout [button "Close" [unview/all]] "My Other Title"