dialogshell - Create and manipulate a dialog shell widget

SYNOPSIS

dialogshell pathName ?options?

INHERITANCE

itk::Toplevel <- Shell <- Dialogshell

STANDARD OPTIONS

background
cursor
foreground

See the "options" manual entry for details on the standard options.

INHERITED OPTIONS

height
master
modality
width

See the "shell" manual entry for details on the above inherited options.

title

See the "Toplevel" manual entry for details on the above inherited options.

WIDGET-SPECIFIC OPTIONS

Name:                   buttonBoxPadX
Class:                  Pad
Command-Line Switch:	-buttonboxpadx

Name:                   buttonBoxPadY
Class:                  Pad
Command-Line Switch:	-buttonboxpady

Name:                   buttonBoxPos
Class:                  Position
Command-Line Switch:	-buttonboxpos

Name:                   padX
Class:                  Pad
Command-Line Switch:	-padx

Name:                   padY
Class:                  Pad
Command-Line Switch:	-pady

Name:                   separator
Class:                  Separator
Command-Line Switch:	-separator

Name:                   thickness
Class:                  Thickness
Command-Line Switch:	-thickness

DESCRIPTION

The dialogshell command creates a dialog shell which is a top level widget composed of a button box, separator, and child site area. The class also has methods to control button construction.

METHODS

The dialogshell command create a new Tcl command whose name is pathName. This command may be used to invoke various operations on the widget. It has the following general form:

pathName option ?arg arg ...?
Option and the args determine the exact behavior of the command. The following commands are possible for dialogshell widgets:

INHERITED METHODS

activate
center
deactivate

See the "shell" manual entry for details on the above inherited methods.

ASSOCIATED METHODS

add
hide
show
buttonconfigure
index
default
insert
delete
invoke

See the "buttonbox" manual entry for details on the associated methods.

WIDGET-SPECIFIC METHODS

pathName cget option
Returns the current value of the configuration option given by option. Option may have any of the values accepted by the dialogshell command.
pathName childsite
Returns the pathname of the child site widget.
pathName configure ?option? ?value option value ...?
Query or modify the configuration options of the widget. If no option is specified, returns a list describing all of the available options for pathName (see Tk_ConfigureInfo for information on the format of this list). If option is specified with no value, 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 option is specified). If one or more option-value 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. Option may have any of the values accepted by the dialogshell command.

COMPONENTS

Name:                   dschildsite
Class:                  frame

Name:                   separator
Class:                  frame

Name:                   bbox
Class:                  ButtonBox

EXAMPLE

 dialogshell .ds -modality none
 
 .ds add OK -text "OK" 
 .ds add Cancel -text "Cancel"
 .ds default OK
 
 .ds activate

AUTHOR

Mark L. Ulferts

KEYWORDS

dialogshell, dialog, shell, widget