URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Subversion Repositories or1k
[/] [or1k/] [trunk/] [insight/] [tix/] [man/] [StdBBox.n] - Rev 1765
Compare with Previous | Blame | View Log
'\"
'\" Copyright (c) 1996, Expert Interface Technologies
'\"
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\"
'\" The file man.macros and some of the macros used by this file are
'\" copyrighted: (c) 1990 The Regents of the University of California.
'\" (c) 1994-1995 Sun Microsystems, Inc.
'\" The license terms of the Tcl/Tk distrobution are in the file
'\" license.tcl.
.so man.macros
'----------------------------------------------------------------------
.HS tixStdButonBox tix 4.0
.BS
'
'
'----------------------------------------------------------------------
.SH NAME
tixStdButonBox \- Create and manipulate Tix StdButonBox widgets
'
'
'
'----------------------------------------------------------------------
.SH SYNOPSIS
\fBtixStdButonBox\fI \fIpathName ?\fIoptions\fR?
'
'
'
'----------------------------------------------------------------------
.SH "STANDARD OPTIONS"
.LP
.nf
.ta 4c 8c 12c
\fB
'
anchor background cursor
relief borderWidth
'
\fR
.ta 4c
.fi
.LP
See the \fBoptions(n)\fR manual entry for details on the standard options.
'
'
'----------------------------------------------------------------------
.SH "WIDGET-SPECIFIC OPTIONS"
'
'
'----------BEGIN
.LP
.nf
Name: \fBorientation\fR
Class: \fBOrientation\fR
Switch: \fB\-orientation\fR
Alias: \fB\-orient\fR
.fi
.IP
\fBStatic Option\fR. Specifies the orientation of the button
subwidgets. Only the values "horizontal" and "vertical" are recognized.
'----------END
'
'----------BEGIN
.LP
.nf
Name: \fBpadx\fR
Class: \fBPad\fR
Switch: \fB\-padx\fR
.fi
.IP
Specifies the horizontal padding between two neighboring button
subwidgets in the StdButonBox widget.
'----------END
'----------BEGIN
.LP
.nf
Name: \fBpadx\fR
Class: \fBPad\fR
Switch: \fB\-padx\fR
.fi
.IP
Specifies the vertical padding between two neighboring button
subwidgets in the StdButonBox widget.
'----------END
'
'----------BEGIN
.LP
.nf
Name: \fBstate\fR
Class: \fBState\fR
Switch: \fB\-state\fR
.fi
.IP
Specifies the state of all the buttons inside the StdButtonBox widget.
\fINote\fR:
Setting this option using the \fIconfig\fR widget command will enable
or disable all the buttons subwidgets. Original states of the
individual buttons are \fInot\fR saved.
'----------END
'
'----------------------------------------------------------------------
.SH SUBWIDGETS
.PP
'
'----------BEGIN
.LP
.nf
Name: \fBok\fR
Class: \fBButton\fR
.fi
.IP
The first button subwidget. By default it displays the text string "Ok"
'----------END
'
'
'----------BEGIN
.LP
.nf
Name: \fBapply\fR
Class: \fBButton\fR
.fi
.IP
The second button subwidget. By default it displays the text string "Apply"
'----------END
'
'
'----------BEGIN
.LP
.nf
Name: \fBcancel\fR
Class: \fBButton\fR
.fi
.IP
The third button subwidget. By default it displays the text string "Cancel"
'----------END
'
'
'----------BEGIN
.LP
.nf
Name: \fBhelp\fR
Class: \fBButton\fR
.fi
.IP
The fourth button subwidget. By default it displays the text string "Help"
'----------END
'
'
'----------------------------------------------------------------------
.SH DESCRIPTION
'
.PP
'
The \fBtixStdButonBox\fR command creates a new window (given by the
\fIpathName\fR argument) and makes it into a StdButonBox widget.
Additional options, described above, may be specified on the command
line or in the option database to configure aspects of the StdButonBox
such as its cursor and relief.
'
.PP
The StdButonBox widget is a group of Standard buttons for Motif-like
dialog boxes.
'
'
'----------------------------------------------------------------------
.SH "WIDGET COMMAND"
.PP
'
The \fBtixStdButonBox\fR command creates a new Tcl command whose name is
the same as the path name of the StdButonBox's window. This command may
be used to invoke various operations on the widget. It has the
following general form:
'
.DS C
'
\fIpathName option \fR?\fIarg arg ...\fR?
.DE
'
\fIPathName\fR is the name of the command, which is the same as
the StdButonBox widget's path name. \fIOption\fR and the \fIarg\fRs
determine the exact behavior of the command. The following
commands are possible for StdButonBox widgets:
'
.TP
\fIpathName \fBcget\fR \fIoption\fR
'
Returns the current value of the configuration option given by
\fIoption\fR. \fIOption\fR may have any of the values accepted by the
\fBtixStdButonBox\fR command.
'
.TP
'
\fIpathName \fBconfigure\fR ?\fIoption\fR? \fI?value option value ...\fR?
'
Query or modify the configuration options of the widget. If no
\fIoption\fR is specified, returns a list describing all of the
available options for \fIpathName\fR (see \fBTk_ConfigureInfo\fR for
information on the format of this list). If \fIoption\fR is specified
with no \fIvalue\fR, then the command returns a list describing the
one named option (this list will be identical to the corresponding
sublist of the value returned if no \fIoption\fR is specified). If
one or more \fIoption\-value\fR pairs are specified, then the command
modifies the given widget option(s) to have the given value(s); in
this case the command returns an empty string. \fIOption\fR may have
any of the values accepted by the \fBtixStdButonBox\fR command.
'
'
.TP
\fIpathName \fBinvoke \fIbuttonName\fR
'
Invoke the button subwidget with the name \fRbuttonName\fR.
'
.TP
'
\fIpathName \fBsubwidget \fI name ?args?\fR
'
When no additional arguments are given, returns the pathname of the
subwidget of the specified name.
When no additional arguments are given, the widget command of the
specified subwidget will be called with these parameters.
'
'----------------------------------------------------------------------
.SH BINDINGS
.PP
TixStdButonBox widgets have no default bindings. The button subwidgets
retain their default Tk bindings.
'
'
'
'
'----------------------------------------------------------------------
.SH KEYWORDS
Tix(n), Container Widgets