widget(3tk)

πŸ“¦
version 0.9 Β· 2 versions
, in debian trixie, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– 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