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/labs.3.html
labs(3) - compute the absolute value of an integer (ManPage)
The abs() function computes the absolute value of the integer argument j. The labs(), llabs() and imaxabs() functions compute the absolute value of the argument
manpages/arpd.8.html
arpd(8) - userspace arp daemon. (Admin - Linux man page)....
The arpd daemon collects gratuitous ARP information, saving it on local disk and feeding it to the kernel on demand to avoid redundant broadcasting due to limit
manpages/fsck.msdos.8.html
fsck.msdos(8) - check and repair MS-DOS filesystems.........
fsck.fat verifies the consistency of MS-DOS filesystems and optionally tries to repair them. The following filesystem problems can be corrected (in this order):
manpages/envz_strip.3.html
envz_strip(3) - environment string support - Linux man page
These functions are glibc-specific. An argz vector is a pointer to a character buffer together with a length, see argz_add(3). An envz vector is a special argz
manpages/XtAppInitialize.3.html
XtAppInitialize(3) - initialize, open, or close a display...
The XtAppInitialize function calls XtToolkitInitialize followed by XtCreateApplicationContext, then calls XtOpenDisplay with display_string NULL and application
manpages/XF86DGA.3.html
XF86DGA(3) - Client library for the XFree86-DGA extension.
The XFree86-DGA extension is an X server extension for allowing client programs direct access to the video frame buffer. This is a brief description of the prog
manpages/gnutls_x509_crt_set_key_usage.3.html
gnutls_x509_crt_set_key_usage(3) - API function (Man Page)
This function will set the keyUsage certificate extension. RETURNS On success, GNUTLS_E_SUCCESS (0) is returned, otherwise a negative error value. REPORTING BUG
manpages/SDL_SetGammaRamp.3.html
SDL_SetGammaRamp(3) - Sets the color gamma lookup tables for
Sets the gamma lookup tables for the display for each color component. Each table is an array of 256 Uint16 values, representing a mapping between the input and
manpages/git-svn.1.html
git-svn(1) Bidirectional operation between a Subversion repo
git svn is a simple conduit for changesets between Subversion and Git. It provides a bidirectional flow of changes between a Subversion and a Git repository. gi
manpages/groff_font.5.html
groff_font(5) - format of groff device and font description
The groff font format is roughly a superset of the ditroff font format. The font files for device name are stored in a directory devname. There are two types of
manpages/vfs_crossrename.8.html
vfs_crossrename(8) - server side rename files across filesys
This VFS module is part of the samba(7) suite. The vfs_crossrename VFS module allows server side rename operations even if source and target are on different ph
manpages/systemd-system.conf.5.html
systemd-system.conf(5) System and session service manager co
systemd-system.conf.5 - When run as system instance systemd reads the configuration file system.conf, otherwise user.conf. These configuration files contain a f
