XRecolorCursor, XFreeCursor, XQueryBestCursor − manipulate cursors
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);
Specifies the RGB values for the background of the source.
Specifies the cursor.
Specifies the drawable, which indicates the screen.
Specifies the connection to the X server.
Specifies the RGB values for the foreground of the source.
Specify the width and heightof the cursor that you want the size information for.
Return the best width and height that is closest to the specified width and height.
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.
A value for a Cursor argument does not name a defined Cursor.
A value for a Drawable argument does not name a defined Window or Pixmap.
More Linux Commands
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
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
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
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
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
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
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
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
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
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
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
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|