Slider properties documented

This commit is contained in:
Thomas Croft 2022-10-02 20:26:23 -06:00
parent f53867175e
commit 7b0e5843ac
1 changed files with 8 additions and 15 deletions

View File

@ -35,16 +35,12 @@ local slider = {mt={}}
-- @propbeautiful -- @propbeautiful
-- @see gears.shape -- @see gears.shape
-- The slider handle widget --- The slider handle widget.
--
--@DOC_wibox_widget_slider_handle_widget_EXAMPLE@ --@DOC_wibox_widget_slider_handle_widget_EXAMPLE@
--
-- @property handle_widget -- @property handle_widget
-- @tparam widget|nil handle_widget -- @tparam[opt=nil] widget|nil handle_widget The handle widget
-- @propemits true false
-- @propbeautiful
-- @see wibox.widget
--- The slider handle color. --- The slider handle color.
-- --
@ -110,15 +106,12 @@ local slider = {mt={}}
-- @propbeautiful -- @propbeautiful
-- @see gears.shape -- @see gears.shape
-- The bar widget --- The bar widget
--
--@DOC_wibox_widget_slider_bar_widget_EXAMPLE@ --@DOC_wibox_widget_slider_bar_widget_EXAMPLE@
-- --
-- @property bar_widget -- @property bar_widget
-- @tparam widget|nil bar_widget -- @tparam[opt=nil] widget|nil bar_widget The widget that spans the active bar segment
-- @propemits true false
-- @propbeautiful
-- @see wibox.widget
--- The bar (background) height. --- The bar (background) height.
-- --
@ -287,12 +280,12 @@ local slider = {mt={}}
local properties = { local properties = {
-- Handle -- Handle
handle_shape = shape.rectangle, handle_shape = shape.rectangle,
handle_widget = false,
handle_color = false, handle_color = false,
handle_margins = {}, handle_margins = {},
handle_width = false, handle_width = false,
handle_border_width = 0, handle_border_width = 0,
handle_border_color = false, handle_border_color = false,
handle_widget = false,
-- Bar -- Bar
bar_shape = shape.rectangle, bar_shape = shape.rectangle,