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 bitmap.

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 XmtLay-
     outGadget 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  unspecified,
	    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 unspecified,
	    the foreground color the parent Layout widget is used.

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

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

Xmt				   Motif Tools		      XmtLayoutPixmap(3)

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

home | help