Skip to content
Luke edited this page Mar 31, 2020 · 16 revisions

Canvas Plus

Welcome to the CanvasPlus wiki!

Here you will find the functionalities of Canvas Plus

Installation

To start, make sure you have CanvasPlus installed or clones. You can do this with one of two methods.

Option 1: Pip

Pip install this package

pip install CanvasPlus

Option 2: Github

Download a zip file containing all files.

git clone https://github.com/Luke-zhang-04/CanvasPlus.git

Setup

After, you can set up with what you normally would, with one change; instead of the Canvas class, use the imported CanvasPlus class

from canvasplus import CanvasPlus
from tkinter import Tk

root = Tk()
canvas = CanvasPlus(
    root, width = 800, height = 800, background = "white"
)
canvas.pack()
canvas.update()
Clone this wiki locally