| HandledBox |
UserPreferences |
| Tkinter Wiki | FrontPage | RecentChanges | TitleIndex | WordIndex | SiteNavigation | HelpContents | moin.sf.net |
HandledBox is a canvas object subclassed from ShadowBox, which adds handles. It can be dragged around on a canvas.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | box = HandledBox(self.canvas, name='bigtest',
ulx=50, uly=30,
width=150,
height=150,
relief=Tkinter.RIDGE,
bd=15,
ridgeWidth=5,
allowMotion=1,
#background='lightblue',
balloon = self.balloon(),
helpMessage = 'help for handled box',
handleWidth=15,
handleHeight=15,
) |
Screenshot: