.\" $Xorg: XtAppCSh.man,v 1.3 2000/08/17 19:41:58 cpqbld Exp $ .\" .\" Copyright (c) 1993, 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 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 .\" dealing 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. .\" .\" Translated Sat Oct 17 22:18:45 JST 1998 .\" by FUJIWARA Teruyoshi .\" Corrected by Go Watanabe .\" Updated Thu Oct 11 00:31:10 JST 2001 for XFree86 4.1.0 .\" by FUJIWARA Teruyoshi .\" .\" $XFree86: xc/doc/man/Xt/XtAppCSh.man,v 1.3 2001/02/09 03:47:49 tsi Exp $ .\" .ds tk X Toolkit .ds xT X Toolkit Intrinsics \- C Language Interface .ds xI Intrinsics .ds xW X Toolkit Athena Widgets \- C Language Interface .ds xL Xlib \- C Language X Interface .ds xC Inter-Client Communication Conventions Manual .ds Rn 3 .ds Vn 2.2 .hw XtApp-Create-Shell XtVa-App-Create-Shell wid-get .na .de Ds .nf .\\$1D \\$2 \\$1 .ft 1 .ps \\n(PS .\".if \\n(VS>=40 .vs \\n(VSu .\".if \\n(VS<=39 .vs \\n(VSp .. .de De .ce 0 .if \\n(BD .DF .nr BD 0 .in \\n(OIu .if \\n(TM .ls 2 .sp \\n(DDu .fi .. .de FD .LP .KS .TA .5i 3i .ta .5i 3i .nf .. .de FN .fi .KE .LP .. .de IN \" send an index entry to the stderr .. .de C{ .KS .nf .D .\" .\" choose appropriate monospace font .\" the imagen conditional, 480, .\" may be changed to L if LB is too .\" heavy for your eyes... .\" .ie "\\*(.T"480" .ft L .el .ie "\\*(.T"300" .ft L .el .ie "\\*(.T"202" .ft PO .el .ie "\\*(.T"aps" .ft CW .el .ft R .ps \\n(PS .ie \\n(VS>40 .vs \\n(VSu .el .vs \\n(VSp .. .de C} .DE .R .. .de Pn .ie t \\$1\fB\^\\$2\^\fR\\$3 .el \\$1\fI\^\\$2\^\fP\\$3 .. .de ZN .ie t \fB\^\\$1\^\fR\\$2 .el \fI\^\\$1\^\fP\\$2 .. .de NT .ne 7 .ds NO Note .if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2 .if \\n(.$ .if !'\\$1'C' .ds NO \\$1 .ie n .sp .el .sp 10p .TB .ce \\*(NO .ie n .sp .el .sp 5p .if '\\$1'C' .ce 99 .if '\\$2'C' .ce 99 .in +5n .ll -5n .R .. . \" Note End -- doug kraft 3/85 .de NE .ce 0 .in -5n .ll +5n .ie n .sp .el .sp 10p .. .ny0 .TH XtAppCreateShell 3Xt "Release 6.5" "X Version 11" "XT FUNCTIONS" .SH 名前 .\"0 XtAppCreateShell, XtVaAppCreateShell \- create top-level widget instance XtAppCreateShell, XtVaAppCreateShell \- トップレベルのウィジェットのインスタンスを生成する .SH 書式 Widget XtAppCreateShell(\fIapplication_name\fP, \fIapplication_class\fP, \fIwidget_class\fP, \fIdisplay\fP, \fIargs\fP, \fInum_args\fP) .br String \fIapplication_name\fP; .br String \fIapplication_class\fP; .br WidgetClass \fIwidget_class\fP; .br Display *\fIdisplay\fP; .br ArgList \fIargs\fP; .br Cardinal \fInum_args\fP; .LP Widget XtVaAppCreateShell(\fIapplication_name\fP, \fIapplication_class\fP, \fIwidget_class\fP, \fIdisplay\fP, ...) .br String \fIapplication_name\fP; .br String \fIapplication_class\fP; .br WidgetClass \fIwidget_class\fP; .br Display *\fIdisplay\fP; .SH 引き数 .IP \fIapplication_name\fP 1i .\"0 Specifies the name of the application instance. アプリケーションのインスタンスの名前を指定する。 .IP \fIapplication_class\fP 1i .\"0 Specifies the class name of this application\*(Ac. このアプリケーションのクラス名を指定する。 .ds Wc \ that the application top-level widget should be .IP \fIwidget_class\fP 1i .\"0 Specifies the widget class\*(Wc. アプリケーションのトップレベルウィジェットが属するウィジェットクラスを 指定する。 .ds Di \ from which to get the resources .IP \fIdisplay\fP 1i .\"0 Specifies the display\*(Di. リソースを取り出すディスプレイを指定する。 .IP \fIargs\fP 1i .\"0 Specifies the argument list\*(Di. リソースを取り出す引き数リストを指定する。 .IP \fInum_args\fP 1i .\"0 Specifies the number of arguments in the argument list. 引き数リストの大きさを指定する。 .IP \fI...\fP 1i .\"0 Specifies the variable argument list\*(Di. リソースを取り出す可変長引き数リストを指定する。 .SH 説明 .\"0 The .\"0 .ZN XtAppCreateShell .\"0 function saves the specified application name and application class .\"0 for qualifying all widget resource specifiers. 関数 .ZN XtAppCreateShell は、ウィジェットのリソースの指定子を決定するために、指定されたアプリケー ションの名前とクラスを保存する。 .\"0 The application name and application class are used as the left-most components .\"0 in all widget resource names for this application. アプリケーションの名前とクラスは、このアプリケーションに対する全てのウィ ジェットのリソース名において、最も左の要素として使われる。 .\"0 .ZN XtAppCreateShell .\"0 should be used to create a new logical application within a program .\"0 or to create a shell on another display. .ZN XtAppCreateShell は、プログラム内に新しいアプリケーションを作るためや、他のディスプレイ 上にシェルを作るために使われる。 .\"0 In the first case, .\"0 it allows the specification of a new root in the resource hierarchy. 前者の場合には、リソース階層で新しいルートを指定することができる。 .\"0 In the second case, .\"0 it uses the resource database associated with the other display. 後者の場合には、他のディスプレイに対応するリソースデータベースが使われ る。 .LP .\"0 Note that the widget returned by .\"0 .ZN XtAppCreateShell .\"0 has the \s-1WM_COMMAND\s+1 .\"0 property set for session managers (see Chapter 4). .ZN XtAppCreateShell が返すウィジェットには、セッションマネージャ(4章を参照)のためにセット されるプロパティが \s-1WM_COMMAND\s+1 個ある点に注意すること。 .SH 関連項目 XtCreateWidget(3Xt) .br \fI\*(xT\fP .br \fI\*(xL\fP