A1.8 登録マウスカーソル

◀ A1.7 登録ビットマップ   【目  次】  A1.9 イメージ ▶

999999

 更新日:


 このホームページは Amazon Kindle 本の作成中の草稿です。日々、原稿を見直しているので、内容が変わることに留意して読んで下さい。本が出版され次第、このホームページは削除されます。

A1.8 登録マウスカーソル

 ウィジェット上にマウスポインタがあるときに表示するポインタの形状(カーソル)は「cursor」オプションで設定することができます。「cursor」オプションに「カーソル定数」を指定します。「カーソル定数」は下記のように tkinter で定義されています。左側にカーソル形状、右側に「カーソル定数」を示しています。ここで、正確なカーソル形状のグラフィックは OS によって異なる場合があります。

c01 arrow
c02 based_arrow_down
c03 based_arrow_up
c04 boat
c05 bogosity
c06 bottom_left_corner
c07 bottom_right_corner
c08 bottom_side
c09 bottom_tee
c10 box_spiral
c11 center_ptr
c12 circle
c13 clock
c14 coffee_mug
c15 cross
c16 cross_reverse
c17 crosshair
c18 diamond_cross
c19 dot
c20 dotbox
c21 double_arrow
c22 draft_large
c23 draft_small
c24 draped_box
c25 exchange
c26 fleur
c27 gobbler
c28 gumby
c29 hand1
c30 hand2
c31 heart
c32 icon
c33 iron_cross
c34 left_ptr
c35 left_side
c36 left_tee
c37 leftbutton
c38 ll_angle
c39 lr_angle
c40 man
c41 middlebutton
c42 mouse
c43 pencil
c44 pirate
c45 plus
c46 question_arrow
c47 right_ptr
c48 right_side
c49 right_tee
c50 rightbutton
c51 rtl_logo
c52 sailboat
c53 sb_down_arrow
c54 sb_h_double_arrow
c55 sb_left_arrow
c56 sb_right_arrow
c57 sb_up_arrow
c58 sb_v_double_arrow
c59 shuttle
c60 sizing
c61 spider
c62 spraycan
c63 star
c64 target
c65 tcross
c66 top_left_arrow
c67 top_left_corner
c68 top_right_corner
c69 top_side
c70 top_tee
c71 trek
c72 ul_angle
c73 umbrella
c74 ur_angle
c75 watch
c76 xterm
c77 X_cursor

  "