cursor(3tk)
β¨ cursor(3tk) β Tk cursor routines β¨
okay bestie, welcome to cursor(3tk), the Tk cursor routines page π
this one lives in the tklib family and it's genuinely so useful, no cap.
π NAME π
cursor β Procedures to handle CURSOR data π¦
β¨ SYNOPSIS β¨
package require Tk
package require cursor ?0.3.1?
::cursor::propagate widget cursor
::cursor::restore widget ?cursor?
::cursor::display ?parent?
π DESCRIPTION π
So the cursor package gives you commands to handle Tk cursors. that's the vibe. that's the whole job. π
πΈ COMMANDS πΈ
here's what you actually get to play with:
::cursor::propagate widget cursorβ sets the cursor for the widget you named and every single one of its descendants tocursor. the whole family tree gets the same glow-up, fr fr. π::cursor::restore widget ?cursor?β puts the original cursor back (or a previously set one) for the widget and all its descendants. and if you passcursor? then that gets used on any widget that never had a preset cursor from an earlier::cursor::propagatecall. lowkey clever. π«Ά::cursor::display ?parent?β pops up a dialog with a listbox holding all the cursor names. click one and it shows up right there in the dialog. this is literally just for looking at whatever cursors your platform has available β pure window shopping, bestie. π
π BUGS, IDEAS, FEEDBACK π
ngl, this document and the package it describes will undoubtedly have bugs and other problems. it's giving "we know, we know" π
so please report them in the category cursor of the Tklib Trackers: http://core.tcl.tk/tklib/reportlist.
and if you have ideas for enhancements β for the package, the docs, or both β report those too. we want them. π
π₯ SEE ALSO π₯
β KEYWORDS β
cursor
π COPYRIGHT π
Copyright (c) Jeffrey Hobbs <jeff@hobbs.org>
and that's the whole page, bestie π this one's from tklib, version 0.3.1, dated cursor(3tk) β go forth and make everything clickable and pretty β¨π¦π
π¦ 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