Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
XmtLayoutPixmap(3)	   Library Functions Manual	    XmtLayoutPixmap(3)

NAME
       XmtLayoutPixmap	- an XmtLayout gadget that displays a pixmap or	a bit-
       map.

SYNOPSIS
       Include File:
	      #include _Xmt/LayoutG.h_

       Constructor:
	      XmtCreateLayoutPixmap()

       Class Name:
	      XmtLayoutPixmap

       Class Pointer:
	      xmtLayoutPixmapGadgetClass

       Class Hierarchy:
	      RectObj -> XmtLayoutGadget -> XmtLayoutPixmap

DESCRIPTION
       The XmtLayoutPixmap widget is a gadget that  displays  a	 bitmap	 or  a
       pixmap within the XmtLayout widget. Because it is specially implemented
       for this	purpose, it is significantly cheaper than using	an XmLabel  or
       XmLabelGadget  for  this	 purpose. For bitmaps, any foreground and back
       ground colors may be specified.

RESOURCES
       The LayoutPixmap	widget inherits	the resources of the RectObj and  Xmt-
       LayoutGadget classes, and defines the following new resources:

       +---------------+-------------+---------------+--------+-------------+
       |Name	       | Type	     | Class	     | Access |	Default	    |
       +---------------+-------------+---------------+--------+-------------+
       |XmtNbackground | XtRPixel    | XtCBackground | CSG    |	unspecified |
       +---------------+-------------+---------------+--------+-------------+
       |XmtNbitmap     | XtRBitmap   | XmtCBitmap    | CSG    |	None	    |
       +---------------+-------------+---------------+--------+-------------+
       |XmtNbitmask    | XmtRBitmask | XmtCBitmask   | CSG    |	None	    |
       +---------------+-------------+---------------+--------+-------------+
       |XmtNforeground | XtRPixel    | XtCForeground | CSG    |	unspecified |
       +---------------+-------------+---------------+--------+-------------+
       |XmtNpixmap     | XtRPixmap   | XmtCPixmap    | CSG    |	None	    |
       +---------------+-------------+---------------+--------+-------------+
       XmtNbackground
	      The  background color to be used to draw XmtNbitmap. If unspeci-
	      fied, the	background color the parent Layout widget is used.

       XmtNbitmap
	      A	bitmap to be displayed with the	specified  XmtNbackground  and
	      XmtNbackground  colors.  If  XmtNpixmap  is also specified, then
	      XmtNbitmap will be ignored.

       XmtNbitmask
	      A	single-plane bitmask that defines the shape of the  bitmap  or
	      pixmap  to display. If this resource is specified, it is used as
	      a	stipple	to display a nonrectangular the	bitmap or pixmap.

       XmtNforeground
	      The foreground color to be used to draw XmtNbitmap. If  unspeci-
	      fied, the	foreground color the parent Layout widget is used.

       XmtNpixmap
	      A	multi-plane pixmap with	a depth	equal to the depth of the Lay-
	      out widget. If this resource  is	specified,  it	overrides  any
	      value  specified for the XmtNbitmap resource. Since pixmaps have
	      colors encoded directly into them,  the  pixmap  specified  with
	      this resource is drawn without using XmtNforeground or XmtNback-
	      ground.

SEE ALSO
       Chapter 19, The Layout Widget: The Details, XmtCreateLayoutPixmap(),
       XmtLayout, XmtLayoutBox,	XmtLayoutSeparator, XmtLayoutSpace,
       XmtLayoutString.

Xmt				  Motif	Tools		    XmtLayoutPixmap(3)

NAME | SYNOPSIS | DESCRIPTION | RESOURCES | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=XmtLayoutPixmap&sektion=3&manpath=FreeBSD+13.1-RELEASE+and+Ports>

home | help