XRecolorCursor
NAMESYNTAX
ARGUMENTS
DESCRIPTION
DIAGNOSTICS
SEE ALSO
NAME
XRecolorCursor, XFreeCursor, XQueryBestCursor − manipulate cursors
SYNTAX
int XRecolorCursor(Display *display, Cursor cursor, XColor *foreground_color, XColor *background_color); | |
int XFreeCursor(Display *display, Cursor cursor); | |
Status XQueryBestCursor(Display *display, Drawable d, unsigned int width, unsigned int height, unsigned int *width_return, unsigned int *height_return); |
ARGUMENTS
background_color
Specifies the RGB values for the background of the source.
cursor |
Specifies the cursor. | ||
d |
Specifies the drawable, which indicates the screen. | ||
display |
Specifies the connection to the X server. |
foreground_color
Specifies the RGB values for the foreground of the source.
width |
|||
height |
Specify the width and heightof the cursor that you want the size information for. |
width_return
height_return
Return the best width and height that is closest to the specified width and height.
DESCRIPTION
The XRecolorCursor function changes the color of the specified cursor, and if the cursor is being displayed on a screen, the change is visible immediately. The pixel members of the XColor structures are ignored; only the RGB values are used.
XRecolorCursor can generate a BadCursor error.
The XFreeCursor function deletes the association between the cursor resource ID and the specified cursor. The cursor storage is freed when no other resource references it. The specified cursor ID should not be referred to again.
XFreeCursor can generate a BadCursor error.
Some displays allow larger cursors than other displays. The XQueryBestCursor function provides a way to find out what size cursors are actually possible on the display. It returns the largest size that can be displayed. Applications should be prepared to use smaller cursors on displays that cannot support large ones.
XQueryBestCursor can generate a BadDrawable error.
DIAGNOSTICS
BadCursor |
A value for a Cursor argument does not name a defined Cursor. |
BadDrawable
A value for a Drawable argument does not name a defined Window or Pixmap.
SEE ALSO
XCreateColormap(3),
XCreateFontCursor(3), XDefineCursor(3)
Xlib − C Language X Interface
More Linux Commands
manpages/svctcp_create.3.html
svctcp_create(3) - library routines for remote procedure cal
These routines allow C programs to make procedure calls on other machines across the network. First, the client calls a procedure to send a data packet to the s
manpages/strpbrk.3.html
strpbrk(3) - search a string for any of a set of characters
The strpbrk() function locates the first occurrence in the string s of any of the bytes in the string accept. RETURN VALUE The strpbrk() function returns a poin
manpages/pbm.5.html
pbm(5) - Netpbm bi-level image format - Linux manual page...
This program is part of Netpbm(1) The PBM format is a lowest common denominator monochrome file format. It serves as the common language of a large family of bi
manpages/wcsrtombs.3.html
wcsrtombs(3) - convert a wide-character string to a multibyt
If dest is not NULL, the wcsrtombs() function converts the wide-character string *src to a multibyte string starting at dest. At most len bytes are written to d
manpages/gdbinit.5.html
gdbinit(5) GDB initialization scripts - Linux manual page...
These files contain GDB commands to automatically execute during GDB startup. The lines of contents are canned sequences of commands, described in the GDB manua
manpages/mbpath.8.html
mbpath(8) - translate mailbox names to filesystem paths.....
Given a mailbox name or a space separated list of mailbox names, mbpath outputs the filesystem path to the mailbox. Mbpath reads its configuration options out o
manpages/kcmp.2.html
kcmp(2) compare two processes to determine if they share a k
The kcmp() system call can be used to check whether the two processes identified by pid1 and pid2 share a kernel resource such as virtual memory, file descripto
manpages/dconf.1.html
dconf(1) Simple tool for manipulating a dconf database......
The dconf program can perform various operations on a dconf database, such as reading or writing individual values or entire directories. This tool operates on
manpages/texi2dvi.1.html
texi2dvi(1) - convert Texinfo documents to DVI (Man Page)...
texi2dvi.1 - Run each Texinfo or (La)TeX FILE through TeX in turn until all cross-references are resolved, building all indices. The directory containing each F
manpages/lvreduce.8.html
lvreduce(8) - reduce the size of a logical volume (ManPage)
lvreduce allows you to reduce the size of a logical volume. Be careful when reducing a logical volumes size, because data in the reduced part is lost!!! You sho
manpages/Tcl_GetCwd.3.html
Tcl_GetCwd(3) - manipulate the current working directory....
These procedures may be used to manipulate the current working directory for the application. They provide C-level access to the same functionality as the Tcl p
manpages/nona_gui.1.html
nona_gui(1) - Graphical interface for nona - Linux man page
nona_gui is a GUI version of the nona panorama rendering tool and provides a similar level of user interaction as the windows version of PTStitcher. OPTIONS -h|
