cursor(n)
π cursor(n) β Tk cursor routines, but make it make sense
okay bestie, so this is from the Tk cursor routines corner of the universe, and it's genuinely the whole cursor package manual. Let's go π«Ά
β¨ NAME β¨
cursor β the procedures that handle your CURSOR data. that's it, that's the vibe. π±οΈ
β¨ 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 literally just gives you commands to handle Tk cursors. no cap, that's the whole pitch. πΈ
β¨ COMMANDS β¨
here's everything you get, one by one π
::cursor::propagate widget cursorβ sets the cursor for the widget you named and every single one of its descendants to cursor. the whole family gets the same look, periodt. π::cursor::restore widget ?cursor?β puts the original (or previously set) cursor back on the widget and all its descendants. and if you hand it a cursor, that one gets used on any widget that didn't already have a preset cursor β "preset" meaning set by an earlier call to::cursor::propagate. so like, un-propagating, but cuter. π¦::cursor::display ?parent?β pops up a dialog with a listbox holding all the cursor names. pick one and it shows up right there in the dialog. it's purely for viewing whatever cursors your platform actually has available β a little cursor window-shopping trip, iykyk β¨
π BUGS, IDEAS, FEEDBACK π
ngl, this document and the package it describes will undoubtedly contain bugs and other problems. it's giving "we know, we know" π. please report them in the category cursor of the Tklib Trackers at [http://core.tcl.tk/tklib/reportlist]. and if you've got ideas for enhancements for either the package and/or the documentation, send those too β bestie feedback is welcome π
β¨ SEE ALSO β¨
Tk_GetCursor(3), cursors(n), options(n) β go read those too, they're iconic π
β¨ KEYWORDS β¨
cursor
β¨ COPYRIGHT β¨
Copyright (c) Jeffrey Hobbs <jeff@hobbs.org> π
heads up: this is thetklibversion0.3.1manual page, datedcursor(n)β so if you ever need to cite it, that's the receipt π stay slay, go set some cursors π¦β¨
π¦ where this page comes from
- alpine 3.24: tk-lib-doc 0.7-r0 Β· TCL
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms