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
DtActionLabel(library call) DtActionLabel(library call)

DtActionLabel — get the localizable label string for an action

#include &<Dt/Action.h>
char *DtActionLabel(
char *actionName);

The DtActionLabel function provides access to the localizable label string associated with an action named actionName. The actionName argument 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'').

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.

All applications displaying action names should use the action label to identify an action.

Dt/Action.h - DtAction(5), dtactionfile(4), dtdtfile(4).


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

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