Documentation Home
> Common Desktop Environment: Desktop KornShell User's Guide
Common Desktop Environment: Desktop KornShell User's Guide
Book Information
Preface
Chapter 1 Introduction to Desktop KornShell
Using Desktop KornShell to Create Motif Applications
Resources
Unsupported Resources
dtksh app-defaults File
Variable Values
Defined Values
Boolean Values
Return Values
Category 1
Category 2
Category 3
Category 4
Immediate Return Value
Initializing the Xt Intrinsics
Creating Widgets
Using a Callback
Registering a Callback
Passing Data to a Callback
Chapter 2 A Sample Script
Writing the Script
Adding a Callback
Chapter 3 Advanced Topics
Using Context Variables
Event Handler Context Variables
Translation Context Variables
Workspace Callback Context Variables
Input Context Variables
Accessing Event Subfields
Responding to a Window Manager Close Notice
Responding to a Session Manager Save State Notice
Cooperating with Workspace Manager
Creating Localized Shell Scripts
Using dtksh to Access X Drawing Functions
Setting Widget Translations
Chapter 4 A Complex Script
Using script_find
Analyzing script_find
Functions and Callbacks
PostErrorDialog()
OkCallback()
LoadStickyValues()
EvalCmd()
RetrievAndSaveCurrentValues()
Main Script
Initialize
Create a Form Widget
First Area
Second Area
Third Area
Fourth Area
Set Operating Parameters
Realize and Loop
Appendix A dtksh Commands
Built-in Xlib Commands
Built-in Xt Intrinsic Commands
Built-in Motif Commands
Built-in Common Desktop Environment Application Help Commands
Built-in Localization Commands
Built-in libDt Session Management Commands
Built-in libDt Workspace Management Commands
Built-in libDt Action Commands
Built-in libDt Data-Typing Commands
Miscellaneous Built-in libDt Commands
Built-in Desktop Services Message Set Commands
Appendix B dtksh Convenience Functions
DtkshAddButtons
DtkshSetReturnKeyControls
DtkshUnder, DtkshOver, DtkshRightOf, and DtkshLeftOf
DtkshFloatRight, DtkshFloatLeft, DtkshFloatTop, and DtkshFloatBottom
DtkshAnchorRight, DtkshAnchorLeft, DtkshAnchorTop, and DtkshAnchorBottom
DtkshSpanWidth and DtkshSpanHeight
DtkshDisplayInformationDialog, DtkshDisplayQuestionDialog, DtDisplayWarningDialog, DtkshDisplayWorkingDialog, and DtkshDisplayErrorDialog
DtkshDisplayQuickHelpDialog and DtkshDisplayHelpDialog
Appendix C The script_find Script
Listing for script_find
Find.sticky
Find.help
Index
A
B
C
D
E
F
H
I
K
L
M
P
R
S
T
U
V
W
X
© 2010, Oracle Corporation and/or its affiliates