Movatterモバイル変換


[0]ホーム

URL:


Navigation

25.4.tkinter.scrolledtext — Scrolled Text Widget

Thetkinter.scrolledtext module provides a class of the same name whichimplements a basic text widget which has a vertical scroll bar configured to dothe “right thing.” Using theScrolledText class is a lot easier thansetting up a text widget and scroll bar directly. The constructor is the sameas that of thetkinter.Text class.

The text widget and scrollbar are packed together in aFrame, and themethods of theGrid andPack geometry managers are acquiredfrom theFrame object. This allows theScrolledText widget tobe used directly to achieve most normal geometry management behavior.

Should more specific control be necessary, the following attributes areavailable:

ScrolledText.frame

The frame which surrounds the text and scroll bar widgets.

ScrolledText.vbar

The scroll bar widget.

Previous topic

25.3.tkinter.tix — Extension widgets for Tk

Next topic

25.5. IDLE

This Page

Quick search

Enter search terms or a module, class or function name.

Navigation

©Copyright 1990-2017, Python Software Foundation.
The Python Software Foundation is a non-profit corporation.Please donate.
Last updated on Sep 19, 2017.Found a bug?
Created usingSphinx 1.2.

[8]ページ先頭

©2009-2025 Movatter.jp