Class pinnacle.snowcap.integration.FocusBorder
: snowcap.widget.Program
​
A border that shows window focus, with an optional titlebar.
Fields ​
window ​
window
: pinnacle.window.WindowHandle
The window this border is decorating.
thickness ​
thickness
: integer
The thickness of the border, in pixels.
focused_color ​
focused_color
: snowcap.widget.Color
The color of the border when it's focused.
unfocused_color ​
unfocused_color
: snowcap.widget.Color
The color of the border when it's unfocused.
focused ​
focused
: boolean
Whether the window this border surrounds is focused.
include_titlebar ​
include_titlebar
: boolean
Whether to draw a titlebar
title ​
title
: string
The title of the window.
titlebar_height ​
titlebar_height
: integer
The height of the titlebar
Functions ​
method decorate ​
function pinnacle.snowcap.integration.FocusBorder:decorate()
-> snowcap.decoration.DecorationHandle | nil
Decorates the window with this focus border.
Returns ​
snowcap.decoration.DecorationHandle | nil