ttk_panedwindow
-
NAME
- ttk::panedwindow — Multi-pane container window
- SYNOPSIS
- DESCRIPTION
- STANDARD OPTIONS
-
-class, undefined, undefined
- -cursor, cursor, Cursor
- -style, style, Style
- -takefocus, takeFocus, TakeFocus
- -cursor, cursor, Cursor
- WIDGET-SPECIFIC OPTIONS
- PANE OPTIONS
- WIDGET COMMAND
- VIRTUAL EVENTS
- SEE ALSO
Name
ttk::panedwindow — Multi-pane container windowSynopsis
ttk::panedwindow pathname ?options?pathname add window ?options...?
pathname insert index window ?options...?
Description
A ttk::panedwindow widget displays a number of subwindows, stacked either vertically or horizontally. The user may adjust the relative sizes of the subwindows by dragging the sash between panes.Standard options
-
-class, undefined, undefined
- -cursor, cursor, Cursor
- -style, style, Style
- -takefocus, takeFocus, TakeFocus
- -cursor, cursor, Cursor
Widget-specific options
- Command-Line Name: -orient
- Database Name: orient
- Database Class: Orient
- Database Name: orient
- Specifies the orientation of the window. If vertical, subpanes are stacked top-to-bottom; if horizontal, subpanes are stacked left-to-right.
- Command-Line Name: -width
- Database Name: width
- Database Class: Width
- Database Name: width
- If present and greater than zero, specifies the desired width of the widget in pixels. Otherwise, the requested width is determined by the width of the managed windows.
- Command-Line Name: -height
- Database Name: height
- Database Class: Height
- Database Name: height
- If present and greater than zero, specifies the desired height of the widget in pixels. Otherwise, the requested height is determined by the height of the managed windows.
Pane options
The following options may be specified for each pane:- Command-Line Name: -weight
- Database Name: weight
- Database Class: Weight
- Database Name: weight
- An integer specifying the relative stretchability of the pane. When the paned window is resized, the extra space is added or subtracted to each pane proportionally to its -weight.
Widget command
Supports the standard configure, cget, state, and instate commands; see ttk::widget(n) for details. Additional commands:Virtual events
The panedwindow widget generates an <<EnteredChild>> virtual event on LeaveNotify/NotifyInferior events, because Tk does not execute binding scripts for <Leave> events when the pointer crosses from a parent to a child. The panedwindow widget needs to know when that happens.See also
ttk::widget, ttk::notebook, panedwindowCopyright © 2005 Joe English
Licensed under Tcl/Tk terms
https://www.tcl.tk/man/tcl/TkCmd/ttk_panedwindow.htm