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
DtEditorSetInsertionPosition(library call) DtEditorSetInsertionPosition(library call)
NAME
DtEditorSetInsertionPosition -- set the position of the insert cursor in a DtEditor widget
SYNOPSIS
#include <Dt/Editor.h>
void DtEditorSetInsertionPosition(
Widget widget,
XmTextPosition position);
DESCRIPTION
The DtEditorSetInsertionPosition function sets the insertion cursor position of the DtEditor widget. The current position of the insertion
cursor can be retrieved with DtEditorGetInsertionPosition(3). The last text position of the DtEditor widget can be retrieved with DtEditor-
GetLastPosition(3).
The widget argument specifies the DtEditor widget ID.
The position argument specifies the position of the insertion cursor. This is an integer number of characters from the beginning of the
text buffer. The first character position is zero. Values greater than the last position place the cursor at the last position (that is,
at the end of the text).
For a complete definition of the DtEditor widget and its associated resources, see DtEditor(3).
RETURN VALUE
The DtEditorSetInsertionPosition function returns no value.
SEE ALSO
Dt/Editor.h - DtEditor(5), DtEditor(3), DtEditorGetInsertionPosition(3), DtEditorGetLastPosition(3).
DtEditorSetInsertionPosition(library call)
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)