prefposition man page on IRIX

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



prefposition(3G)					      prefposition(3G)

NAME
     prefposition - specifies the preferred location and size of a graphics
     window

C SPECIFICATION
     void prefposition(long x1, long x2, long y1, long y2)

PARAMETERS
     x1	  expects the x coordinate position (in pixels) of the point at which
	  one corner of the window is to be.

     x2	  expects the x coordinate position (in pixels) of the point at which
	  the opposite corner of the window is to be.

     y1	  expects the y coordinate position (in pixels) of the point at which
	  one corner of the window is to be.

     y2	  expects the y coordinate position (in pixels) of the point at which
	  the opposite corner of the window is to be.

DESCRIPTION
     prefposition specifies the preferred location and size of the next
     graphics window opened by winopen.	 You specify the location in pixels
     (x1, x2, y1, y2).	Calling winopen activates the condtions specified by
     prefposition.

     After a window has been opened, its size and position can be changed by
     calling prefposition followed by winconstraints.  (Alternatively,
     winposition may be used in order to change the size and position of an
     already opened window.)

     Note that although prefposition causes the resulting window to be fixed
     in size (not resizable), it will still be possible to move the window.

EXAMPLES
     To open a window with a given size and position, but which will be
     resizable, use the following:

	  prefposition
	  winopen
	  winconstraints

     The winconstraints following the winopen will remove the size contraint.

SEE ALSO
     winconstraints, winopen, winposition

NOTE
     This routine is available only in immediate mode.

									Page 1

[top]

List of man pages available for IRIX

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