Common Desktop Environment: Desktop KornShell User's Guide

Accessing Event Subfields

The XEvent structure has many different configurations, based on the event's type. dtksh provides access only to the most frequently used XEvents. Any of the other standard XEvents can be accessed using the event type XANY, followed by any of the subfields defined by the XANY event structure, which includes the following subfields:

dtksh supports full access to all of the event fields for the following event types:

The following examples show how the subfields for the preceding event types can be accessed:

${TRANSLATION_EVENT.XBUTTON.X}    
$(CB_CALL_DATA.EVENT.XKEY.STATE)   
${EH_EVENT.XGRAPHICSEXPOSE.WIDTH}