Tkinter.Place

Module Tkinter :: Class Place |
[show private | hide private]
[frames | no frames]

## Class Place

Known Subclasses:
  `Widget`

Geometry manager Place.

Base class to use the methods place_* in every widget.

Method Summary
| ``config`(self, cnf, **kw)` Place a widget in the parent widget.
| ``configure`(self, cnf, **kw)` Place a widget in the parent widget.
| ``forget`(self)` Unmap this widget.
| ``info`(self)` Return information about the placing options for this widget.
| ``place`(self, cnf, **kw)` Place a widget in the parent widget.
| ``place_configure`(self, cnf, **kw)` Place a widget in the parent widget.
| ``place_forget`(self)` Unmap this widget.
| ``place_info`(self)` Return information about the placing options for this widget.
Inherited from Misc
| ``place_slaves`(self)` Return a list of all slaves of this widget in its packing order.
| ``slaves`(self)` Return a list of all slaves of this widget in its packing order.

Method Details

### config(self, cnf={}, **kw)
    Place a widget in the parent widget. Use as options:
    in=master - master relative to which the widget is placed.
    x=amount - locate anchor of this widget at position x of master
    y=amount - locate anchor of this widget at position y of master
    relx=amount - locate anchor of this widget between 0.0 and 1.0
                  relative to width of master (1.0 is right edge)
        rely=amount - locate anchor of this widget between 0.0 and 1.0
                  relative to height of master (1.0 is bottom edge)
        anchor=NSEW (or subset) - position anchor according to given direction
    width=amount - width of this widget in pixel
    height=amount - height of this widget in pixel
    relwidth=amount - width of this widget between 0.0 and 1.0
                      relative to width of master (1.0 is the same width
              as the master)
        relheight=amount - height of this widget between 0.0 and 1.0
                       relative to height of master (1.0 is the same
               height as the master)
        bordermode="inside" or "outside" - whether to take border width of master widget
                                           into account

### configure(self, cnf={}, **kw)
    Place a widget in the parent widget. Use as options:
    in=master - master relative to which the widget is placed.
    x=amount - locate anchor of this widget at position x of master
    y=amount - locate anchor of this widget at position y of master
    relx=amount - locate anchor of this widget between 0.0 and 1.0
                  relative to width of master (1.0 is right edge)
        rely=amount - locate anchor of this widget between 0.0 and 1.0
                  relative to height of master (1.0 is bottom edge)
        anchor=NSEW (or subset) - position anchor according to given direction
    width=amount - width of this widget in pixel
    height=amount - height of this widget in pixel
    relwidth=amount - width of this widget between 0.0 and 1.0
                      relative to width of master (1.0 is the same width
              as the master)
        relheight=amount - height of this widget between 0.0 and 1.0
                       relative to height of master (1.0 is the same
               height as the master)
        bordermode="inside" or "outside" - whether to take border width of master widget
                                           into account

### forget(self) Unmap this widget.

### info(self) Return information about the placing options for this widget.

### place(self, cnf={}, **kw)
    Place a widget in the parent widget. Use as options:
    in=master - master relative to which the widget is placed.
    x=amount - locate anchor of this widget at position x of master
    y=amount - locate anchor of this widget at position y of master
    relx=amount - locate anchor of this widget between 0.0 and 1.0
                  relative to width of master (1.0 is right edge)
        rely=amount - locate anchor of this widget between 0.0 and 1.0
                  relative to height of master (1.0 is bottom edge)
        anchor=NSEW (or subset) - position anchor according to given direction
    width=amount - width of this widget in pixel
    height=amount - height of this widget in pixel
    relwidth=amount - width of this widget between 0.0 and 1.0
                      relative to width of master (1.0 is the same width
              as the master)
        relheight=amount - height of this widget between 0.0 and 1.0
                       relative to height of master (1.0 is the same
               height as the master)
        bordermode="inside" or "outside" - whether to take border width of master widget
                                           into account

### place_configure(self, cnf={}, **kw)
    Place a widget in the parent widget. Use as options:
    in=master - master relative to which the widget is placed.
    x=amount - locate anchor of this widget at position x of master
    y=amount - locate anchor of this widget at position y of master
    relx=amount - locate anchor of this widget between 0.0 and 1.0
                  relative to width of master (1.0 is right edge)
        rely=amount - locate anchor of this widget between 0.0 and 1.0
                  relative to height of master (1.0 is bottom edge)
        anchor=NSEW (or subset) - position anchor according to given direction
    width=amount - width of this widget in pixel
    height=amount - height of this widget in pixel
    relwidth=amount - width of this widget between 0.0 and 1.0
                      relative to width of master (1.0 is the same width
              as the master)
        relheight=amount - height of this widget between 0.0 and 1.0
                       relative to height of master (1.0 is the same
               height as the master)
        bordermode="inside" or "outside" - whether to take border width of master widget
                                           into account

### place_forget(self) Unmap this widget.

### place_info(self) Return information about the placing options for this widget.

Generated by Epydoc 2.1 on Wed Jun 14 14:32:43 2006 | http://epydoc.sf.net