Tk::Pane - Online Linux Manual Page

Section : 3pm
Updated : 2020-11-09
Source : Tk804.035
Note : perl/Tk Documentation

NAMETk::Pane − A window panner

SYNOPSIS​ use Tk::Pane; ​ ​ $pane = $mw−>Scrolled("Pane", Name => 'fred', ​ −scrollbars => 'soe', ​ −sticky => 'we', ​ −gridded => 'y' ​ ); ​ ​ $pane−>Frame; ​ ​ $pane−>pack;

DESCRIPTIONTk::Pane provides a scrollable frame widget. Once created it can be treated as a frame, except it is scrollable.

OPTIONS−gridded => direction Specifies if the top and left edges of the pane should snap to a grid column. This option is only useful if the widgets in the pane are managed by the grid geometry manager. Possible values are ​x, y and xy. −sticky => style If Pane is larger than its requested dimensions, this option may be used to position (or stretch) the slave within its cavity. Style is a string that contains zero or more of the characters n, s, e or w. The string can optionally contains spaces or commas, but they are ignored. Each letter refers to a side (north, south, east, or west) that the slave will stick to. If both n and s (or e and w) are specified, the slave will be stretched to fill the entire height (or width) of its cavity.

METHODS$pane>see($widget ?,options?) Adjusts the view so that $widget is visable. Additional parameters in ​options-value pairs can be passed, each option-value pair must be one of the following −anchor => anchor Specifies how to make the widget visable. If not given then as much of the widget as possible is made visable. Possible values are n, s, w, e, nw, ne, sw and se. This will cause an edge on the widget to be aligned with the corresponding edge on the pane. for example nw will cause the top left of the widget to be placed at the top left of the pane. s will cause the bottom of the widget to be placed at the bottom of the pane, and as much of the widget as possible made visable in the x direction. $pane>xview Returns a list containing two elements, both of which are real fractions between 0 and 1. The first element gives the position of the left of the window, relative to the Pane as a whole (0.5 means it is halfway through the Pane, for example). The second element gives the position of the right of the window, relative to the Pane as a whole. $pane>xview($widget) Adjusts the view in the window so that widget is displayed at the left of the window. $pane>xview(moveto => fraction) Adjusts the view in the window so that fraction of the total width of the Pane is off-screen to the left. fraction must be a fraction between 0 and 1. $pane>xview(scroll => number, what) This command shifts the view in the window left or right according to number and what. Number must be an integer. What must be either units or ​pages or an abbreviation of one of these. If what is units, the view adjusts left or right by number*10 screen units on the display; if it is ​pages then the view adjusts by number screenfuls. If number is negative then widgets farther to the left become visible; if it is positive then widgets farther to the right become visible. $pane>yview Returns a list containing two elements, both of which are real fractions between 0 and 1. The first element gives the position of the top of the window, relative to the Pane as a whole (0.5 means it is halfway through the Pane, for example). The second element gives the position of the bottom of the window, relative to the Pane as a whole. $pane>yview($widget) Adjusts the view in the window so that widget is displayed at the top of the window. $pane>yview(moveto => fraction) Adjusts the view in the window so that fraction of the total width of the Pane is off-screen to the top. fraction must be a fraction between 0 and 1. $pane>yview(scroll => number, what) This command shifts the view in the window up or down according to number and what. Number must be an integer. What must be either units or ​pages or an abbreviation of one of these. If what is units, the view adjusts up or down by number*10 screen units on the display; if it is ​pages then the view adjusts by number screenfuls. If number is negative then widgets farther up become visible; if it is positive then widgets farther down become visible.

AUTHORGraham Barr <gbarr@pobox.com>

COPYRIGHTCopyright (c) 1997−1998 Graham Barr. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
0
Johanes Gumabo
Data Size   :   19,365 byte
man-Tk::Pane.3pmBuild   :   2025-03-22, 13:26   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   8 / 1,208,827
Visitor ID   :     :  
Visitor IP   :   3.144.109.104   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 25.03.22
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36


Very long time ago, I have the best tutor, Wenzel Svojanovsky. If someone knows the email address of Wenzel Svojanovsky, please send an email to johanesgumabo@gmail.com.
Help me, linux0001.com will expire on July 16, 2025. I have no money to renew it. View detail

If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.

ERROR : Need New Coding :         (parse_manual_page_|254|Tk::Pane.3pm|36/37|el══─{─══.|.el══─{─══. ds -- \|\(em\| )         (htmlprn|160|Tk::Pane.3pm|36/37|.el══─{─══. ds --  —  |.el══─{─══. ds -- \|\(em\| )         (parse_manual_page_|254|Tk::Pane.3pm|43|br══─}─══|'br══─}─══ )         (htmlprn|160|Tk::Pane.3pm|43|'br══─}─══ |'br══─}─══ )