A visible handle attached to a ShadowBox.
Methods
|
|
__init__
mitre_RAISED
shadow_edge
|
|
__init__
|
__init__ (
self,
canvas,
parent,
name=None,
ulx=0,
uly=0,
background='grey',
outline='black',
allowMotion=0,
width=25,
height=20,
bd=2,
ridgeWidth=0,
relief=Tkinter.RIDGE,
connectEdge=Tkinter.LEFT,
helpMessage=None,
balloon=None,
)
Create a Handle.
Arguments
-
canvas The canvas widget on which we draw.
-
parent The parent.
-
name Name of the handle.
-
ulx Upper left X coordinate of the handle.
-
uly Upper left Y coordinate of the handle.
-
background Background color of the handle area. Defaults to grey .
-
outline Outline color. Defaults to black .
-
allowMotion Boolean indicating whether drag and drop
needs to be supported. Setting to true will cause handle to
install drag and drop callbacks on canvas.
-
width How wide should the handle be?
-
height How tall should the handle be?
-
bd Border width for shadow and outline. Defaults to 2.
-
ridgeWidth Width of ridge between outside edge and inside edge.
-
relief Tkinter relief specification. Defaults to Tkinter.RIDGE.
-
connectEdge Tkinter edge specification. Defaults to
Tkinter.LEFT. Controls which side of the handle is butted
against the box and controls the drawing of shadows and
outlines.
-
helpMessage Balloon help to be displayed on mouseover.
-
balloon Balloon help manager.
|
|
mitre_RAISED
|
mitre_RAISED ( self )
Configure the mitre settings for RAISED mode.
|
|
shadow_edge
|
shadow_edge ( self )
Returns the Tkinter edge specification for shadow edge of handle.
|
|