.\" $XConsortium: viewres.man,v 1.8 94/04/17 20:43:25 gildea Exp $ .\" Copyright (c) 1994 X Consortium .\" .\" Permission is hereby granted, free of charge, to any person obtaining .\" a copy of this software and associated documentation files (the .\" "Software"), to deal in the Software without restriction, including .\" without limitation the rights to use, copy, modify, merge, publish, .\" distribute, sublicense, and/or sell copies of the Software, and to .\" permit persons to whom the Software is furnished to do so, subject to .\" the following conditions: .\" .\" The above copyright notice and this permission notice shall be included .\" in all copies or substantial portions of the Software. .\" .\" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS .\" OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF .\" MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. .\" IN NO EVENT SHALL THE X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR .\" OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, .\" ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR .\" OTHER DEALINGS IN THE SOFTWARE. .\" .\" Except as contained in this notice, the name of the X Consortium shall .\" not be used in advertising or otherwise to promote the sale, use or .\" other dealings in this Software without prior written authorization .\" from the X Consortium. .\" .\" Copyright (c) 1998, 2001 The X Japanese Documentation Project. .\" .\" Permission is hereby granted, free of charge, to any person obtaining a .\" copy of this software and associated documentation files (the .\" "Software"), to deal in the Software without restriction, including .\" without limitation the rights to use, copy, modify, merge, publish, dis- .\" tribute, sublicense, and/or sell copies of the Software, and to permit .\" persons to whom the Software is furnished to do so, subject to the fol- .\" lowing conditions: .\" .\" The above copyright notice and this permission notice shall be included .\" in all copies or substantial portions of the Software. .\" .\" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS .\" OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABIL- .\" ITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT .\" SHALL THE X JAPANESE DOCUMENTATION PROJECT BE LIABLE FOR ANY CLAIM, .\" DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR .\" OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR .\" THE USE OR OTHER DEALINGS IN THE SOFTWARE. .\" .\" Except as contained in this notice, the name of The X Japanese .\" Documentation Project shall not be used in advertising or otherwise to .\" promote the sale, use or other dealings in this Software without prior .\" written authorization from The X Japanese Documentation Project. .\" .\" X Window System is a trademark of The Open Group. .\" .\" Translated Tue Nov 10 22:55:39 JST 1998 .\" by FUJIWARA Teruyoshi .\" Updated Thu Oct 18 02:00:35 JST 2001 for XFree86 4.1.0 .\" by FUJIWARA Teruyoshi .\" .\" $XFree86: xc/programs/viewres/viewres.man,v 1.3 2001/01/27 18:21:07 dawes Exp $ .\" .TH VIEWRES 1 "Release 6.5" "X Version 11" .SH 名前 .\"0 viewres - graphical class browser for Xt viewres - グラフィック表示する Xt 用クラスブラウザ .SH 書式 .B "viewres" [-option ...] .SH 説明 .PP .\"0 The \fIviewres\fP program displays a tree showing the widget class hierarchy of .\"0 the Athena Widget Set. Each node in the tree can be expanded to show the .\"0 resources that the corresponding class adds (i.e. does not inherit from its .\"0 parent) when a widget is created. This application allows the user to visually .\"0 examine the structure and inherited resources for the Athena Widget Set. \fIviewres\fP プログラムは Athena ウィジェットセットのウィジェットクラ ス階層を示すツリーを表示する。 ツリーの各ノードは展開することができ、あるウィジェットが生成された時に ノードに対応するクラスが追加した(つまり親から継承しなかった)リソースを 表示することができる。 このアプリケーションを使うと、ユーザは Athena ウィジェットセットの構造 と継承されたリソースを視覚的に調べることができる。 .SH オプション .\"0 \fIViewres\fP accepts all of the standard toolkit command line options as .\"0 well as the following: \fIviewres\fP には、Xt ツールキットの標準コマンド行オプションに加えて 次のオプションを指定できる: .TP 8 .B \-top \fIname\fP .\"0 This option specifies the name of the highest widget in the hierarchy to .\"0 display. This is typically used to limit the display to a subset of the .\"0 tree. The default is \fIObject\fP. このオプションは、表示するウィジェット階層中で最も高レベルの ウィジェットの名前を指定する。 このオプションは通常、表示範囲をツリーの一部に制限するときに使われる。 デフォルト値は \fIObject\fP である。 .TP 8 .B \-variable .\"0 This option indicates that the widget variable names (as declared in .\"0 header files) should be displayed in the nodes rather than the widget .\"0 class name. This is sometimes useful to distinguish widget classes that .\"0 share the same name (such as \fIText\fP). このオプションを指定すると、ウィジェットのクラスではなくウィジェットの 変数名(ヘッダファイル内で宣言される)がノード内に表示される。 このオプションは、同じ名前を持つウィジェットクラス(\fIText\fP など)を 区別するときに役立つことがある。 .TP 8 .B \-vertical .\"0 This option indicates that the tree should be displayed top to bottom .\"0 rather left to right. このオプションを指定すると、ツリーは左から右ではなく、上から下へ向かっ て表示される。 .\"0 .SH "VIEW MENU" .SH "VIEW メニュー" .\"0 The way in which the tree is displayed may be changed through the .\"0 entries in the \fBView\fP menu: ツリーの表示のされかたは、\fBView\fP メニューのエントリによって変化する。 .TP 8 .B "Show Variable Names" .\"0 This entry causes the node labels to be set to the variable names used .\"0 to declare the corresponding widget class. This operation may also be .\"0 performed with the \fBSetLabelType(variable)\fP translation. このエントリは、対応するウィジェットクラスの宣言に使われた変数名をノー ドのラベルにセットする。この操作は \fBSetLabelType(variable)\fP トラン スレーションでも実行できる。 .TP 8 .B "Show Class Names" .\"0 This entry causes the node labels to be set to the class names used when .\"0 specifying resources. This operation may also be performed with the .\"0 \fBSetLabelType(class)\fP translation. このエントリはリソースを指定したときに使われたクラス名をノードの ラベルに設定する。 この操作は \fBSetLabelType(class)\fP トランスレーションでも実行できる。 .TP 8 .B "Layout Horizontal" .\"0 This entry causes the tree to be laid out from left to right. This operation .\"0 may also be performed with the \fISetOrientation(West)\fP translation. このエントリは、ツリーのレイアウトを左から右への表示にする。この操作 は \fISetOrientation(West)\fP トランスレーションでも実行できる。 .TP 8 .B "Layout Vertical" .\"0 This entry causes the tree to be laid out from top to bottom. This operation .\"0 may also be performed with the \fISetOrientation(North)\fP translation. このエントリは、ツリーのレイアウトを上から下への表示にする。この操作 は \fISetOrientation(North)\fP トランスレーションでも実行できる。 .TP 8 .B "Show Resource Boxes" .\"0 This entry expands the selected nodes (see next section) to show the .\"0 new widget and constraint resources. This operation .\"0 may also be performed with the \fIResources(on)\fP translation. このエントリは選択されたノードを展開し(次のセクションを参照すること)、 新しいウィジェットと constraint リソースを表示する。この操作は \fIResources(on)\fP トランスレーションでも実行できる。 .TP 8 .B "Hide Resource Boxes" .\"0 This entry removes the resource displays from the selected nodes (usually to .\"0 conserve space). This operation .\"0 may also be performed with the \fIResources(off)\fP translation. このエントリは、選択されたノードからリソース表示を取り除く(普通は スペースの節約のために使う)。 この操作は \fIResources(off)\fP トランスレーションでも実行できる。 .\"0 .SH "SELECT MENU" .SH "SELECT メニュー" .\"0 Resources for a single widget class can be displayed by clicking .\"0 \fBButton2\fP on the corresponding node, or by adding the node to the .\"0 selection list with \fBButton1\fP and using the \fBShow Resource Boxes\fP .\"0 entry in the \fBView\fP menu. Since \fBButton1\fP actually toggles the .\"0 selection state of a node, clicking on a selected node will cause it to be .\"0 removed from the selected list. 1つのウィジェットクラスに対するリソースは、対応するノード上で \fBButton2\fP をクリックするか、または \fBButton1\fP を使ってノード をセレクションリストに追加してから \fBView\fP メニューの \fBShow Resource Boxes\fP エントリを使うことにより表示できる。 \fBButton1\fP は実際にはノードの選択状態をトグルさせるので、選択されている ノードをクリックするとそのノードは選択されているノードのリストから取り 除かれる。 .PP .\"0 Collections of nodes may also be selected through the various entries in .\"0 the \fBSelect\fP menu: \fBSelect\fP メニューのさまざまなエントリを用いてノードの集合を選択 することができる: .TP 8 .B "Unselect All" .\"0 This entry removes all nodes from the selection list. This operation .\"0 may also be performed with the \fISelect(nothing)\fP translation. このエントリは、全てのノードを選択リストから取り除く。この操作は \fISelect(nothing)\fP トランスレーションでも実行できる。 .TP 8 .B "Select All" .\"0 This entry adds all nodes to the selection list. This operation .\"0 may also be performed with the \fISelect(all)\fP translation. このエントリは、全てのノードを選択リストに追加する。この操作は \fISelect(all)\fP トランスレーションでも実行できる。 .TP 8 .B "Invert All" .\"0 This entry adds unselected nodes to, and removes selected nodes from, the .\"0 selection list. This operation .\"0 may also be performed with the \fISelect(invert)\fP translation. このエントリは未選択状態のノードを選択リストに追加し、選択状態のノード を選択リストから取り除く。 この操作は \fISelect(invert)\fP トランスレーションでも実行できる。 .TP 8 .B "Select Parent" .\"0 This entry selects the immediate parents of all selected nodes. This operation .\"0 may also be performed with the \fISelect(parent)\fP translation. このエントリは、選択された全てのノードの直接の親を選択する。この操作 は \fISelect(parent)\fP トランスレーションでも実行できる。 .TP 8 .B "Select Ancestors" .\"0 This entry recursively selects all parents of all selected nodes. This .\"0 operation may also be performed with the \fISelect(ancestors)\fP translation. このエントリは選択された全てのノードの全ての親を再帰的に選択する。 この操作は \fISelect(ancestors)\fP トランスレーションでも実行できる。 .TP 8 .B "Select Children" .\"0 This entry selects the immediate children of all selected nodes. This .\"0 operation may also be performed with the \fISelect(children)\fP translation. このエントリは全ての選択されたノードの直接の子を選択する。この操作は \fISelect(children)\fP トランスレーションでも実行できる。 .TP 8 .B "Select Descendants" .\"0 This entry recursively selects all children of all selected nodes. This .\"0 operation may also be performed with the \fISelect(descendants)\fP translation. このエントリは選択された全てのノードの全ての子を再帰的に選択する。 この操作は \fISelect(descendants)\fP トランスレーションでも実行できる。 .TP 8 .B "Select Has Resources" .\"0 This entry selects all nodes that add new resources (regular or constraint) .\"0 to their corresponding widget classes. This operation .\"0 may also be performed with the \fISelect(resources)\fP translation. このエントリは、対応するウィジェットクラスに新しいリソース (通常リソースまたは constraintリソース)を追加した全てのノードを選択する。 この操作は\fISelect(resources)\fP トランスレーションでも実行できる。 .TP 8 .B "Select Shown Resource Boxes" .\"0 This entry selects all nodes whose resource boxes are currently expanded .\"0 (usually so that they can be closed with \fBHide Resource Boxes\fP). This .\"0 operation may also be performed with the \fISelect(shown)\fP translation. このエントリは、リソースボックスが現在展開されている全てのノードを選 択する(通常は \fBHide Resource Boxes\fP を使って閉じられるようにするた め)。この操作は \fISelect(shown)\fP トランスレーションでも実行できる。 .SH アクション .\"0 The following application actions are provided: 以下のアプリケーションアクションが用意されている: .TP 8 .B "Quit()" .br .\"0 This action causes \fIviewres\fP to exit. このアクションは \fIviewres\fP を終了させる。 .TP 8 .B "SetLabelType(\fItype\fP)" .\"0 This action sets the node labels to display the widget \fIvariable\fP or .\"0 \fIclass\fP names, according to the argument \fItype\fP. このアクションは、引き数 \fItype\fP に従って、ウィジェットの \fI変数\fP または \fIクラス\fP 名を表示するためにノードのラベルを設定する。 .TP 8 .B "SetOrientation(\fIdirection\fP)" .\"0 This action sets the root of the tree to be one of the following areas of .\"0 the window: \fIWest\fP, \fINorth\fP, \fIEast\fP, or \fISouth\fP. このアクションは、ツリーのルートを以下のウィンドウ領域のいずれかに設定 する: \fIWest\fP, \fINorth\fP, \fIEast\fP, \fISouth\fP. .TP 8 .B "Select(\fIwhat\fP)" .\"0 This action selects the indicated nodes, as described in the \fBVIEW MENU\fP .\"0 section: \fInothing\fP (unselects all nodes), \fIinvert\fP, \fIparent\fP, .\"0 \fIancestors\fP, \fIchildren\fP, \fIdescendants\fP, \fIresources\fP, .\"0 \fIshown\fP. このアクションは、\fBVIEW メニュー\fP セクションで指定されたように、指 定されたノードを選択する: \fInothing\fP (全てのノードの選択を解除する), \fIinvert\fP, \fIparent\fP, \fIancestors\fP, \fIchildren\fP, \fIdescendants\fP, \fIresources\fP, \fIshown\fP. .TP 8 .B "Resources(\fIop\fP)" .\"0 This action turns \fIon\fP, \fIoff\fP, or \fItoggles\fP the resource boxes .\"0 for the selected nodes. このアクションは、選択されたノードに対してリソースボックスを \fIon\fP, \fIoff\fP, \fItoggles\fP のいずれかの状態にする。 .\"0 If invoked from within one of the nodes (through the keyboard or pointer), .\"0 only that node is used. (キーボードやポインタを使って)1つのノード内で呼び出された場合には、そ のノードだけが使用される。 .SH ウィジェットの階層構造 .\"0 Resources may be specified for the following widgets: 以下のウィジェットに対してリソースを指定できる: .sp .nf .ta .5i 1.0i 1.5i 2.0i 2.5i 3.0i 3.5i 4.0i 4.5i 5.0i 5.5i 6.0i 6.5i 7.0i Viewres viewres Paned pane Box buttonbox Command quit MenuButton view SimpleMenu viewMenu SmeBSB layoutHorizontal SmeBSB layoutVertical SmeLine line1 SmeBSB namesVariable SmeBSB namesClass SmeLine line2 SmeBSB viewResources SmeBSB viewNoResources MenuButton select SimpleMenu selectMenu SmeBSB unselect SmeBSB selectAll SmeBSB selectInvert SmeLine line1 SmeBSB selectParent SmeBSB selectAncestors SmeBSB selectChildren SmeBSB selectDescendants SmeLine line2 SmeBSB selectHasResources SmeBSB selectShownResources Form treeform Porthole porthole Tree tree Box \fIvariable-name\fP Toggle \fIvariable-name\fP List \fIvariable-name\fP Panner panner .fi .sp .\"0 where \fIvariable-name\fP is the widget variable name of each node. ここで、\fIvariable-name\fP はそれぞれのノードのウィジェット変数名であ る。 .SH 関連項目 .\"0 X(7), xrdb(1), listres(1), editres(1), appres(1), appropriate widget documents X(7), xrdb(1), listres(1), editres(1), appres(1), 適切なウィジェットの 文書 .SH 著作権 Copyright ([\d,\s]*) X Consortium .br .\"0 See \fIX(7)\fP for a full statement of rights and permissions. 権利と許諾の正式な声明については \fIX(7)\fP を参照すること。 .SH 著者 Jim Fulton, MIT X Consortium