Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

import tkinter from tkinter import * root = Tk() canvas = tkinter.Canvas(root, height=500, width=500, bg="#7209b7") canvas.pack() frame = tkinter.Canvas(root, bg="#b5179e") frame.place(relwdth=0.8, relheight=0.8, relx=0.1, rely=0.1) root.mainloop()

Wrong Wolverine answered on July 14, 2021 Popularity 2/10 Helpfulness 1/10

Contents


More Related Answers

  • how to specify root geometry in tkinter
  • import customtkinter as ctk import methods as mth ctk.set_appearance_mode("system") ctk.set_default_color_theme('blue') def meth(): label.set_text("New Text") # creating canvas root = ctk.CTk() root.title('Phone Location Finder') root.iconbitmap

  • import tkinter from tkinter import * root = Tk() canvas = tkinter.Canvas(root, height=500, width=500, bg="#7209b7") canvas.pack() frame = tkinter.Canvas(root, bg="#b5179e") frame.place(relwdth=0.8, relheight=0.8, relx=0.1, rely=0.1) root.mainloop()

    0
    Popularity 2/10 Helpfulness 1/10 Language python
    Source: Grepper
    Link to this answer
    Share Copy Link
    Contributed on Jul 14 2021
    Wrong Wolverine
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.