Oval button.
Works just like a normal button widget.
- Parameters
-
_canvas | The canvas to draw the widget on. |
... | Options:
- -x The X coordinate (default 0).
- -y The Y coordinate (default 0).
- -width The width of the button (default 200).
- -height The height of the button (default 40).
- -background The background color (default white).
- -foreground The foreground color (default black).
- -fontfamily The font family (default Courier).
- -rightsquare Should the right end be square (default no)?
- -leftsquare Should the left end be square (default no)?
- -text The text of the button (default {}).
- -command The command of the button (default {}).
|
- Author
- Robert Heller <heller@deepsoft.com>