XDefaultVisualOfScreen 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]

XDefault()							    XDefault()

Name
  XDefaultColormap,  XDefaultColormapOfScreen,	XDefaultDepth,	XDefault‐
  DepthOfScreen, XDefaultGC, XDefaultGCOfScreen, XDefaultRootWindow, XDe‐
  faultScreen, XDefaultScreenOfDisplay, XDefaultVisual, XDefaultVisualOf‐
  Screen,   DefaultColormap,	DefaultColormapOfScreen,    DefaultDepth,
  DefaultDepthOfScreen,	 DefaultGC, DefaultGCOfScreen, DefaultRootWindow,
  DefaultScreen, DefaultScreenOfDisplay, DefaultVisual,	 DefaultVisualOf‐
  Screen – 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  XDe‐
  faultColormap() 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 con‐
  text of the specified screen, which has the same depth as the root win‐
  dow 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(),   DefaultScreenOfDis‐
  play(), DefaultVisual(), and DefaultVisualOfScreen() are equivalent and
  slightly more efficient.

See Also
  XOpenDisplay().

Xlib - Macro Equivalents					    XDefault()
[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