Language:EN
Pages: 2
Rating : ⭐⭐⭐⭐⭐
Price: $10.99
Page 1 Preview
you can load the bitmap directly from xbm bitmap f

You can load the bitmap directly from xbm bitmap file

The Button widget can implement a number of button types, which can display either text messages or images. See the previous Hello World code for an example of how to use the Button widget.

Some special methods implemented by the button widget are as follows:
flash()— Reverses and resets the foreground and background colors in order to cause a flashing effect.

The general available values for this option are gray12, gray25, gray50, gray75, hourglass, error, questhead, info, warning, and question. If you prefer, you can load the bitmap directly from an XBM (X Bitmap) file, just by prefixing the filename with an @ sign; for example, bitmap=@hello.xbm.

default— If set, identifies the default button.

text— The text to display in the button. If the bitmap or image options are used, the text isn't displayed.

underline— Integer offset applied on the text value to identify which character must be underlined.

coord = 10, 50, 240, 210

widgetitem = canvas.create_arc(coord, start=0, extent=150, fill="blue")

PhotoImage classes.

filename = PhotoImage(file="sunshine.gif")

width— Line's width. The default value is 1 pixel.

fill— Line's color. The default value is black.

fill— The color to use for the interior. If an empty string is given, the interior is not drawn. Default is empty

(transparent).

You are viewing 1/3rd of the document.Purchase the document to get full access instantly

Immediately available after payment
Both online and downloadable
No strings attached
How It Works
Login account
Login Your Account
Place in cart
Add to Cart
send in the money
Make payment
Document download
Download File
img

Uploaded by : Christopher Young

PageId: DOC4FA813D