Sample translation to make a label widget behave like a button: ラベルウィジェットをボタンのように動作させるトランスレーションの例: - XFree86
Clicking button 2 on a widget deselects all other widgets and then selects just that widget. ウィジェット上でボタン2をクリックすると、他のウィジェットを全て選択解除し、そのウィジェットだけを選択する。 - XFree86
The filename is retrieved from the Text widget directly to the right of the Load button. ファイル名は、Load ボタンの右にある Text ウィジェットから直接取得する。 - XFree86
spaceUnselectSelect(nothing)wSelectSelect(widget)sSelectSelect(all)iInvertSelect(invert)cSelect ChildrenSelect(children)dSelect DescendantsSelect(descendants)pSelect ParentSelect(parent)aSelect AncestorsSelect(ancestors)NShow Widget NamesRelabel(name)CShow Class NamesRelabel(class)IShow Widget IDsRelabel(id)WShow Widget WindowsRelabel(window)TToggle Widget/Class NameRelabel(toggle) Clicking button 1 on a widget adds it to the set of selected widgets.
space 選択解除 Select(nothing)w 選択 Select(widget)s 選択 Select(all)i 反転 Select(invert)c 子を選択 Select(children)d 子孫を選択 Select(descendants)p 親を選択 Select(parent)a 祖先を選択 Select(ancestors)N ウィジェット名表示 Relabel(name)C クラス名表示 Relabel(class)I ウィジェットID表示 Relabel(id)W ウィジェットウィンドウ表示 Relabel(window)ウィジェット上でボタン1をクリックすると、そのウィジェットが選択されたウィジェットのセットに追加される。 - XFree86
The label is the name of the Command buttonwidget created and will be the default text displayed to the user. ラベルは生成される Command button ウィジェットの名前であり、ユーザに対して表示されるデフォルトのテキストとなる。 - XFree86
If the widget is not realized, XtUngrabButton removes a deferred XtGrabButton request,if any, for the specified widget, button, and modifiers. ウィジェットがリアライズされていない場合、指定されたウィジェット、ボタン、モディファイアに対して保留されているXtGrabButtonリクエストがあれば、XtUngrabButtonはこれを削除する。 - XFree86
Clicking button 3 on a widget toggles its label between thewidget's instance name the widget's class name.
ウィジェット上でボタン2をクリックすると、ラベル表示がウィジェットのインスタンス名とクラス名の間で切り替わる。 - XFree86
Load Loads the file named in the text widget immediately to the right of the this button and displays it in the Edit window. Loadこのボタンのすぐ右にあるテキストウィジェットが示すファイルをロードし、これを編集ウィンドウに表示する。 - XFree86
Since this is the name of the widget it may be used to change any of the resources associated with that button. これはウィジェットの名前なので、これを使ってボタンに対応するリソースを変更することができる。 - XFree86
This menu item allows you to select any widget in the application;editres will then highlight the corresponding element the widget tree display.Once this menu item is selected the pointer cursor will again turn to a crosshair, and you must click any pointer button in the widget you wish to have displayed. editres はウィジェットツリー表示における対応する要素をハイライト表示させる。 メニュー項目を選択するとポインタカーソルの形は再び十字形になるので、ユーザは表示させたいウィジェット内でポインタのボタン(どれでもよい)を押す。 - XFree86
Because these resources are not specified in the source code,you can create a customized calculator by writing a private application defaults file, using the Athena Command and Form widget resources to specify the size and position of buttons, the label for each button, and the function of each button. これらのリソースはアプリケーションのソースコード内では指定されていないので、自分専用のアプリケーションデフォルトファイルを書くことによって、カスタマイズした電卓を作ることができる。 このデフォルトファイルでは Athena ウィジェットセットの Command および Form ウィジェットのリソースを使ってボタンのサイズと位置、各ボタンのラベル、各ボタンのキーを指定する。 - XFree86
In the future,if XtDispatchEvent is called with a ButtonPress event matching thespecified button and modifiers (which may be AnyButton or AnyModifier,respectively) for the widget's window, the Intrinsics will call XtUngrabPointerwith the timestamp from the ButtonPress event if either of the followingconditions is true: There is a modal cascade and the widget is not in theactive subset of the cascade and the pointer was not previously grabbed,or
後で指定したボタンとモディファイアにマッチする(ボタンはAnyButton,モディファイアはAnyModifierでも良い)ButtonPressを使ってXtDispatchEventが呼び出された場合、以下の条件のいずれかが成り立つならば、イントリンシクスはKeyPressイベントから得たタイムスタンプを使ってXtUngrabPointerを呼び出す:\\(bu 3モーダルカスケードがあり、ウィジェットがカスケードのアクティブなサブセットではなく、ポインタが以前にグラブされていない。 - XFree86