cursors(3tk)

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

πŸ’– 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_cursor
  • arrow
  • based_arrow_down
  • based_arrow_up
  • boat
  • bogosity
  • bottom_left_corner
  • bottom_right_corner
  • bottom_side
  • bottom_tee
  • box_spiral
  • center_ptr
  • circle
  • clock
  • coffee_mug
  • cross
  • cross_reverse
  • crosshair
  • diamond_cross
  • dot
  • dotbox
  • double_arrow
  • draft_large
  • draft_small
  • draped_box
  • exchange
  • fleur
  • gobbler
  • gumby
  • hand1
  • hand2
  • heart
  • icon
  • iron_cross
  • left_ptr
  • left_side
  • left_tee
  • leftbutton
  • ll_angle
  • lr_angle
  • man
  • middlebutton
  • mouse
  • none
  • pencil
  • pirate
  • plus
  • question_arrow
  • right_ptr
  • right_side
  • right_tee
  • rightbutton
  • rtl_logo
  • sailboat
  • sb_down_arrow
  • sb_h_double_arrow
  • sb_left_arrow
  • sb_right_arrow
  • sb_up_arrow
  • sb_v_double_arrow
  • shuttle
  • sizing
  • spider
  • spraycan
  • star
  • target
  • tcross
  • top_left_arrow
  • top_left_corner
  • top_right_corner
  • top_side
  • top_tee
  • trek
  • ul_angle
  • umbrella
  • ur_angle
  • watch
  • xterm

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:

  • arrow
  • center_ptr
  • crosshair
  • fleur
  • ibeam
  • icon
  • none
  • sb_h_double_arrow
  • sb_v_double_arrow
  • watch
  • xterm

and these additional cursors are available too:

  • no
  • starting
  • size
  • size_ne_sw
  • size_ns
  • size_nw_se
  • size_we
  • uparrow
  • wait

🍎 macOS

on macOS, these cursors get mapped to native cursors:

  • arrow
  • top_left_arrow
  • left_ptr
  • cross
  • crosshair
  • tcross
  • ibeam
  • none
  • xterm

and these additional native cursors are available:

  • copyarrow
  • aliasarrow
  • contextualmenuarrow
  • movearrow
  • text
  • cross-hair
  • hand
  • openhand
  • closedhand
  • fist
  • pointinghand
  • resize
  • resizeleft
  • resizeright
  • resizeleftright
  • resizeup
  • resizedown
  • resizeupdown
  • resizebottomleft
  • resizetopleft
  • resizebottomright
  • resizetopright
  • notallowed
  • poof
  • wait
  • countinguphand
  • countingdownhand
  • countingupanddownhand
  • spinning
  • help
  • bucket
  • cancel
  • eyedrop
  • eyedrop-full
  • zoom-in
  • zoom-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