XDefineCursor, XUndefineCursor - define cursors


   int XDefineCursor(Display *display, Window w, Cursor cursor);

   int XUndefineCursor(Display *display, Window w);


   cursor    Specifies the cursor that is to be displayed or None.

   display   Specifies the connection to the X server.

   w         Specifies the window.


   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.


   BadAlloc  The server failed to allocate the requested resource or
             server memory.

   BadCursor A value for a Cursor argument does not name a defined Cursor.

   BadWindow A value for a Window argument does not name a defined Window.


   XCreateFontCursor(3), XRecolorCursor(3)
   Xlib - C Language X Interface

More Linux Commands

XtUnrealizeWidget(3) - realize and unrealize widgets........
If the widget is already realized, XtRealizeWidget simply returns. Otherwise, it performs the following: * Binds all action names in the widgets translation tab

glMap2d(3gl) - define a two-dimensional evaluator (ManPage)
Evaluators provide a way to use polynomial or rational polynomial mapping to produce vertices, normals, texture coordinates, and colors. The values produced by

delete(n) - delete things in the interpreter (Man Page).....
The delete command is used to delete things in the interpreter. It is implemented as an ensemble, so extensions can add their own options and extend the behavio

getgrgid(3) - get group file entry - Linux manual page......
The getgrnam() function returns a pointer to a structure containing the broken-out fields of the record in the group database (e.g., the local group file /etc/g

select_tut(2) - synchronous I/O multiplexing (Man Page).....
select() (or pselect()) is used to efficiently monitor multiple file descriptors, to see if any of them is, or becomes, ready; that is, to see whether I/O becom

cosl(3) - cosine function (Library - Linux man page)........
The cos() function returns the cosine of x, where x is given in radians. RETURN VALUE On success, these functions return the cosine of x. If x is a NaN, a NaN i

winsertln(3ncurses) - delete and insert lines in a curses wi
The deleteln and wdeleteln routines delete the line under the cursor in the window; all lines below the current line are moved up one line. The bottom line of t

XQueryKeymap(3) - manipulate keyboard settings and keyboard
The XChangeKeyboardControl function controls the keyboard characteristics defined by the XKeyboardControl structure. The value_mask argument specifies which val

getnetbyaddr(3) - get network entry - Linux manual page.....
The getnetent() function reads the next entry from the networks database and returns a netent structure containing the broken-out fields from the entry. A conne

pppd-radius(8) - RADIUS authentication plugin for pppd (8)
The RADIUS plugin for pppd permits pppd to perform PAP, CHAP, MS-CHAP and MS-CHAPv2 authentication against a RADIUS server instead of the usual /etc/ppp/pap-sec

CPU_OR_S(3) - macros for manipulating CPU sets (Man Page)...
The cpu_set_t data structure represents a set of CPUs. CPU sets are used by sched_setaffinity(2) and similar interfaces. The cpu_set_t data type is implemented

Tcl_OpenFileChannel(3) - buffered I/O facilities using chann
The Tcl channel mechanism provides a device-independent and platform-independent mechanism for performing buffered input and output operations on a variety of f

We can't live, work or learn in freedom unless the software we use is free.