See rule().
Super class
Widget -> Rule
Public fields
orientation"horizontal"or"vertical".titleOptional title in the middle of a horizontal rule.
Methods
Inherited methods
Widget$add_class()Widget$ancestors()Widget$animate()Widget$arrange_children()Widget$bind()Widget$bind_reactive()Widget$bindings()Widget$blur()Widget$capture_mouse()Widget$child_clip()Widget$clear()Widget$computed_style()Widget$content_height()Widget$content_width()Widget$default_bindings()Widget$focus()Widget$format()Widget$get_state()Widget$has_class()Widget$invalidate()Widget$invalidate_paint()Widget$is_displayed()Widget$is_enabled()Widget$layout_descend()Widget$layout_differs()Widget$matches()Widget$mount()Widget$on()Widget$post_message()Widget$print()Widget$pseudo_states()Widget$query()Widget$query_one()Widget$refresh()Widget$release_mouse()Widget$remove()Widget$remove_children()Widget$remove_class()Widget$render()Widget$render_lines()Widget$replace()Widget$run_action()Widget$run_process()Widget$run_worker()Widget$set()Widget$set_interval()Widget$set_state()Widget$set_timeout()Widget$toggle_class()Widget$walk()
Rule$new()
Create a rule. See rule().
Usage
Rule$new(
orientation = "horizontal",
title = NULL,
id = NULL,
classes = NULL,
style = NULL
)Arguments
orientationOrientation.
titleTitle.
id, classes, styleSee Widget.
Rule$paint()
Paint the line.
Arguments
bufferA ScreenBuffer.
areaVisible part of the region.
stComputed style.