当前位置: 首页 > 文档资料 > Fluxbox 中文文档 >

附录 C. Theme Reference

优质
小牛编辑
120浏览
2023-12-01

Theme directives

这张表完整的记录了可用的主题指令,以及它们可以赋予的值。用法细节参见 章 10, 主题

表格 C.1. Toolbar styles

toolbarTexture
toolbar.heightNumber
toolbar.colorColor
toolbar.colorToColor
Buttons
toolbar.buttonTexture or ParentRelative
toolbar.button.colorColor
toolbar.button.colorToColor
Color of unpressed button arrows
toolbar.button.picColorColor
Buttons in pressed state
toolbar.button.pressedTexture (e.g. Sunken ) or ParentRelative
toolbar.button.pressed.colorColor
toolbar.button.pressed.colorToColor
Color of pressed button arrows
toolbar.button.pressed.picColorColor
Workspace label
toolbar.labelTexture or ParentRelative
toolbar.label.colorColor
toolbar.label.colorToColor
toolbar.label.textColorColor
Workspace label
toolbar.workspaceTexture or ParentRelative
toolbar.workspace.pixmapPixmap
toolbar.workspace.colorColor
toolbar.workspace.colorToColor
toolbar.workspace.textColorColor
toolbar.workspace.fontFont
Window label
toolbar.windowLabelTexture or ParentRelative
toolbar.windowLabel.colorColor
toolbar.windowLabel.colorToColor
toolbar.windowLabel.textColorColor
Clock
toolbar.clockTexture or ParentRelative
toolbar.clock.pixmapPixmap
toolbar.clock.colorColor
toolbar.clock.colorToColor
toolbar.clock.textColorColor
toolbar.clock.fontFont
Iconbar if empty
toolbar.iconbar.emptyTexture or ParentRelative
toolbar.iconbar.empty.pixmapPixmap
toolbar.iconbar.empty.colorColor
toolbar.iconbar.empty.colorToColor
toolbar.iconbar.emptyTexture or ParentRelative
Iconbar focused and unfocused
toolbar.iconbar.focusedTexture or ParentRelative
toolbar.iconbar.focused.pixmapPixmap
toolbar.iconbar.focused.colorColor
toolbar.iconbar.focused.colorToColor
toolbar.iconbar.focused.textColorColor
toolbar.iconbar.focused.fontFont
Text
toolbar.justifycenter , left , or right
toolbar.fontFont

表格 C.2. Menu styles

Title
menu.titleTexture
menu.title.colorColor
menu.title.colorToColor
menu.title.textColorColor
menu.title.fontFont
menu.title.justifycenter , left , or right
Frame
menu.frameTexture
menu.frame.colorColor
menu.frame.colorToColor
menu.frame.textColorColor
menu.frame.disableColorColor
menu.frame.fontFont
menu.frame.justifycenter , left , or right
Submenu bullets
menu.bulletempty , triangle , square , or diamond
menu.bullet.positionright or left
menu.submenu.pixmapPixmap
Highlighted item
menu.hiliteTexture (e.g. Raised )
menu.hilite.colorColor
menu.hilite.colorToColor
menu.hilite.textColorColor
menu.selected.pixmapPixmap
menu.unselected.pixmapPixmap

表格 C.3. Window styles

Title
window.title.focusTexture
window.title.focus.colorColor
window.title.focus.colorToColor
window.title.unfocusTexture
window.title.unfocus.colorColor
window.title.unfocus.colorToColor
window.title.heightNumber
Label
window.label.focusTexture or ParentRelative
window.label.focus.colorColor
window.label.focus.colorToColor
window.label.focus.textColorColor
window.label.unfocusTexture or ParentRelative
window.label.unfocus.colorColor
window.label.unfocus.colorToColor
window.label.unfocus.textColorColor

表格 C.4. Handlebar styles

window.handle.focus.colorColor
window.handle.focus.colorToColor
window.handle.unfocusTexture
window.handle.unfocus.colorColor
window.handle.unfocus.colorToColor

表格 C.5. Resize grip styles

window.grip.focusTexture
window.grip.focus.colorColor
window.grip.focus.colorToColor
window.grip.unfocusTexture
window.grip.unfocus.colorColor
window.grip.unfocus.colorToColor

表格 C.6. Window button styles

window.button.focusTexture or ParentRelative
window.button.focus.colorColor
window.button.focus.colorToColor
window.button.focus.picColorColor
window.button.unfocusTexture or ParentRelative
window.button.unfocus.colorColor
window.button.unfocus.colorToColor
window.button.unfocus.picColorColor
window.button.pressedTexture
window.button.pressed.colorColor
window.button.pressed.colorToColor

表格 C.7. Window frame styles

window.frame.focusColorColor
window.frame.unfocusColorColor

表格 C.8. Tab styles

window.tab.justifyright , left or center
window.tab.label.unfocusTexture
window.tab.label.unfocus.colorColor
window.tab.label.unfocus.textColorColor
window.tab.label.focusTexture
window.tab.label.focus.colorColor
window.tab.label.focus.textColorColor
window.tab.borderWidthNumber of Pixels
window.tab.borderColorColor
window.tab.fontFont

表格 C.9. Font on window label styles

window.fontFont
window.justifycenter , left , or right

表格 C.10. Miscellaneous styles

Border drawn around all components
borderWidthNumber of pixels
borderColorColor
bevelWidthNumber of pixels
handleWidthNumber of pixels
frameWidthNumber of pixels
Command to be executed whenever the style is loaded
rootCommandShell command, e.g. fbsetbg nicepiccy.jpg
Old BB 0.51 resources
menuFontFont
titleFontFont