util.GridPosition module
Functions
def set_grid_position(
widget, name, grd)
Lookup name of the widget in grd and position widget in a Tkinter grid layout using params in grd grd is a dictionary and each entry is a list of Col, row, xpad, ypad, sticky (optional).
Classes
class GridDict
dict() -> new empty dictionary dict(mapping) -> new dictionary initialized from a mapping object's (key, value) pairs dict(iterable) -> new dictionary initialized as if via: d = {} for k, v in iterable: d[k] = v dict(**kwargs) -> new dictionary initialized with the name=value pairs in the keyword argument list. For example: dict(one=1, two=2)
Ancestors (in MRO)
- GridDict
- typing.Dict
- builtins.dict
- typing.MutableMapping
- collections.abc.MutableMapping
- typing.Mapping
- collections.abc.Mapping
- typing.Collection
- collections.abc.Collection
- collections.abc.Sized
- typing.Iterable
- collections.abc.Iterable
- typing.Container
- collections.abc.Container
- typing.Generic
- builtins.object
class GridInfo
GridInfo(col, row, xpad, ypad, sticky)
Ancestors (in MRO)
- GridInfo
- builtins.tuple
- builtins.object
Instance variables
var col
Alias for field number 0
var row
Alias for field number 1
var sticky
Alias for field number 4
var xpad
Alias for field number 2
var ypad
Alias for field number 3