Movatterモバイル変換


[0]ホーム

URL:


This is an unofficial mirror of Tkinter reference documentation (based on Python 2.7 and Tk 8.5) created by the late John Shipman.
It was last updated in 2013 and is unmaintained.[More info]

Next /Previous /Contents

Tkinter 8.5 reference: a GUI for Python

organizational logo

5.1. Dimensions

Various lengths, widths, and other dimensions of widgets can be described in many different units.

  • If you set a dimension to an integer, it is assumed to be in pixels.

  • You can specify units by setting a dimension to a string containing a number followed by:

    Table 3. Dimensional units

    cCentimeters
    iInches
    mMillimeters
    pPrinter's points (about 1/72″)


Next:5.2. The coordinate system
Contents:Tkinter 8.5 reference: a GUI for Python
Previous:5. Standard attributes

John W. Shipman
Comments welcome: tcc-doc@nmt.edu
Last updated: 2013-12-31 17:59
Original URL:http://www.nmt.edu/tcc/help/pubs/tkinter/web/dimensions.html

[8]
ページ先頭

©2009-2025 Movatter.jp