XQueryBestCursor man page on HP-UX

Man page or keyword search:  
man Server   10987 pages
apropos Keyword Search (all sections)
Output format
HP-UX logo
[printable version]

XQueryBestCursor()					    XQueryBestCursor()

Name
  XQueryBestCursor – get the closest supported cursor sizes.

Synopsis
  Status XQueryBestCursor(display, d, width, height,
	    width_return, height_return)
	Display *display;
	Drawable d;
	unsigned int width, height;
	unsigned int *width_return, *height_return;

Arguments
  display	 Specifies  a  connection  to  an X server; returned from
		 XOpenDisplay().

  d		 Specifies a drawable that  indicates  which  screen  the
		 cursor is to be used on.  The best cursor may be differ‐
		 ent on different screens.

  width		 Specify the preferred width and height, in pixels.
  height

  width_return	 Returns the closest supported cursor dimensions, in pix‐
  height_return	 els, on the display hardware.

Returns
  Zero on failure, non-zero on success.

Description
  XQueryBestCursor()  returns the closest cursor dimensions actually sup‐
  ported by the display hardware to the dimensions you specify.

  Call this function if you wish to use a cursor size other  than  16  by
  16.	XQueryBestCursor()  provides  a way to find out what size cursors
  are actually possible on the display.	 Applications should be	 prepared
  to use smaller cursors on displays which cannot support large ones.

  XQueryBestCursor()  returns non-zero if the call succeeded in getting a
  supported size (which may be the same or different from  the	specified
  size), or zero if the call failed.

Errors
  BadDrawable

See Also
  XCreateFontCursor(),	XCreateGlyphCursor(), XCreatePixmapCursor(), XDe‐
  fineCursor(), XFreeCursor(), XQueryBestSize(), XRecolorCursor(), XUnde‐
  fineCursor().

Xlib - Cursors						    XQueryBestCursor()
[top]

List of man pages available for HP-UX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net