XtStringConversionWarning man page on HP-UX

Man page or keyword search:  
man Server   10987 pages
apropos Keyword Search (all sections)
Output format
HP-UX logo
[printable version]

XtStringConversionWarning()			   XtStringConversionWarning()

Name
  XtStringConversionWarning  -	emit  boilerplate string conversion error
  message.

Synopsis
  void XtStringConversionWarning(src, dst_type)
	  String src, dst_type;

Inputs
  src	    Specifies the string that could not be converted.

  dst_type  Specifies the name of the type to which the string could  not
	    be converted.

Description
  XtStringConversionWarning()  is  a  convenience routine for use in old-
  style resource converters that convert from strings.	It issues a warn‐
  ing	message	  with	the  name  conversionError,  type  string,  class
  XtToolkitError, and default message string:

     "Cannot convert src to type dst_type"

  It can be used by a conversion routine to announce a	nonfatal  conver‐
  sion error.

Usage
  New-style  resource  converters  should call XtDisplayStringConversion‐
  Warning() instead of XtStringConversionWarning() to display their  con‐
  version warning messages.  These functions display similar messages and
  differ only in that XtDisplayStringConversionWarning() is passed a dis‐
  play pointer as its first argument.

  Old-style  converters are not passed a display pointer, and so must use
  the old function XtStringConversionWarning()	which  does  not  require
  one.

See Also
  XtDisplayStringConversionWarning(1).

Xt - Error Handling				   XtStringConversionWarning()
[top]

List of man pages available for HP-UX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net