Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

dtactionlabel(3) [hpux man page]

DtActionLabel(library call)											       DtActionLabel(library call)

NAME
DtActionLabel -- get the localizable label string for an action SYNOPSIS
#include <Dt/Action.h> char *DtActionLabel( char *actionName); DESCRIPTION
The DtActionLabel function provides access to the localizable label string associated with an action named actionName. The actionName argu- ment is the name of the action. The localizable label string is the string that all components should display to identify the action. If the action definition does not specify a label string, the action name itself is returned. The label string associated with an action is localizable, but the action name is not. If there are multiple actionName actions, the label string returned is the label 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
Upon successful completion, the DtActionLabel function returns a newly allocated copy of the localizable label string associated with the action if an action named actionName is found; otherwise, it returns NULL. It is up to the caller to free the memory associated with this new copy of the label. The default value for an action label is the action name itself. APPLICATION USAGE
All applications displaying action names should use the action label to identify an action. SEE ALSO
Dt/Action.h - DtAction(5), dtactionfile(4), dtdtfile(4). DtActionLabel(library call)

Check Out this Related Man Page

DtActionDescription(library call)										 DtActionDescription(library call)

NAME
DtActionDescription -- obtain the descriptive text for a given action SYNOPSIS
#include <Dt/Action.h> char *DtActionDescription( char *actionName); DESCRIPTION
The DtActionDescription function looks up and returns the descriptive text associated with the actionName action. The actionName argument is the name of the action. If there are multiple actionName actions, the string returned is the description of the most general. The most general action is the one with the lowest precedence, as described in dtactionfile(4) (``Action Selection''). RETURN VALUE
Upon successful completion, the DtActionDescription function returns a newly allocated copy of the description string associated with the action; otherwise, it returns NULL. APPLICATION USAGE
The DtActionDescription function is useful for applications that wish to present information to the user about a particular action. The application should use XtFree(3) to free the description string returned by DtActionDescription. SEE ALSO
Dt/Action.h - DtAction(5), XtFree(3), dtactionfile(4), dtdtfile(4). DtActionDescription(library call)
Man Page

3 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

any idea to repeat a action in VI

Any idea to repeat an action to all the lines in vi... suppose i want to delete the first word from all the lines in VI .. how would i do it ? in general i am also looking for a way to apply a action to all the lines in VI . (6 Replies)
Discussion started by: myelvis
6 Replies

2. Shell Programming and Scripting

Simple if

Hi, I have a variable (x) that holds a file name - I need to write this: if x matches the patern *ABC* or the pattern DEF*T then action A else action B fi how to do that? Also, how can i change the or test to AND test? Thanks. (2 Replies)
Discussion started by: GNMIKE
2 Replies

3. Programming

Problem in getting the correct number from the string.

I have string named texts which consist of section label “BOOK-SEC-“. Section starts from 1 to n, where n is a number. For this example conside the value of n is 9. That is, the string variable looks like “BOOK-SEC-1... (2 Replies)
Discussion started by: SamRoj
2 Replies