cursors(3tk)
π cursors(3tk) π
okay bestie, welcome to the cursors(3tk) page β it's a Tk Built-In Commands situation, and it's literally just a big ol' roster of every mouse cursor Tk knows about π±οΈβ¨
πΈ NAME πΈ
cursors β mouse cursors available in Tk π
π¦ DESCRIPTION π¦
so the -cursor widget option is how a Tk programmer switches up the mouse cursor for a particular widget. iconic, honestly.
the cursor names that Tk recognizes on all platforms are:
X_cursorarrowbased_arrow_downbased_arrow_upboatbogositybottom_left_cornerbottom_right_cornerbottom_sidebottom_teebox_spiralcenter_ptrcircleclockcoffee_mugcrosscross_reversecrosshairdiamond_crossdotdotboxdouble_arrowdraft_largedraft_smalldraped_boxexchangefleurgobblergumbyhand1hand2hearticoniron_crossleft_ptrleft_sideleft_teeleftbuttonll_anglelr_anglemanmiddlebuttonmousenonepencilpirateplusquestion_arrowright_ptrright_sideright_teerightbuttonrtl_logosailboatsb_down_arrowsb_h_double_arrowsb_left_arrowsb_right_arrowsb_up_arrowsb_v_double_arrowshuttlesizingspiderspraycanstartargettcrosstop_left_arrowtop_left_cornertop_right_cornertop_sidetop_teetrekul_angleumbrellaur_anglewatchxterm
and listen β the none cursor can be specified to eliminate the cursor. no cursor. cursor-less. ghost mode π» periodt.
π PORTABILITY ISSUES π
πͺ Windows
on Windows systems, these cursors get mapped to native cursors:
arrowcenter_ptrcrosshairfleuribeamiconnonesb_h_double_arrowsb_v_double_arrowwatchxterm
and these additional cursors are available too:
nostartingsizesize_ne_swsize_nssize_nw_sesize_weuparrowwait
π macOS
on macOS, these cursors get mapped to native cursors:
arrowtop_left_arrowleft_ptrcrosscrosshairtcrossibeamnonexterm
and these additional native cursors are available:
copyarrowaliasarrowcontextualmenuarrowmovearrowtextcross-hairhandopenhandclosedhandfistpointinghandresizeresizeleftresizerightresizeleftrightresizeupresizedownresizeupdownresizebottomleftresizetopleftresizebottomrightresizetoprightnotallowedpoofwaitcountinguphandcountingdownhandcountingupanddownhandspinninghelpbucketcanceleyedropeyedrop-fullzoom-inzoom-out
π KEYWORDS π
cursor, option
ngl bestie, that's the whole page β every cursor, every platform, no notes πβ¨
okay bye ily, this was Tk 8.3, and yes you read that right, it's the cursors(3tk) page ππ«Ά go make your mouse pointer look cute fr fr π
π¦ where this page comes from
- debian trixie: tk8.6-doc 8.6.16-1
- debian trixie: tk9.0-doc 9.0.1-3
- ubuntu questing: tk8.6-doc 8.6.17-1
- ubuntu questing: tk9.0-doc 9.0.2-1
- ubuntu resolute: tk8.6-doc 8.6.17-1build1
- ubuntu resolute: tk9.0-doc 9.0.3-1
- ubuntu stonking: tk8.6-doc 8.6.18-1
- ubuntu stonking: tk9.0-doc 9.0.4-1
- Copyright (c) 1998-2000 Scriptics Corporation
- Copyright (c) 2006-2007 Daniel A. Steffen <das@users.sourceforge.net>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms