ttk::separator(3tk)
π ttk::separator β the little line that keeps things apart π
okay bestie, so this one is ttk::separator(3tk), aka the Tk themed widget that is literally just a cute little divider line. that's it. that's the whole gig. and honestly? iconic for it. π
β¨ NAME β¨
ttk::separator β Separator bar π¦
β¨ SYNOPSIS β¨
ttk::separator pathName ?options?
β¨ DESCRIPTION β¨
so like. a ttk::separator widget displays a horizontal or vertical separator bar. that's the vibe. it separates. it bars. it's giving boundary-setting queen π
β¨ STANDARD OPTIONS β¨
these ones come with the territory, no cap:
-class-cursor-style-takefocus
if you want the full tea on these, go read the ttk_widget manual entry, bestie, it's all there π«Ά
β¨ WIDGET-SPECIFIC OPTIONS β¨
okay so this is the one that's hers:
-orientβ Command-Line Name:-orient; Database Name:orient; Database Class:Orient. One ofhorizontalorvertical. Specifies the orientation of the separator. that's it, pick a direction, slay π«
β¨ WIDGET COMMAND β¨
separator widgets support the standard commands, fr fr:
cgetconfigureidentify elementinstatestatestyle
(see ttk::widget for the details, iykyk π)
β¨ STYLING OPTIONS β¨
the class name for a ttk::separator is TSeparator. remember that name, she's the main character.
TSeparator styling options configurable with ttk::style are:
-background color
β οΈ heads up bestie: some options are only available for specific themes. not every theme is gonna serve every option, and that's just how it is π
see the ttk::style manual page for info on how to configure ttk styles π
β¨ SEE ALSO β¨
ttk::widget(3tk)
β¨ KEYWORDS β¨
widgetseparator
okay that's the whole page, you're officially a separator expert now, go draw a line somewhere π§β¨
this has been your girl, signing off from Tk version 8.5 β page ttk::separator(3tk), and yes she ate and left no crumbs π
πΈ
π¦ where this page comes from
- debian trixie: tk9.0-doc 9.0.1-3
- ubuntu questing: tk9.0-doc 9.0.2-1
- ubuntu resolute: tk9.0-doc 9.0.3-1
- ubuntu stonking: tk9.0-doc 9.0.4-1
- Copyright (c) 2004 Joe English
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms