XmeFromHorizontalPixels man page on IRIX

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



     XmeFromHorizontalPixels(3XUNIX System XmeFromHorizontalPixels(3X)

     NAME
	  XmeFromHorizontalPixels - Converts from pixels to real-world
	  dimensions based on horizontal resolution of the screen

     SYNOPSIS
	  #include <Xm/XmP.h>
	  void XmeFromHorizontalPixels(
	  Widget widget,
	  int offset,
	  XtArgVal *value);

     VERSION
	  This page documents Motif 2.1.

     DESCRIPTION
	  XmeFromHorizontalPixels converts a horizontal pixel value to
	  a real-world dimensional unit. The real-world dimensional
	  unit depends on the value of the XmNunitType resource
	  associated with the widget.  For example, suppose widget has
	  an XmNunitType resource value of Xm1000TH_INCHES. If the
	  input value were 200 pixels, the output value might be 2500
	  (2.5 inches) on one screen and 2000 (2.0 inches) on another
	  screen.

	  XmeFromHorizontalPixels is an XmExportProc.

	  Typically, your widgets will call this function in a
	  synthetic resource record.

	  widget    Specifies the widget.

	  offset    Specifies the offset (in bytes) of a synthetic
		    resource field in the widget record.

	  value	    Specifies a value in pixels and returns a value in
		    the dimensional units used by widget.

     RELATED
	  XmeToHorizontalPixels(3), XmeFromVerticalPixels(3), and
	  XmeToVerticalPixels(3).

     Page 1					     (printed 7/20/06)

[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