Entry

class mobrob_behcon.visu.graphics.Entry(p, width)[source]

Methods

__init__(p, width)

clone()

draw(graphwin)

Draw the object in graphwin, which should be a GraphWin object.

getAnchor()

getText()

move(dx, dy)

move object dx units in x direction and dy units in y direction

setFace(face)

setFill(color)

Set interior color to color

setOutline(color)

Set outline color to color

setSize(size)

setStyle(style)

setText(t)

setTextColor(color)

setWidth(width)

Set line weight to width

undraw()

Undraw the object (i.e.

Details

__init__(p, width)[source]
clone()[source]
draw(graphwin)

Draw the object in graphwin, which should be a GraphWin object. A GraphicsObject may only be drawn into one window. Raises an error if attempt made to draw an object that is already visible.

getAnchor()[source]
getText()[source]
move(dx, dy)

move object dx units in x direction and dy units in y direction

setFace(face)[source]
setFill(color)[source]

Set interior color to color

setOutline(color)

Set outline color to color

setSize(size)[source]
setStyle(style)[source]
setText(t)[source]
setTextColor(color)[source]
setWidth(width)

Set line weight to width

undraw()

Undraw the object (i.e. hide it). Returns silently if the object is not currently drawn.