ggiSetMode man page on Mageia

Man page or keyword search:  
man Server   17783 pages
apropos Keyword Search (all sections)
Output format
Mageia logo
[printable version]

ggiSetMode(3)			      GGI			 ggiSetMode(3)

NAME
       ggiSetMode, ggiGetMode : Set or get a mode on a visual

SYNOPSIS
       #include <ggi/ggi.h>

       int ggiSetMode(ggi_visual_t visual, ggi_mode *tm);

       int ggiGetMode(ggi_visual_t visual, ggi_mode *tm);

DESCRIPTION
       ggiSetMode  sets	 any  mode  (text or graphics).	 It also performs mode
       negotiation  like  ggiCheckMode(3),  but	 if  any  non-GGI_AUTO/GT_AUTO
       parameters are changed from the original mode, the new mode will not be
       silently set.

       ggiGetMode fills out the passed ggi_mode(3) with the parameters of  the
       current mode of the visual.

RETURN VALUE
       ggiSetMode returns 0 if the mode is set successfully, otherwise an ggi-
       error(3) code.

NOTES
       Do not set a mode before checking it. You may be able to set up a  cer‐
       tain mode on one target, but not other targets.

       See the example in ggiCheckMode(3).
	      Important:  Note	that the ggiSetTextMode(3), ggiSetGraphMode(3)
	      and ggiSetSimpleMode(3) functions are deprecated. Use  ggiCheck‐
	      Mode(3) and similar functions, and then use ggiSetMode(3) on the
	      resulting adjusted ggi_mode(3), once you have checked  it	 your‐
	      self.

SEE ALSO
       ggiCheckMode(3), ggiOpen(3), ggi_mode(3)

libggi-2.2.x			  2006-12-30			 ggiSetMode(3)
[top]

List of man pages available for Mageia

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