Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

cursors(1t) [opensolaris man page]

cursors(1T)						       Tk Built-In Commands						       cursors(1T)

__________________________________________________________________________________________________________________________________________________

NAME
cursors - mouse cursors available in Tk _________________________________________________________________ DESCRIPTION
The -cursor widget option allows a Tk programmer to change the mouse cursor for a particular widget. The cursor names recognized by Tk 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 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 PORTABILITY ISSUES
Windows On Windows systems, the following cursors are mapped to native cursors: arrow center_ptr crosshair fleur ibeam icon sb_h_double_arrow sb_v_double_arrow watch xterm And the following additional cursors are available: no starting size size_ne_sw size_ns size_nw_se size_we uparrow wait The no cursor can be specified to eliminate the cursor. Mac OS X On Mac OS X systems, the following cursors are mapped to native cursors: arrow cross crosshair ibeam plus watch xterm And the following additional native cursors are available: copyarrow aliasarrow contextualmenuarrow text cross-hair closedhand openhand pointinghand resizeleft resizeright resizeleftright resizeup resizedown resizeupdown none notallowed poof countinguphand countingdownhand countingupanddownhand spinning KEYWORDS
cursor, option ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +--------------------+-----------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +--------------------+-----------------+ |Availability | SUNWTk | +--------------------+-----------------+ |Interface Stability | Uncommitted | +--------------------+-----------------+ NOTES
Source for Tk is available on http://opensolaris.org. Tk 8.3 cursors(1T)

Check Out this Related Man Page

Gtk2::Gdk::Cursor(3pm)					User Contributed Perl Documentation				    Gtk2::Gdk::Cursor(3pm)

NAME
Gtk2::Gdk::Cursor - wrapper for GdkCursor DESCRIPTION
For reference, cursors are a per-display resource and can only be used with the display they were created on. As of Gtk 2.22 a cursor doesn't keep a reference to its "Gtk2::Gdk::Display" and if the display object is destroyed before the cursor then a later destroy of the cursor may get a segv. Perl-Gtk2 doesn't try to do anything about this. Care may be needed if keeping a cursor separate from a widget or window. (Closing the display is fine, but not destroying it.) HIERARCHY
Glib::Boxed +----Gtk2::Gdk::Cursor METHODS
cursor = Gtk2::Gdk::Cursor->new ($cursor_type) o $cursor_type (Gtk2::Gdk::CursorType) cursor = Gtk2::Gdk::Cursor->new_for_display ($display, $cursor_type) o $display (Gtk2::Gdk::Display) o $cursor_type (Gtk2::Gdk::CursorType) Since: gtk+ 2.2 cursor = Gtk2::Gdk::Cursor->new_from_name ($display, $name) o $display (Gtk2::Gdk::Display) o $name (string) Since: gtk+ 2.8 cursor = Gtk2::Gdk::Cursor->new_from_pixbuf ($display, $pixbuf, $x, $y) o $display (Gtk2::Gdk::Display) o $pixbuf (Gtk2::Gdk::Pixbuf) o $x (integer) o $y (integer) Since: gtk+ 2.4 cursor = Gtk2::Gdk::Cursor->new_from_pixmap ($source, $mask, $fg, $bg, $x, $y) o $source (Gtk2::Gdk::Pixmap) o $mask (Gtk2::Gdk::Pixmap) o $fg (Gtk2::Gdk::Color) o $bg (Gtk2::Gdk::Color) o $x (integer) o $y (integer) cursortype = $cursor->get_cursor_type Since: gtk+ 2.22 display = $cursor->get_display Since: gtk+ 2.2 pixbuf = $cursor->get_image Since: gtk+ 2.8 cursortype = $cursor->type ENUMS AND FLAGS
enum Gtk2::Gdk::CursorType o 'x-cursor' / 'GDK_X_CURSOR' o 'arrow' / 'GDK_ARROW' o 'based-arrow-down' / 'GDK_BASED_ARROW_DOWN' o 'based-arrow-up' / 'GDK_BASED_ARROW_UP' o 'boat' / 'GDK_BOAT' o 'bogosity' / 'GDK_BOGOSITY' o 'bottom-left-corner' / 'GDK_BOTTOM_LEFT_CORNER' o 'bottom-right-corner' / 'GDK_BOTTOM_RIGHT_CORNER' o 'bottom-side' / 'GDK_BOTTOM_SIDE' o 'bottom-tee' / 'GDK_BOTTOM_TEE' o 'box-spiral' / 'GDK_BOX_SPIRAL' o 'center-ptr' / 'GDK_CENTER_PTR' o 'circle' / 'GDK_CIRCLE' o 'clock' / 'GDK_CLOCK' o 'coffee-mug' / 'GDK_COFFEE_MUG' o 'cross' / 'GDK_CROSS' o 'cross-reverse' / 'GDK_CROSS_REVERSE' o 'crosshair' / 'GDK_CROSSHAIR' o 'diamond-cross' / 'GDK_DIAMOND_CROSS' o 'dot' / 'GDK_DOT' o 'dotbox' / 'GDK_DOTBOX' o 'double-arrow' / 'GDK_DOUBLE_ARROW' o 'draft-large' / 'GDK_DRAFT_LARGE' o 'draft-small' / 'GDK_DRAFT_SMALL' o 'draped-box' / 'GDK_DRAPED_BOX' o 'exchange' / 'GDK_EXCHANGE' o 'fleur' / 'GDK_FLEUR' o 'gobbler' / 'GDK_GOBBLER' o 'gumby' / 'GDK_GUMBY' o 'hand1' / 'GDK_HAND1' o 'hand2' / 'GDK_HAND2' o 'heart' / 'GDK_HEART' o 'icon' / 'GDK_ICON' o 'iron-cross' / 'GDK_IRON_CROSS' o 'left-ptr' / 'GDK_LEFT_PTR' o 'left-side' / 'GDK_LEFT_SIDE' o 'left-tee' / 'GDK_LEFT_TEE' o 'leftbutton' / 'GDK_LEFTBUTTON' o 'll-angle' / 'GDK_LL_ANGLE' o 'lr-angle' / 'GDK_LR_ANGLE' o 'man' / 'GDK_MAN' o 'middlebutton' / 'GDK_MIDDLEBUTTON' o 'mouse' / 'GDK_MOUSE' o 'pencil' / 'GDK_PENCIL' o 'pirate' / 'GDK_PIRATE' o 'plus' / 'GDK_PLUS' o 'question-arrow' / 'GDK_QUESTION_ARROW' o 'right-ptr' / 'GDK_RIGHT_PTR' o 'right-side' / 'GDK_RIGHT_SIDE' o 'right-tee' / 'GDK_RIGHT_TEE' o 'rightbutton' / 'GDK_RIGHTBUTTON' o 'rtl-logo' / 'GDK_RTL_LOGO' o 'sailboat' / 'GDK_SAILBOAT' o 'sb-down-arrow' / 'GDK_SB_DOWN_ARROW' o 'sb-h-double-arrow' / 'GDK_SB_H_DOUBLE_ARROW' o 'sb-left-arrow' / 'GDK_SB_LEFT_ARROW' o 'sb-right-arrow' / 'GDK_SB_RIGHT_ARROW' o 'sb-up-arrow' / 'GDK_SB_UP_ARROW' o 'sb-v-double-arrow' / 'GDK_SB_V_DOUBLE_ARROW' o 'shuttle' / 'GDK_SHUTTLE' o 'sizing' / 'GDK_SIZING' o 'spider' / 'GDK_SPIDER' o 'spraycan' / 'GDK_SPRAYCAN' o 'star' / 'GDK_STAR' o 'target' / 'GDK_TARGET' o 'tcross' / 'GDK_TCROSS' o 'top-left-arrow' / 'GDK_TOP_LEFT_ARROW' o 'top-left-corner' / 'GDK_TOP_LEFT_CORNER' o 'top-right-corner' / 'GDK_TOP_RIGHT_CORNER' o 'top-side' / 'GDK_TOP_SIDE' o 'top-tee' / 'GDK_TOP_TEE' o 'trek' / 'GDK_TREK' o 'ul-angle' / 'GDK_UL_ANGLE' o 'umbrella' / 'GDK_UMBRELLA' o 'ur-angle' / 'GDK_UR_ANGLE' o 'watch' / 'GDK_WATCH' o 'xterm' / 'GDK_XTERM' o 'last-cursor' / 'GDK_LAST_CURSOR' o 'blank-cursor' / 'GDK_BLANK_CURSOR' o 'cursor-is-pixmap' / 'GDK_CURSOR_IS_PIXMAP' SEE ALSO
Gtk2, Glib::Boxed COPYRIGHT
Copyright (C) 2003-2011 by the gtk2-perl team. This software is licensed under the LGPL. See Gtk2 for a full notice. perl v5.14.2 2012-05-27 Gtk2::Gdk::Cursor(3pm)
Man Page