cursor(n) Tk cursor routines cursor(n)
__________________________________________________________________________________________________________________________________________________NAME
cursor - Procedures to handle CURSOR data
SYNOPSIS
package require Tk
package require cursor ?0.1?
::cursor::propagate widget cursor
::cursor::restore widget ?cursor?
::cursor::display ?parent?
_________________________________________________________________DESCRIPTION
The cursor package provides commands to handle Tk cursors.
COMMANDS
The following commands are available:
::cursor::propagate widget cursor
Sets the cursor for the specified widget and all its descendants to cursor.
::cursor::restore widget ?cursor?
Restore the original or previously set cursor for the specified widget and all its descendants. If cursor is specified, that will
be used if on any widget that did not have a preset cursor (set by a previous call to ::cursor::propagate).
::cursor::display ?parent?
Pops up a dialog with a listbox containing all the cursor names. Selecting a cursor name will display it in that dialog. This is
simply for viewing any available cursors on the platform.
SEE ALSO Tk_GetCursor(3), cursors(n), options(n)
KEYWORDS
cursor
COPYRIGHT
Copyright (c) Jeffrey Hobbs <jeff@hobbs.org>
cursor 0.1 cursor(n)
Check Out this Related Man Page
XDefineCursor(3X11)XDefineCursor(3X11)NAME
XDefineCursor, XUndefineCursor - define cursors
SYNOPSIS
XDefineCursor(display, w, cursor)
Display *display;
Window w;
Cursor cursor;
XUndefineCursor(display, w)
Display *display;
Window w;
ARGUMENTS
Specifies the cursor that is to be displayed or None. Specifies the connection to the X server. Specifies the window.
DESCRIPTION
If a cursor is set, it will be used when the pointer is in the window. If the cursor is None, it is equivalent to XUndefineCursor.
XDefineCursor can generate BadCursor and BadWindow errors.
The XUndefineCursor function undoes the effect of a previous XDefineCursor for this window. When the pointer is in the window, the parent's
cursor will now be used. On the root window, the default cursor is restored.
XUndefineCursor can generate a BadWindow error.
DIAGNOSTICS
The server failed to allocate the requested resource or server memory. A value for a Cursor argument does not name a defined Cursor. A
value for a Window argument does not name a defined Window.
SEE ALSO XCreateFontCursor(3X11), XRecolorCursor(3X11)
Xlib -- C Language X Interface
XDefineCursor(3X11)
I have this stange behaviour when using VI on my school account. I am editing small files, so I like to stay in REPLACE mode most of the time, and just use the arrow keys to navigate the text. But every time I press an arrow key, I get switched from REPLACE to INPUT mode. Is there a setting... (3 Replies)
I just installed Solaris 8 on an Intel based PC and am in the process of securing it. When I disable RPC my CDE desktop does not show up. I get my mouse cursor and a black screen. Also, anyone know how to disable SMC on Solaris 8.
Thanks (3 Replies)
I had my my php working and and was using the above statement to run a php test page. I did not reboot, or restart httpd, but when i came back to play after a 6 day vacation i found that the page no longer displayed the php info. The statement only shows <? phpinfo(); ?> as a standard html.
I... (4 Replies)
Hey all;
I'm learning both Shell Scripting and Perl; I want to do the following in both:
I want to know how to move the cursor to a certain location on-screen so that when a user types something - it's on a specific line, about 20 characters in!
I'm using FreeBSD; BASH / pdKSH and Perl 5.6... (3 Replies)
Hi All.
How can I change the color of my cusor in sun solaris 8 permanently ? Right now my cursor color is yellow. I want black.
Please reply me soon.
Thanks
Pankaj Verma. (3 Replies)
Hello all
i know the standard way to search in Vi with "/" and "?" but is there any way to perform search
on word that is under the cursor ? (4 Replies)
Hi All,
I have a script, very basic, that checks the the intergrity of tar files. Of course, with a huge amount of files, this might take a while. So I'd like to have the script display the spinning cursor while this happens. I'm just not sure how to go about scripting this under ksh. Can... (6 Replies)
Hi,
My Oracle Stored procedure returns sys_refcursor to shell script. I have to iterate through it in script and use those retrieved values further in my script. I am using K Shell Scrpting.
Stored Procedure is:
create or replace
PROCEDURE p_test(job_id IN VARCHAR2, c1 OUT SYS_REFCURSOR)... (4 Replies)
hi all,
I am using cntrl w f for this
But now the new file is displayed in half of the screen...and the old file in the other half...
how can ichange this default behaviour ...
say for eg:80% to 1 file and remaining 20 % to the other file.... (4 Replies)
I have been trying for a few days now and I can't figure out how to remove the text cursor in xterm.
Or, at least make the hollow box when the terminal is not active disapear.
example of what happens:
xterm*background: black
xterm*cursorColor: red
xterm*foreground: white... (5 Replies)
Hi there.
It's easier to explain this with a pseudo code, I hope this makes sense:
var1=hello
echo $var1
some kind of loop
echo loop counter
done
How do I hold the cursor position immediately behind the last output so I'd get something like:
hello123456789
DOS used to use ","... (5 Replies)