テキストwidgetは、アプリケ−ションが数行のテキストを表示するためのウインドウです。...
Move to
Next Prev
Up Top
Zoom to
xawTextSetInsertionPoint/3
xawTextUnsetSelection/1
xawTextGetSelectionPos/3
xawTextReplace/4
xawTextSearch/4
xawTextInvalidate/3
xawTextEnableRedisplay/1
xawTextDisableRedisplay/1
xawTextDisplay/1
xawTextTopPosition/2
xawTextSetSelectionArray/2
xawTextSetInsertionPoint/3
xawTextGetInsertionPoint/2
xawTextSetSource/3
xawTextGetSource/2
xawTextDisplayCaret/2
xawTextSetString/2
xawTextGetString/2
xawTextGetLastPos/2
例外処理
See also
このマニュアルで使用している引数の役割名
コマンドWidget (Command Widget)
ラベルWidget (Label Widget)
テキストWidget (Text Widget)
Ascii テキストwidget
スクロ−ルバ−Widget (Scrollbar Widget)
ビュ−ポ−トWidget (Viewport Widget)
ボックスWidget (Box Widget)
ペインWidget (Paned Widget)
フォ−ムWidget (Form Widget)
ダイアログWidget (Dialog Widget)
リストWidget (List Widget)
シンプルメニューwidget(SimpleMenu Widget)
SmeBSBオブジェクト(SmeBSB Object)
SmeLine オブジェクト(SmeLine Object)
メニューボタンwidget(menu button widget)
グリップWidget (Grip Widget)
シンプルWidget (Simple Widget)
トグルwidget(Toggle Widget)
特殊なWidgets:Load Logo Mailbox Clock
IF Computer > IF/Prolog > Manuals > IF/Prolog V4.1 マニュアル > IF/Prolog Interfaces > Athena インタフェースマニュアル > X11.4 Athena Widgetsの使用方法 > テキストWidget (Text Widget)

テキストWidget (Text Widget)

MINERVA superseeded IF/Prolog. Please see http://www.ifcomputer.co.jp/MINERVA for details.

We discontinued to sell IF/Prolog Dec 31. 2003. For current customers, we continue to provide professional support for IF/Prolog until Dec 31, 2008.

テキストwidgetは、アプリケ−ションが数行のテキストを表示するためのウインドウです。

テキストwidgetを生成するには、textWidgetClassを使います。その他asciiTextWidgetClassというwidgetクラスがあってそれが一般にほとんどのアプリケーションに対して十分です。

textWidgetClassは、simpleWidgetClassのサブクラスなので、simpleWidgetClassで書かれたすべてのリソ−スは、これらでも有効です。さらにtextSrcObjectClassとtextSinkObjectClassの全てのリソースも有効です。

リソ−ス Prolog表現 デフォ 説明 ルト autoFill アトム*1 false 右マージンでのラインを中断する bottomMargin 整数  2 底マージン(ピクセル) displayCaret アトム*1 true caretを表示するかどうかフラッグ displayPosition 整数  0 第1行の文字位置 insertPosition 整数  0 キャレット(カ−ソル)の文字位置 leftMargin 整数  2 左マ−ジン(ピクセル) resize アトム*2 never リサイズを採用するかどうかを制御する rightMargin 整数  2 右マ−ジン(ピクセル) scrollHorizontal アトム*3 never スクロールバーの水平配置 scrollVertical アトム*3 never スクロールバーの垂直配置 selectTypes リスト *4 *5 マルチクリックの選択単位 textSink アトム*6  _ テキストシンク textSource アトム*7  _ テキストソ−ス topMargin 整数  2 トップマ−ジン(ピクセル) wrap アトム*8 never wrapingテキストのモード

editType アトム *9 read 編集モ−ド

background アトム*10 default バックグラウンド色 font アトム default フォント名 foreground アトム*10 default フォアグラウンド色

*1 boolean *2 never,width,heightのいずれか *3 never,whenNeeded,alwaysのいずれか *4 アトムxtselectAll, xtselectChar, xtselectLine,    xtselectNull, xtselectParagraph,    xtselectPosition, xtselectWordのリスト *5 [ xtselectPosition, xtselectWord, xtselectLine, xtselectParagraph, xtselectAll, xtselectNull ] *6 テキストシンクオブジェクト名 *7 テキスト ソース名 *8 never,line,wordのいずれか *9 append,edit,readのいずれか *10 色スペック

リソ−ス Prolog表現 デフォ 説明 ルト autoFill アトム*1 false 右マージンでのラインを中断する bottomMargin 整数  2 底マージン(ピクセル) displayCaret アトム*1 true caretを表示するかどうかフラッグ displayPosition 整数  0 第1行の文字位置 insertPosition 整数  0 キャレット(カ−ソル)の文字位置 leftMargin 整数  2 左マ−ジン(ピクセル) resize アトム*2 never リサイズを採用するかどうかを制御する rightMargin 整数  2 右マ−ジン(ピクセル) scrollHorizontal アトム*3 never スクロールバーの水平配置 scrollVertical アトム*3 never スクロールバーの垂直配置 selectTypes リスト *4 *5 マルチクリックの選択単位 textSink アトム*6  _ テキストシンク textSource アトム*7  _ テキストソ−ス topMargin 整数  2 トップマ−ジン(ピクセル) wrap アトム*8 never wrapingテキストのモード

<textSrcObjectClassのみ>

editType アトム *9 read 編集モ−ド

<textSinkObjectClassのみ>

background アトム*10 default バックグラウンド色 font アトム default フォント名 foreground アトム*10 default フォアグラウンド色

*1 boolean *2 never,width,heightのいずれか *3 never,whenNeeded,alwaysのいずれか *4 アトムxtselectAll, xtselectChar, xtselectLine,    xtselectNull, xtselectParagraph,    xtselectPosition, xtselectWordのリスト *5 [ xtselectPosition, xtselectWord, xtselectLine, xtselectParagraph, xtselectAll, xtselectNull ] *6 テキストシンクオブジェクト名 *7 テキスト ソース名 *8 never,line,wordのいずれか *9 append,edit,readのいずれか *10 色スペック

注意:ソ−ス/シンクリソ−スが、あるwidgetから他のwidgetへ引き渡され、その後に元のwidgetで破壊された場合には、結果は保障できません。

read on...
xawTextSetInsertionPoint/3
xawTextSetInsertionPoint(+WidgetName, +Position)...
xawTextUnsetSelection/1
xawTextUnsetSelection(+WidgetName)...
xawTextGetSelectionPos/3
xawTextGetSelectionPos(+WidgetName, ?StartPos,...
xawTextReplace/4
xawTextReplace(+WidgetName, +StartPos, +EndPos,...
xawTextSearch/4
xawTextReplace(+WidgetName, +Direction, +Text, ?Positisn)...
xawTextInvalidate/3
xawTextInvalidate(+WidgetName, +StartPos, +EndPos)...
xawTextEnableRedisplay/1
xawTextEnableredisplay(+WidgetName)...
xawTextDisableRedisplay/1
xawTextDisableRedisplay(+WidgetName)...
xawTextDisplay/1
xawTextDisplay(+WidgetName)...
xawTextTopPosition/2
xawTextTopPosition(+WidgetName, ?Position)...
xawTextSetSelectionArray/2
xawTextSetSelectionArray(+WidgetName, +Sarray)...
xawTextSetInsertionPoint/3
xawTextSetInsertionPoint(+WidgetName, +Position)...
xawTextGetInsertionPoint/2
xawTextGetInsertionPoint(+WidgetName, ?Position)...
xawTextSetSource/3
xawTextSetSource(+WidgetName, +Source, +Position)...
xawTextGetSource/2
xawTextGetSource(+WidgetName, ?Source)...
xawTextDisplayCaret/2
xawTextDisplayCaret(+WidgetName, +Visible)...
xawTextSetString/2
xawTextSetString(+WidgetName, +String)...
xawTextGetString/2
xawTextGetString(+WidgetName, -String)...
xawTextGetLastPos/2
xawTextGetLastPos(+WidgetName, +Position)...
例外処理
widget_expected WidgetNameがwidgetの名前でない...
IF/Prolog by Siemens
Language
English
Japanese
German
Server
USA
Japan
Site Access
Local Index
Local Contents
Site Contents
Site Index
Printer Friendly
For imode
For PDA
Search
document: http://www.ifcomputer.co.jp/IFProlog/Manuals/v4.1/advanced_feature/athena/athenause/textw/home_en.html
published 2008/7/21 update 1995/11/7 (c) 1996-2006 IF Computer Japan
IF Computer 5-28-2 Sendagi, Bunkyo-ku Tel +81-3-5814-3352 info@ifcomputer.com
Customer Support Tokyo 113-0022 Japan   http://www.ifcomputer.com
scroll to top managed with ubiCMS