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

FreeBSD Manual Pages

  
 
  

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

NAME
     XmtRegisterImprovedIcons() - replace the standard error, warning and infor-
     mation icons with larger ``improved'' icons.

SYNOPSIS
     #include <Xmt/Pixmap.h>

     void XmtRegisterImprovedIcons(Widget w, XmtColorTable table)

ARGUMENTS
     INPUTS

	  w	 Any widget in the application.

	  table  A color table that defines the colors of the icons, or NULL.

DESCRIPTION
     XmtRegisterImprovedIcons()  replaces  the standard Motif error, warning and
     information icons by calling XmInstallImage() to  register  larger,  multi-
     color  icons  with  the names xm_error, xm_warning, and xm_information. Any
     error, warning or information dialog created after this function is  called
     will use the new icons.

     The  ``improved'' icons are defined as XPM data and are converted to XImage
     structures using the symbolic color definitions of the color  table  table.
     The  new  icons  use  only the ``standard'' symbolic color names defined by
     XmtRegisterStandardColors(), so you can usually specify NULL for table  and
     rely on the default application color table.

     Note  that  the ``improved'' icons are multi-plane color pixmaps. Since the
     XmMessageBox widget cannot display non-rectangular icons, these color icons
     are inappropriate for any XmMessageBox widget that has a  background  color
     different than the background color specified in table.

SEE ALSO
     Chapter 4, Using Color,
     Chapter 5, Using Icons,
     Chapter 25, Message Dialogs,
     XmInstallImage(), XmtCreateXImageFromXmtImage(), XmtGetPixmap(),
     XmtLookupPixmap(), XmtParseXpmData(), XmtRegisterImage().

Xmt				   Motif Tools	     XmtRegisterImprovedIcons(3)

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

home | help