共通デスクトップ環境 プログラマーズ・ガイド (ヘルプ・システム編)

<caution>

注意の通知

ユーザにデータの損失か破損の可能性があることを警告します。

形式

<caution>
text of caution<¥caution> 

デフォルト・ヘッダは「Caution」(日本語ロケールでは「注意」) です。別のヘッダを指定するには、次のように <head> タグを使用します。

<caution><head>alternate heading
text of caution
<¥caution> 

<¥caution> 終了タグが必須です。

アイコンを、注意と共に表示されるように指定するには、ファイル・エンティティを次のようにヘルプ・ボリュームの最上部に定義します。

<!entity CautionElementDefaultIconFile FILE  "filename"> 

filename はアイコン・グラフィック名です。cautions.pm という例の注意アイコンは /usr/dt/dthelp/dthelptag/icons ディレクトリにあります。

次の例は注意メッセージです。

<caution>
There is no Undo for this selection. Before performing this task, 
save any changes to your document.
<¥caution> 

上記のマークアップの出力は次のとおりです。

Graphic

関連項目