*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->HP-UX 11i man pages -> DtActionIcon (3)              


 DtActionIcon(library call)                       DtActionIcon(library call)

 NAME    [Toc]    [Back]
      DtActionIcon - get the icon information for an action

 SYNOPSIS    [Toc]    [Back]
      #include <Dt/Action.h>
      char *DtActionIcon(
      char *actionName);

 DESCRIPTION    [Toc]    [Back]
      The DtActionIcon function gets the icon information for an action.
      The actionName argument is the name of the action.  DtActionIcon
      returns the name of the icon associated with an actionName action.  If
      the action definition does not explicitly identify an icon name, this
      function returns the default action icon name, as described in
      dtactionfile(4) (``Action Selection'').  The default action icon name
      can be customized using the actionIcon X resource.

      If there are multiple actionName actions, the string returned is the
      icon associated with the most general action.  The most general action
      is the one with the lowest precedence, as described in dtactionfile(4)
      (``Action Selection'').

 RETURN VALUE    [Toc]    [Back]
      Upon successful completion, the DtActionIcon function returns a newly
      allocated copy of the icon name string ( ICON field) associated with
      the action; otherwise, it returns NULL.

 APPLICATION USAGE    [Toc]    [Back]
      The DtActionIcon function is useful for applications that provide a
      graphical interface to actions.

      The application should use XtFree(3) to free the icon name string
      returned by the DtActionIcon function.

 SEE ALSO    [Toc]    [Back]
      Dt/Action.h - DtAction(5), XtFree(3) dtactionfile(4), dtdtfile(4).

                                    - 1 -       Formatted:  January 24, 2005
[ Back ]
 Similar pages
Name OS Title
dticonaction HP-UX CDE icon editing actions
SgIconGadget IRIX the Icon widget class.
DtActionInvoke HP-UX invoke a CDE action
DtDndCreateSourceIcon HP-UX create a drag source icon
iconcatalog IRIX pages on which to store any type of icon
iconsize IRIX specifies the icon size of a window
MrmFetchIconLiteral HP-UX Fetches an icon literal from a hierarchy
MrmFetchIconLiteral Tru64 Fetches an icon literal from a hierarchy
MrmFetchIconLiteral IRIX Fetches an icon literal from a hierarchy
DtAction HP-UX action service definitions
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service