ctkToplevel

        Same as Toplevel
        Toplevel can be positioned at 5 standard locations
        ul,ur,dl,dr, center.

moveTo

        Move the given window to the given position

Arguments

        position : 'ul',ur','dl','dr','center'

Notes

        None

getXY

        Compute the left upper corner coordinates of the
        given windows (widget of type Topelevel) and build the corresponding
        geometry string.

Arguments

        width       desired width (optional)
        height      desired height (optional)
        position    'center','ul','ur','dl','dr' (mandatory)

Returns

        geometry string (ready to be used for method widget->geometry)

getXYForMove

        Compute the down right corner coordinates of the
        given windows (widget of type Toplevel) and build the corresponding
        geometry string.
        Thereby the nullpoint (0,0) is at the corner down right.

Arguments

        hwnd            widget of type Toplevel of Mainwindow  (mandatory)
        width           desired width (optional)

Returns

        geometry string (ready to be used for method widget->geometry)

Notes

        Do not consider the size of the window

_getXY

        Same as getXYforMove but the nullpoint (0,0) is
        the upper left corner.

Notes

        None.

Back to index