hpux man page for xdefault

Query: xdefault

OS: hpux

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

XDefault()																XDefault()

Name
  XDefaultColormap,  XDefaultColormapOfScreen, XDefaultDepth, XDefaultDepthOfScreen, XDefaultGC, XDefaultGCOfScreen, XDefaultRootWindow, XDe-
  faultScreen,	XDefaultScreenOfDisplay,  XDefaultVisual,  XDefaultVisualOfScreen,  DefaultColormap,  DefaultColormapOfScreen,	DefaultDepth,
  DefaultDepthOfScreen,  DefaultGC,  DefaultGCOfScreen, DefaultRootWindow, DefaultScreen, DefaultScreenOfDisplay, DefaultVisual, DefaultVisu-
  alOfScreen - get information on server defaults.

Synopsis
  Colormap XDefaultColormap(display, screen_number)
	   Display *display;
	   int screen_number;
  Colormap XDefaultColormapOfScreen(screen)
	   Screen *screen;
  int XDefaultDepth(display, screen_number)
	   Display *display;
	   int screen_number;
  int XDefaultDepthOfScreen(screen)
	   Screen *screen;
  GC XDefaultGC(display, screen_number)
	   Display *display;
	   int screen_number;
  GC XDefaultGCOfScreen(screen)
	   Screen *screen;
  Window XDefaultRootWindow(display)
	   Display *display;
  int XDefaultScreen(display)
	   Display *display;
  Screen *XDefaultScreenOfDisplay(display)
	   Display *display;
  Visual *XDefaultVisual(display, screen_number)
	   Display *display;
	   int screen_number;
  Visual *XDefaultVisualOfScreen(screen)
	   Screen *screen;

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

  screen_number
	    Specifies the appropriate screen number on the host server.

  screen    Specifies the appropriate Screen structure.

Description
  This page describes several pairs of functions such as such as XDefaultColormap() and XDefaultColormapOfScreen().  The only  difference  is
  the arguments: one takes a Display pointer and integer screen number, while the other takes a Screen pointer.

  XDefaultScreen()  returns  the default screen number referenced by the XOpenDisplay() function.  XDefaultScreenOfDisplay() return a pointer
  to the Screen structure of the default screen.

  XDefaultColormap() and XDefaultColormapOfScreen() return the default colormap ID on the specified  screen.   Most  routine  allocations  of
  color should be made out of this colormap.

  XDefaultDepth()  and	XDefaultDepthOfScreen() return the depth (number of planes) of the root window of the specified screen.  Other depths
  may also be supported on this screen (see XMatchVisualInfo()).

  XDefaultGC() and XDefaultGCOfScreen() return the default graphics context of the specified screen, which has the same  depth	as  the  root
  window of the screen.  The GC must never be freed.

  XDefaultRootWindow() returns the root window of the default screen.

  XDefaultVisual() and XDefaultVisualOfScreen() return the default visual of the specified screen.

  The  C  language  macros  DefaultColormap(),	DefaultColormapOfScreen(),  DefaultDepth(), DefaultDepthOfScreen(), DefaultGC(), DefaultGCOf-
  Screen(), DefaultRootWindow(), DefaultScreen(), DefaultScreenOfDisplay(), DefaultVisual(), and DefaultVisualOfScreen() are  equivalent  and
  slightly more efficient.

See Also
  XOpenDisplay().

Xlib - Macro Equivalents														XDefault()
Related Man Pages
displayplanes(3x11) - ultrix
allplanes(3x11) - ultrix
defaultgc(3x11) - ultrix
defaultscreen(3x11) - ultrix
xdefault(3) - hpux
Similar Topics in the Unix Linux Community
Display result one page at a time
Display ???
iTunes does not display all options at low screen resolutions
Virtual Box Screen Display
Display a menu on bottom right of screen