toplevel pathName ?options?
-borderwidth -highlightbackground -highlightthickness -takefocus -cursor -highlightcolor -relief
See the options manual entry for detailed descriptions of the above options.
Command-Line Name: | -background |
Database Name: | background |
Database Class: | Background |
Command-Line Name: | -class |
Database Name: | class |
Database Class: | Class |
Command-Line Name: | -colormap |
Database Name: | colormap |
Database Class: | Colormap |
Command-Line Name: | -container |
Database Name: | container |
Database Class: | Container |
Command-Line Name: | -height |
Database Name: | height |
Database Class: | Height |
Command-Line Name: | -menu |
Database Name: | menu |
Database Class: | Menu |
Command-Line Name: | -screen |
Database Name: | |
Database Class: |
Command-Line Name: | -use |
Database Name: | use |
Database Class: | Use |
Command-Line Name: | -visual |
Database Name: | visual |
Database Class: | Visual |
Command-Line Name: | -width |
Database Name: | width |
Database Class: | Width |
A toplevel is similar to a frame except that it is created as a top-level window: its X parent is the root window of a screen rather than the logical parent from its path name. The primary purpose of a toplevel is to serve as a container for dialog boxes and other collections of widgets. The only visible features of a toplevel are its background color and an optional 3-D border to make the toplevel appear raised or sunken.
PathName is the name of the command, which is the same as the toplevel widget's path name. Option and the args determine the exact behavior of the command. The following commands are possible for toplevel widgets:pathName option ?arg arg ...?
Copyright © 1989-1994 The Regents of the University of California.
Copyright © 1994-1997 Sun Microsystems, Inc.