Ivan's Homepage

Uncategorized

Canvas with Tkinter

CANVAS with Tkinter Step 1: Import the TKinter library from tkinter import * Step 2: Make a window window = Tk() window.title(“Welcome to the Loh Family app”) window.geometry(‘350×200’)//Add all your widgets here//Add your canvas herewindow.mainloop() Step 3: Add Canvas myCanvas = tkinter.Canvas(window, bg=”white”, height=300, width=300) Step 4: Draw something Creating an Oval oval = myCanvas.create_oval(x0, …

Canvas with Tkinter Read More »

Mermaid.JS

Mermaid.js is a simple yet powerful JavaScript library that enables users to create diagrams and flowcharts from simple text syntax. The library is designed to be easy to use and understand, making it an excellent choice for both beginners and experienced developers. Mermaid.js offers a wide range of diagram types, including sequence diagrams, flowcharts, Gantt …

Mermaid.JS Read More »

Creating GUI with Tkinter

Creating a GUI with elementor is super easy! Step 1: Import the TKinter library from tkinter import * Step 2: Make a window window = Tk() window.title(“Welcome to the Loh Family app”) window.mainloop()#To set the window size, use the following code: window.geometry(‘350×200’) Step 3: Add widgets to the window #Labellbl = Label(window, text=”Hello”)#With formattinglbl = …

Creating GUI with Tkinter Read More »