UIfontCursor


Synopsis

a user definable cursor based on an exisiting cursor font


UIcursor UIfontCursor <cxx_class="UIfontCursorP", use_src_file=0> {
string cursor_name; /* Name of cursor in standard cursor font */
/* see motif_ui/ui/cursornames.h */
int font_index; /* Index of cursor shape in font table */
cxxmethod+notify_inst+req init<NEvisible=0>;
cxxmethod+req update<NEvisible=0>
(attach_cursor+notify,color.foregroundColor+notify,color.backgroundColor+
notify,cursor_name+notify,font_index+notify);
};

Description

The UIfontCursor object creates and displays a standard font cursor in the window of the UI object connected to it. The cursor type can be selected by name or index number from a list of standard cursor types.

An array of cursor names can be connected to the cursor_name subobject and selected by its index to provide semi-animated cursors or switching between select cursor types based on another state change.

Subobjects

attach_cursor
color

UIcursor class attributes. For details, see UIcursor .

cursor_name

String. Name of the desired cursor type from the standard X11 cursor font:

 

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

 

 

font_index

Integer. Index of the desired cursor type from the cursor table.

Example

Not available.

File

v/UI.v

See Also

Related modules:

•      UIcursor

UIpixmapCursor