ooxcb.contrib.cursors¶
-
class
ooxcb.contrib.cursors.Cursors(connection)¶ A dictionary holding some Cursor instances, generated from the ‘cursor’ font.
Currently it has the following items (each cursor listed with its corresponding cursor on http://tronche.com/gui/x/xlib/appendix/b/):
- ‘Normal’
- XC_left_ptr
- ‘Resize’
- XC_sizing
- ‘ResizeH’
- XC_sb_h_double_arrow
- ‘ResizeV’
- XC_sb_v_double_arrow
- ‘Move’
- XC_fleur
- ‘TopRight’
- XC_top_right_corner
- ‘TopLeft’
- XC_top_left_corner
- ‘BotRight’
- XC_bottom_right_corner
- ‘BotLeft’
- XC_bottom_left_corner
Example:
cursors = Cursors(my_connection) print cursors['Resize']