RootFrame = Tkinter.Frame(rootWindow, width=1000, height=800, bg="white")Ĭanvas = Tkinter. I use a line class which contains 2 points start point and end point: rootWindow = Tkinter.Tk() It helps you save a lot of time and gives you more freedom to iterate your ideas quickly. Map out everything that pops in your mind. At the very beginning of your design process, you may need to brainstorm your grid layout using a pen and paper. The coordinate origin should be the top left corner.įor example if the screen is 300x300 then the window will have 3 lines (at 100, 200 and 300) on his X axis going from left to right and top up to bottom.Įxample of how I create a normal line. Pen and paper - map out and iterate grid layout ideas as soon as possible. I want to add a grid on the background that will show the Y and X axis in TKinter every 100 pixels apart starting from the top left. ![]() It will create a big circle and withing this circle it will create 4 small circles. ![]() News grid, used in communications/public relations Fictional entities. I managed to create a function that with a given radius, starting point and a number of points. Cattle grid or stock grid, a type of obstacle is used to prevent livestock from crossing the road Grid reference, used to define a location on a map Arts, entertainment, and media.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |