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

FreeBSD Manual Pages

  
 
  

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

NAME
       XmtRegisterImprovedIcons()  -  replace  the standard error, warning and
       information 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_informa-
       tion. Any error,	warning	or information dialog created after this func-
       tion 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	 spec-
       ify 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)

NAME | SYNOPSIS | ARGUMENTS | DESCRIPTION | SEE ALSO

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

home | help