Go to main content

man pages section 1: User Commands

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

ttk_frame (1t)

Name

ttk_frame - Simple container widget

Synopsis

ttk::frame pathName ?options?

Description

ttk::frame(1t)                 Tk Themed Widget                 ttk::frame(1t)



______________________________________________________________________________

NAME
       ttk::frame - Simple container widget

SYNOPSIS
       ttk::frame pathName ?options?
______________________________________________________________________________

DESCRIPTION
       A  ttk::frame  widget  is  a  container,  used  to  group other widgets
       together.

STANDARD OPTIONS
       -class                -cursor              -padding-style
       -takefocus

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

WIDGET-SPECIFIC OPTIONS
       Command-Line Name:-borderwidth
       Database Name:  borderWidth
       Database Class: BorderWidth

              The desired width of the widget border.  Defaults to 0.

       Command-Line Name:-relief
       Database Name:  relief
       Database Class: Relief

              One of the standard Tk  border  styles:  flat,  groove,  raised,
              ridge, solid, or sunken.  Defaults to flat.

       Command-Line Name:-width
       Database Name:  width
       Database Class: Width

              If specified, the widget's requested width in pixels.

       Command-Line Name:-height
       Database Name:  height
       Database Class: Height

              If specified, the widget's requested height in pixels.

WIDGET COMMAND
       Supports  the  standard  widget  commands  configure,  cget,  identify,
       instate, and state; see ttk::widget(n).


ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       +---------------+------------------+
       |ATTRIBUTE TYPE | ATTRIBUTE VALUE  |
       +---------------+------------------+
       |Availability   | runtime/tk-8     |
       +---------------+------------------+
       |Stability      | Uncommitted      |
       +---------------+------------------+

NOTES
       Note that if the pack, grid, or other geometry  managers  are  used  to
       manage  the children of the frame, by the GM's requested size will nor-
       mally take precedence  over  the  frame  widget's  -width  and  -height
       options.  pack propagate and grid propagate can be used to change this.

       Source  code  for open source software components in Oracle Solaris can
       be found at https://www.oracle.com/downloads/opensource/solaris-source-
       code-downloads.html.

       This     software     was    built    from    source    available    at
       https://github.com/oracle/solaris-userland.   The  original   community
       source        was        downloaded        from         https://source-
       forge.net/projects/tcl/files/Tcl/8.6.7/tk8.6.7-src.tar.gz/download.

       Further information about this software can be found on the open source
       community website at https://www.tcl.tk/.

SEE ALSO
       ttk::widget(n), ttk::labelframe(n), frame(n)

KEYWORDS
       widget, frame, container




Tk                                    8.5                       ttk::frame(1t)