{"id":6133,"date":"2022-12-20T18:57:57","date_gmt":"2022-12-20T21:57:57","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/ttkpanedwindow-mann\/"},"modified":"2022-12-20T18:57:57","modified_gmt":"2022-12-20T21:57:57","slug":"ttkpanedwindow-mann","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/ttkpanedwindow-mann\/","title":{"rendered":"ttk::panedwindow (mann)"},"content":{"rendered":"<h1 align=\"center\">ttk::panedwindow<\/h1>\n<p> <a href=\"#NAME\">NAME<\/a><br \/> <a href=\"#SYNOPSIS\">SYNOPSIS<\/a><br \/> <a href=\"#DESCRIPTION\">DESCRIPTION<\/a><br \/> <a href=\"#STANDARD OPTIONS\">STANDARD OPTIONS<\/a><br \/> <a href=\"#WIDGET-SPECIFIC OPTIONS\">WIDGET-SPECIFIC OPTIONS<\/a><br \/> <a href=\"#PANE OPTIONS\">PANE OPTIONS<\/a><br \/> <a href=\"#WIDGET COMMAND\">WIDGET COMMAND<\/a><br \/> <a href=\"#VIRTUAL EVENTS\">VIRTUAL EVENTS<\/a><br \/> <a href=\"#STYLING OPTIONS\">STYLING OPTIONS<\/a><br \/> <a href=\"#SEE ALSO\">SEE ALSO<\/a> <\/p>\n<hr>\n<p>______________________________________________________________________________<\/p>\n<h2>NAME <a name=\"NAME\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">ttk::panedwindow \u2212 Multi-pane container window<\/p>\n<h2>SYNOPSIS <a name=\"SYNOPSIS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>ttk::panedwindow<\/b> <i>pathname<\/i> ?<i>options<\/i>? <i><br \/> pathname<\/i> <b>add<\/b> <i>window<\/i> ?<i>options&#8230;<\/i>? <i><br \/> pathname<\/i> <b>insert<\/b> <i>index window<\/i> ?<i>options&#8230;<\/i>? ______________________________________________________________________________<\/p>\n<h2>DESCRIPTION <a name=\"DESCRIPTION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">A <b>ttk::panedwindow<\/b> 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.<\/p>\n<h2>STANDARD OPTIONS <a name=\"STANDARD OPTIONS\"><\/a> <\/h2>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"23%\">\n<p><b>\u2212class<\/b><\/p>\n<\/td>\n<td width=\"32%\">\n<p><b>\u2212cursor<\/b><\/p>\n<\/td>\n<td width=\"34%\">\n<p><b>\u2212takefocus<\/b><\/p>\n<\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:11%;\"><b>\u2212style<\/b><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">See the <b>ttk_widget<\/b> manual entry for details on the standard options.<\/p>\n<h2>WIDGET-SPECIFIC OPTIONS <a name=\"WIDGET-SPECIFIC OPTIONS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Command-Line Name:<b>\u2212orient<\/b><\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"14%\">\n<p>Database Name:<\/p>\n<\/td>\n<td width=\"75%\">\n<p><b>orient<\/b><\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"14%\">\n<p>Database Class:<\/p>\n<\/td>\n<td width=\"75%\">\n<p><b>Orient<\/b><\/p>\n<\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%; margin-top: 1em\">Specifies the orientation of the window. If <b>vertical<\/b>, subpanes are stacked top-to-bottom; if <b>horizontal<\/b>, subpanes are stacked left-to-right.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Command-Line Name:<b>\u2212width<\/b><\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"14%\">\n<p>Database Name:<\/p>\n<\/td>\n<td width=\"75%\">\n<p><b>width<\/b><\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"14%\">\n<p>Database Class:<\/p>\n<\/td>\n<td width=\"75%\">\n<p><b>Width<\/b><\/p>\n<\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%; margin-top: 1em\">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.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Command-Line Name:<b>\u2212height<\/b><\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"14%\">\n<p>Database Name:<\/p>\n<\/td>\n<td width=\"75%\">\n<p><b>height<\/b><\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"14%\">\n<p>Database Class:<\/p>\n<\/td>\n<td width=\"75%\">\n<p><b>Height<\/b><\/p>\n<\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%; margin-top: 1em\">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.<\/p>\n<h2>PANE OPTIONS <a name=\"PANE OPTIONS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">The following options may be specified for each pane:<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Command-Line Name:<b>\u2212weight<\/b><\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"14%\">\n<p>Database Name:<\/p>\n<\/td>\n<td width=\"75%\">\n<p><b>weight<\/b><\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"14%\">\n<p>Database Class:<\/p>\n<\/td>\n<td width=\"75%\">\n<p><b>Weight<\/b><\/p>\n<\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%; margin-top: 1em\">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 <b>\u2212weight<\/b>.<\/p>\n<h2>WIDGET COMMAND <a name=\"WIDGET COMMAND\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Supports the standard <b>configure<\/b>, <b>cget<\/b>, <b>state<\/b>, and <b>instate<\/b> commands; see <i>ttk::widget(n)<\/i> for details. Additional commands: <i><br \/> pathname<\/i> <b>add<\/b> <i>subwindow options&#8230;<\/i><\/p>\n<p style=\"margin-left:22%;\">Adds a new pane to the window. See <b>PANE OPTIONS<\/b> for the list of available options.<\/p>\n<p style=\"margin-left:11%;\"><i>pathname<\/i> <b>forget<\/b> <i>pane<\/i><\/p>\n<p style=\"margin-left:22%;\">Removes the specified subpane from the widget. <i>pane<\/i> is either an integer index or the name of a managed subwindow.<\/p>\n<p style=\"margin-left:11%;\"><i>pathname<\/i> <b>identify<\/b> <i>component x y<\/i><\/p>\n<p style=\"margin-left:22%;\">Returns the name of the element under the point given by <i>x<\/i> and <i>y<\/i>, or the empty string if no component is present at that location. If <i>component<\/i> is omitted, it defaults to <b>sash<\/b>. The following subcommands are supported: <i><br \/> pathname<\/i> <b>identify element<\/b> <i>x y<\/i><\/p>\n<p style=\"margin-left:32%;\">Returns the name of the element at the specified location.<\/p>\n<p style=\"margin-left:22%;\"><i>pathname<\/i> <b>identify sash<\/b> <i>x y<\/i><\/p>\n<p style=\"margin-left:32%;\">Returns the index of the sash at the specified location.<\/p>\n<p style=\"margin-left:11%;\"><i>pathname<\/i> <b>insert<\/b> <i>pos subwindow options&#8230;<\/i><\/p>\n<p style=\"margin-left:22%;\">Inserts a pane at the specified position. <i>pos<\/i> is either the string <b>end<\/b>, an integer index, or the name of a managed subwindow. If <i>subwindow<\/i> is already managed by the paned window, moves it to the specified position. See <b>PANE OPTIONS<\/b> for the list of available options.<\/p>\n<p style=\"margin-left:11%;\"><i>pathname<\/i> <b>pane<\/b> <i>pane \u2212option<\/i> ?<i>value<\/i> ?<i>\u2212option value&#8230;<\/i><\/p>\n<p style=\"margin-left:22%;\">Query or modify the options of the specified <i>pane<\/i>, where <i>pane<\/i> is either an integer index or the name of a managed subwindow. If no <i>\u2212option<\/i> is specified, returns a dictionary of the pane option values. If one <i>\u2212option<\/i> is specified, returns the value of that <i>option<\/i>. Otherwise, sets the <i>\u2212option<\/i>s to the corresponding <i>value<\/i>s.<\/p>\n<p style=\"margin-left:11%;\"><i>pathname<\/i> <b>panes<\/b><\/p>\n<p style=\"margin-left:22%;\">Returns the list of all windows managed by the widget, in the index order of their associated panes.<\/p>\n<p style=\"margin-left:11%;\"><i>pathname<\/i> <b>sashpos<\/b> <i>index<\/i> ?<i>newpos<\/i>?<\/p>\n<p style=\"margin-left:22%;\">If <i>newpos<\/i> is specified, sets the position of sash number <i>index<\/i>. May adjust the positions of adjacent sashes to ensure that positions are monotonically increasing. Sash positions are further constrained to be between 0 and the total size of the widget. Returns the new position of sash number <i>index<\/i>.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">The panedwindow widget also supports the following generic <b>ttk::widget<\/b> widget subcommands (see <i>ttk::widget(n)<\/i> for details):<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"22%\"><\/td>\n<td width=\"12%\">\n<p><b>cget<\/b><\/p>\n<\/td>\n<td width=\"32%\">\n<p><b>configure<\/b><\/p>\n<\/td>\n<td width=\"34%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"22%\"><\/td>\n<td width=\"12%\">\n<p><b>instate<\/b><\/p>\n<\/td>\n<td width=\"32%\">\n<p><b>state<\/b><\/p>\n<\/td>\n<td width=\"34%\"> <\/td>\n<\/tr>\n<\/table>\n<h2>VIRTUAL EVENTS <a name=\"VIRTUAL EVENTS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">The panedwindow widget generates an <b><<EnteredChild>><\/b> 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.<\/p>\n<h2>STYLING OPTIONS <a name=\"STYLING OPTIONS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">The class name for a <b>ttk::panedwindow<\/b> is <b>TPanedwindow<\/b>. The sash has a class name of <b>Sash<\/b>.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>TPanedwindow<\/b> styling options configurable with <b>ttk::style<\/b> are:<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212background<\/b> <i>color<\/i><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>Sash<\/b> styling options configurable with <b>ttk::style<\/b> are:<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212background<\/b> <i>color<\/i> <b><br \/> \u2212bordercolor<\/b> <i>color<\/i> <b><br \/> \u2212gripcount<\/b> <i>count<\/i> <b><br \/> \u2212handlepad<\/b> <i>amount<\/i> <b><br \/> \u2212handlesize<\/b> <i>amount<\/i> <b><br \/> \u2212lightcolor<\/b> <i>color<\/i> <b><br \/> \u2212sashpad<\/b> <i>amount<\/i> <b><br \/> \u2212sashrelief<\/b> <i>relief<\/i> <b><br \/> \u2212sashthickness<\/b> <i>amount<\/i><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Some options are only available for specific themes.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">See the <b>ttk::style<\/b> manual page for information on how to configure ttk styles.<\/p>\n<h2>SEE ALSO <a name=\"SEE ALSO\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">ttk::widget(n), ttk::notebook(n), panedwindow(n)<\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>  ttk::panedwindow \u2212 Multi-pane container window <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3783,1],"tags":[2635,2789],"class_list":["post-6133","post","type-post","status-publish","format-standard","hentry","category-n-comandos-tcl-tk","category-sin-categoria","tag-mann","tag-ttk_panedwindow"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/6133","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/comments?post=6133"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/6133\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=6133"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=6133"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=6133"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}