GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
XmtRegisterImprovedIcons(3) FreeBSD Library Functions Manual XmtRegisterImprovedIcons(3)

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

#include <Xmt/Pixmap.h>

void XmtRegisterImprovedIcons(Widget w, XmtColorTable table)

INPUTS
w
Any widget in the application.
table
A color table that defines the colors of the icons, or NULL.

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.

Chapter 4, Using Color,
Chapter 5, Using Icons,
Chapter 25, Message Dialogs,
XmInstallImage(), XmtCreateXImageFromXmtImage(), XmtGetPixmap(), XmtLookupPixmap(), XmtParseXpmData(), XmtRegisterImage().
Motif Tools Xmt

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.