A Hotshot Challenge

Add the following features to your drawing program:

  • The accelerator keys don't work for our menu items because we have not bound them to key events. Bind the menu-item accelerator keys to their associated command callback.
  • Create an Eraser button and add its associated features.
  • We have not implemented drawing of some other basic shapes, such as arc and polygons, even though the Canvas widget provides for methods to draw them. Add the ability to draw arcs and polygons to the drawing program.
  • Create a new toolbar on the right side. Utilizing the stacking order for canvas items, display each item as a separate layer in the toolbar.
  • Go through all the available Canvas widget options in your IDE by using Python's interactive help feature. Try adding more features to the program utilizing one or more of the options.
  • We have already included the ability to add images to our program by navigating to File | Open. Add a few menu items to manipulate those images. Using some imaging library, add image manipulation features, such as color adjustment, brightness, contrast, grayscale, and other facilities for image manipulation provided by the imaging library that you choose to use.
  • The Canvas widget is often used to draw custom widgets. Make a Progress Meter widget using the Canvas widget. Attach it to some function and run it to see that the oval should get filled with some color as the function progresses. You can use the fill option of the Canvas widget to show increase in progress.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
13.58.51.228