Class wibox.widget.slider
An interactive mouse based slider widget.
Usage:
wibox.widget { bar_shape = gears.shape.rounded_rect, bar_height = 3, bar_color = beautiful.border_color, handle_color = beautiful.bg_normal, handle_shape = gears.shape.circle, handle_border_color = beautiful.border_color, handle_border_width = 1, value = 25, widget = wibox.widget.slider, }
Info:
- Copyright: 2015 Grigory Mishchenko, 2016 Emmanuel Lepage Vallee
- Author: Grigory Mishchenko <grishkokot@gmail.com>,Emmanuel Lepage Vallee <elv1313@gmail.com>
Functions
wibox.widget.slider ([args={}]) | Create a slider widget. |
Object properties
wibox.widget.slider.handle_shape | The slider handle shape. |
wibox.widget.slider.handle_color | The slider handle color. |
wibox.widget.slider.handle_margins | The slider handle margins. |
wibox.widget.slider.handle_width | The slider handle width. |
wibox.widget.slider.handle_border_color | The handle border_color. |
wibox.widget.slider.handle_border_width | The handle border width. |
wibox.widget.slider.bar_shape | The bar (background) shape. |
wibox.widget.slider.bar_height | The bar (background) height. |
wibox.widget.slider.bar_color | The bar (background) color. |
wibox.widget.slider.bar_margins | The bar (background) margins. |
wibox.widget.slider.bar_border_width | The bar (background) border width. |
wibox.widget.slider.bar_border_color | The bar (background) border_color. |
wibox.widget.slider.value | The slider value. |
wibox.widget.slider.minimum | The slider minimum value. |
wibox.widget.slider.maximum | The slider maximum value. |
Theme variables
beautiful.slider_bar_border_width | The bar (background) border width. |
beautiful.slider_bar_border_color | The bar (background) border color. |
beautiful.slider_handle_border_color | The handle border_color. |
beautiful.slider_handle_border_width | The handle border width. |
beautiful.slider_handle_width | The handle . |
beautiful.slider_handle_shape | The handle shape. |
beautiful.slider_bar_shape | The bar (background) shape. |
beautiful.slider_bar_height | The bar (background) height. |
beautiful.slider_bar_margins | The bar (background) margins. |
beautiful.slider_handle_margins | The slider handle margins. |
beautiful.slider_bar_color | The bar (background) color. |
Functions
- wibox.widget.slider ([args={}])
-
Create a slider widget.
- args table (default {})
Object properties
- wibox.widget.slider.handle_shape
-
The slider handle shape.
Type:
- shape gears.shape (default gears shape rectangle)
See also:
- wibox.widget.slider.handle_color
-
The slider handle color.
Type:
- color
- wibox.widget.slider.handle_margins
-
The slider handle margins.
Type:
- margins
- left number (default 0)
- right number (default 0)
- top number (default 0)
- bottom number (default 0)
- margins
- wibox.widget.slider.handle_width
-
The slider handle width.
Type:
- number
- wibox.widget.slider.handle_border_color
-
The handle border_color.
Type:
- color
- wibox.widget.slider.handle_border_width
-
The handle border width.
Type:
- number (default 0)
- wibox.widget.slider.bar_shape
-
The bar (background) shape.
Type:
- shape gears.shape (default gears shape rectangle)
See also:
- wibox.widget.slider.bar_height
-
The bar (background) height.
Type:
- number
- wibox.widget.slider.bar_color
-
The bar (background) color.
Type:
- color
- wibox.widget.slider.bar_margins
-
The bar (background) margins.
Type:
- margins
- left number (default 0)
- right number (default 0)
- top number (default 0)
- bottom number (default 0)
- margins
- wibox.widget.slider.bar_border_width
-
The bar (background) border width.
Type:
- numbergb (default 0)
- wibox.widget.slider.bar_border_color
-
The bar (background) border_color.
Type:
- color
- wibox.widget.slider.value
-
The slider value.
Type:
- number (default 0)
- wibox.widget.slider.minimum
-
The slider minimum value.
Type:
- number (default 0)
- wibox.widget.slider.maximum
-
The slider maximum value.
Type:
- number (default 100)
Theme variables
- beautiful.slider_bar_border_width
-
The bar (background) border width.
Type:
- number
- beautiful.slider_bar_border_color
-
The bar (background) border color.
Type:
- color
- beautiful.slider_handle_border_color
-
The handle border_color.
Type:
- color
- beautiful.slider_handle_border_width
-
The handle border width.
Type:
- number
- beautiful.slider_handle_width
-
The handle .
Type:
- number
- beautiful.slider_handle_shape
-
The handle shape.
Type:
- shape gears.shape (default gears shape rectangle)
See also:
- beautiful.slider_bar_shape
-
The bar (background) shape.
Type:
- shape gears.shape (default gears shape rectangle)
See also:
- beautiful.slider_bar_height
-
The bar (background) height.
Type:
- number
- beautiful.slider_bar_margins
-
The bar (background) margins.
Type:
- margins
- left number (default 0)
- right number (default 0)
- top number (default 0)
- bottom number (default 0)
- margins
- beautiful.slider_handle_margins
-
The slider handle margins.
Type:
- margins
- left number (default 0)
- right number (default 0)
- top number (default 0)
- bottom number (default 0)
- margins
- beautiful.slider_bar_color
-
The bar (background) color.
Type:
- color