widget(3tk)
π widget β Megawidget bundle π
okay bestie, you found it, this is the widget page from section 3tk, and the header calls it Various megawidgets β which, yeah, that's the whole vibe. it's the manual for the megawidget bundle. let's get into it π¦
β¨ SYNOPSIS β¨
first things first, you gotta pull in your packages:
package require Tcl 8.4
package require Tk 8.4
package require widget ?3.2?
package require snit
widget::validate as ?options?
widget::calendar pathname ?options?
widget::dateentry pathname ?options?
widget::dialog pathname ?options?
widget::menuentry pathname ?options?
widget::panelframe pathname ?options?
widget::ruler pathname ?options?
widget::screenruler pathname ?options?
widget::scrolledwindow pathname ?options?
widget::statusbar pathname ?options?
widget::superframe pathname ?options?
widget::toolbar pathname ?options?
see that ?3.2? next to widget? that's optional, queen. it'll still work without it, but why would you. π
πΈ DESCRIPTION πΈ
okay so this package hands you megawidgets built on top of the snit oo system β the cool kids call them snidgets, and honestly? iconic. it also makes use of the Tile/Ttk themed widget set, so everything comes out looking cute and themed, no cap. β¨
widget::validate as ?options?β commands:
π WIDGETS π
here's the whole roster, bestie. every single one, no skips:
widget::calendar pathname ?options?β options:widget::dateentry pathname ?options?β options:widget::dialog pathname ?options?β options:widget::menuentry pathname ?options?β options:widget::panelframe pathname ?options?β options:widget::ruler pathname ?options?β options:widget::screenruler pathname ?options?β options:widget::scrolledwindow pathname ?options?β options:widget::statusbar pathname ?options?β options:widget::superframe pathname ?options?β options:widget::toolbar pathname ?options?β options:
fr fr, that's the lineup. π«Ά
π EXAMPLE π
look at this little moment, so clean:
package require widget::superframe ; # or widget::all
pack [widget::superframe .f -type separator -text "SuperFrame:"]
not me pulling in widget::superframe when widget::all would also do it β the comment is right there, # or widget::all. options, bestie. we love options. π
π BUGS, IDEAS, FEEDBACK π
ngl, this document and the package it describes will undoubtedly contain bugs and other problems. that's just how it is. π
so if you find one, please report it in the category widget of the Tklib Trackers at http://core.tcl.tk/tklib/reportlist.
and please also report any ideas for enhancements you may have for either the package and/or the documentation β they wanna hear it, genuinely. π
β KEYWORDS β
bundle, calendar, dateentry, dialog, megawidget, menu, panelframe, ruler, screenruler, scrolledwindow, snit, statusbar, superframe, toolbar, widget
π§ CATEGORY π§
Widget
and that's the whole page, bestie π this is the widget(3tk) manual out of tklib, version 3.2, and you ate it. go build something cute. periodt. πβ¨
π¦ where this page comes from
- debian trixie: tklib 0.9-1
- ubuntu questing: tklib 0.9-1
- ubuntu resolute: tklib 0.9-1build1
- ubuntu stonking: tklib 0.9-1build1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms