*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> standard/scrnselect (3)              
Title
Content
Arch
Section
 

Contents


scrnselect(3G)							scrnselect(3G)


NAME    [Toc]    [Back]

     scrnselect	- selects the screen upon which	new windows are	placed

C SPECIFICATION    [Toc]    [Back]

     long scrnselect(gsnr)
     long gsnr;

PARAMETERS    [Toc]    [Back]

     gsnr   expects the	number of a screen controlled by the currently
	    selected graphics server.

FUNCTION RETURN	VALUE
     The function returns the previously selected screen, or -1	if there was
     an	error (e.g., gsnr is not a valid screen	number).

DESCRIPTION    [Toc]    [Back]

     scrnselect	selects	the screen upon	which a	subsequent winopen, ginit,
     gbegin, creates a window.	It also	selects	the screen to which getgdesc
     and gversion inquiries refer.  The	screen number must correspond to a
     window controlled by the currently	selected graphics server.  The default
     is	screen number zero.  If	set, the environment variables DISPLAY,
     DGLSERVER,	and REMOTEHOST are checked (except when	using the DGL library)
     in	that order, to override	this default.

     On	error, scrnselect leaves the current screen selection unchanged.

     You can call scrnselect prior to graphics initialization.

SEE ALSO    [Toc]    [Back]

      
      
     dglopen, getgdesc,	ginit, gversion, scrnattach, winopen, xdpyinfo(1)

NOTES    [Toc]    [Back]

     This routine is available only in immediate mode.

     Use getgdesc(GD_NSCRNS) to	determine the number of	screens	available on
     the currently selected graphics server.


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
DtSaverGetWindows HP-UX get the list of windows for drawing by a screen saver application
XmGetXmScreen HP-UX A Screen function that returns the XmScreen object ID for a specified screen
XmGetXmScreen Tru64 A Screen function that returns the XmScreen object ID for a specified screen
XmGetXmScreen IRIX A Screen function that returns the XmScreen object ID for a specified screen
screensaver FreeBSD splash screen / screen saver interface
splash FreeBSD splash screen / screen saver interface
DXmSvnSelectEntry Tru64 Selects a specified entry.
DXmSvnSelectAll Tru64 Selects all entries.
tlutbind IRIX selects a texture look up table
shademodel IRIX selects the shading model
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service