ttk::progressbar(n)
๐ NAME ๐
okay so bestie, this is the manual page for ttk::progressbar(n) โ a Tk themed widget whose whole job is to Provide progress feedback โจ. main character energy for long-running operations, no cap.
โจ SYNOPSIS โจ
ttk::progressbar pathName ?options?
๐ฆ DESCRIPTION ๐ฆ
A ttk::progressbar widget shows the status of a long-running operation. It can operate in two modes:
- determinate mode โ shows the amount completed relative to the total amount of work to be done.
- indeterminate mode โ provides an animated display to let the user know that something is happening.
If the value of -orient is horizontal, a text string can be displayed inside the progressbar. This string can be configured using the -anchor, -font, -foreground, -justify, -text and -wraplength options. If the value of -orient is vertical, then these options are ignored. periodt.
๐ STANDARD OPTIONS ๐
The standard options lineup is literally:
-anchor-class-cursor-font-foreground-justify-style-takefocus-text-wraplength
See the ttk_widget manual entry for details on the standard options. iykyk ๐
๐ง WIDGET-SPECIFIC OPTIONS ๐ง
-lengthโ Command-Line Name:-length; Database Name:length; Database Class:Length. Specifies the length of the long axis of the progress bar (width if horizontal, height if vertical). The value may have any of the forms acceptable toTk_GetPixels. measure ur glow-up, bestie.-maximumโ Command-Line Name:-maximum; Database Name:maximum; Database Class:Maximum. A floating point number specifying the maximum-value. Defaults to100. the ceiling fr fr.-modeโ Command-Line Name:-mode; Database Name:mode; Database Class:Mode. One ofdeterminateorindeterminate.-orientโ Command-Line Name:-orient; Database Name:orient; Database Class:Orient. One ofhorizontalorvertical. Specifies the orientation of the progress bar.-phaseโ Command-Line Name:-phase; Database Name:phase; Database Class:Phase. Read-only option. The widget periodically increments the value of this option whenever the-valueis greater than0and, in determinate mode, less than-maximum. This option may be used by the current theme to provide additional animation effects. theme glow-up moment.-valueโ Command-Line Name:-value; Database Name:value; Database Class:Value. The current value of the progress bar. In determinate mode, this represents the amount of work completed. In indeterminate mode, it is interpreted modulo-maximum; that is, the progress bar completes one โcycleโ when the-valueincreases by-maximum. If-variableis set to an existing variable, specifying-valuehas no effect (the variable value takes precedence). the variable said โIโm the main character now.โ-variableโ Command-Line Name:-variable; Database Name:variable; Database Class:Variable. The name of a global Tcl variable which is linked to the-value. If specified to an existing variable, the-valueof the progress bar is automatically set to the value of the variable whenever the latter is modified.
๐ฎ WIDGET COMMAND ๐ฎ
In addition to the standard cget, configure, identify element, instate, state and style commands (see ttk::widget), progressbar widgets support the following additional commands:
pathName start ?interval?โ Begin autoincrement mode: schedules a recurring timer event that callsstepevery interval milliseconds. If omitted, interval defaults to50milliseconds (20steps/second). go go go ๐ซถpathName step ?amount?โ Increments the-valueby amount. amount defaults to1.0if omitted.pathName stopโ Stop autoincrement mode: cancels any recurring timer event initiated bypathName start. timer says bye ๐
๐ STYLING OPTIONS ๐
The class name for a ttk::progressbar is TProgressbar.
TProgressbar styling options configurable with ttk::style are:
-backgroundcolor-bordercolorcolor-darkcolorcolor-lightcolorcolor-maxphaseโ For the aqua theme.-periodโ For the aqua theme.-troughcolorcolor
Some options are only available for specific themes.
See the ttk::style manual page for information on how to configure ttk styles. slay ur theme, bestie.
๐ SEE ALSO ๐
ttk::widget(n)
and thatโs the whole vibe check ๐
โ sourced from Tk 8.5, manual page ttk::progressbar(n). the footer didnโt print a date, so no invented date here, periodt โจ๐ธ๐
๐ฆ where this page comes from
- alpine 3.23: tk9-doc 9.0.3-r0 ยท TCL
- alpine 3.24: tk9-doc 9.0.3-r2 ยท TCL
- fedora 43: tk 1:9.0.2-1.fc43 ยท TCL AND HPND-Pbmplus AND CC-BY-SA-3.0 AND MIT-open-group AND MIT
- fedora 43: tk 1:9.0.2-1.fc43 ยท TCL AND HPND-Pbmplus AND CC-BY-SA-3.0 AND MIT-open-group AND MIT
- fedora 44: tk 1:9.0.2-1.fc44 ยท TCL AND HPND-Pbmplus AND CC-BY-SA-3.0 AND MIT-open-group AND MIT
- fedora 44: tk 1:9.0.2-1.fc44 ยท TCL AND HPND-Pbmplus AND CC-BY-SA-3.0 AND MIT-open-group AND MIT
- nixos 26.05: tk 9.0.3
- nixpkgs unstable: tk 9.1.0
- Copyright (c) 2005 Joe English
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms