Auto Topic: fill

auto_fill | topic

Coverage Score
1
Mentioned Chunks
21
Mentioned Docs
7

Required Dimensions

definitionpros_cons

Covered Dimensions

definitionpros_cons

Keywords

fill

Relations

SourceTypeTargetW
Auto Topic: fillCO_OCCURSAuto Topic: self18
Auto Topic: defCO_OCCURSAuto Topic: fill17
Auto Topic: fillCO_OCCURSAuto Topic: pack11
Auto Topic: fillCO_OCCURSAuto Topic: square_size8
Auto Topic: fillCO_OCCURSAuto Topic: row7
Auto Topic: canvasCO_OCCURSAuto Topic: fill7
Auto Topic: configCO_OCCURSAuto Topic: fill7
Auto Topic: fillCO_OCCURSAuto Topic: padx6
Auto Topic: fillCO_OCCURSAuto Topic: menu6
Auto Topic: fillCO_OCCURSAuto Topic: tkinter6
Auto Topic: fillCO_OCCURSAuto Topic: len5
Auto Topic: fillCO_OCCURSAuto Topic: master5
Auto Topic: fillCO_OCCURSAuto Topic: rows4
Auto Topic: fillCO_OCCURSAuto Topic: scene4
Auto Topic: fillCO_OCCURSAuto Topic: start_and_goal4
Auto Topic: colCO_OCCURSAuto Topic: fill4
Auto Topic: fillCO_OCCURSAuto Topic: messagebox3
Auto Topic: fillCO_OCCURSAuto Topic: margin3
Auto Topic: fillCO_OCCURSAuto Topic: grid_size3
Auto Topic: disabledCO_OCCURSAuto Topic: fill3
Auto Topic: colsCO_OCCURSAuto Topic: fill3
Auto Topic: canvas_marginCO_OCCURSAuto Topic: fill3

Evidence Chunks

SourceConfidenceMentionsSnippet
assignments
CIS5210-Assignments/M2/homework2_gui.py
0.593... = None for i in range(length): self.__canvas.create_rectangle(i * SQUARE_SIZE, 0, (i + 1) * SQUARE_SIZE, SQUARE_SIZE, fill='white') for i in range(n): self.__disks[i] = ( self.__canvas.create_oval( i * SQUARE_SIZE + MARGIN, MARGIN, (i + 1) * SQUARE_SIZE - MARGIN, SQUARE_SIZE - M ...
assignments
CIS5210-Assignments/M3/homework3_tile_puzzle_gui.py
0.593... \nusing the arrow keys.").pack( padx=1, pady=1) tkinter.Button(menu, text="Scramble", command=self.scramble_click).pack( fill=tkinter.X, padx=1, pady=1) tkinter.Button(menu, text="Solve Using IDDFS", command=self.solve_iddfs_click).pack(fill=tkinter.X, padx=1, pady=1) tkinter.But ...
assignments
CIS5210-Assignments/M2/homework2_gui.py
0.572... erate(rows): self.__canvas.create_rectangle( i * SQUARE_SIZE, j * SQUARE_SIZE, (i + 1) * SQUARE_SIZE, (j + 1) * SQUARE_SIZE, fill='white' if ele else 'gray') def __click(self, event): if not self.__solving: col, row = event.x // SQUARE_SIZE, event.y // SQUARE_SIZE self.__puzzle.p ...
assignments
CIS5210-Assignments/M2/homework2_gui.py
0.572* SQUARE_SIZE - MARGIN, SQUARE_SIZE - MARGIN, fill='black'), self.__canvas.create_text( (i + .5) * SQUARE_SIZE, SQUARE_SIZE / 2, text=i, font=(None, MARGIN * 3), fill='white' if distinct else '')) self.__next_btn = tk.Button(self.__buttons, text="Next move", command=self.__next, ...
assignments
CIS5210-Assignments/M3/homework3_grid_navigation_gui.py
0.572... orm(point[0], point[1]) radius = self.square_size / 4.0 return self.create_oval(x - radius, y - radius, x + radius, y + radius, fill=color, tags=tags) def draw_line(self, p, q, color="black", width=1, arrow=None, tags=""): p_x, p_y = self.transform(p[0], p[1]) q_x, q_y = self.tra ...
assignments
CIS5210-Assignments/M3/homework3_grid_navigation_gui.py
0.572... point.").pack( padx=1, pady=1, anchor=tkinter.W) tkinter.Button(menu, text="Find Path", command=self.find_path_click).pack( fill=tkinter.X, padx=1, pady=1) tkinter.Button(menu, text="Clear Paths", command=self.clear_paths_click).pack( fill=tkinter.X, padx=1, pady=1) menu.pack(sid ...
assignments
CIS5210-Assignments/M5/homework5_sudoku_gui.py
0.572... gin x1 = canvas_margin + i * grid_size y1 = canvas_height - canvas_margin self.canvas.create_line(x0, y0, x1, y1, fill=color, width=line_width) x0 = canvas_margin y0 = canvas_margin + i * grid_size x1 = canvas_width - canvas_margin y1 = canvas_margin + i * grid_size self.canvas.c ...
assignments
CIS5210-Assignments/M5/homework5_sudoku_gui.py
0.572... vas_margin + i * grid_size x1 = canvas_width - canvas_margin y1 = canvas_margin + i * grid_size self.canvas.create_line(x0, y0, x1, y1, fill=color, width=line_width) def draw_puzzle(self): self.canvas.delete("numbers") for i in range(9): for j in range(9): answer = self.game.puzz ...
assignments
CIS5210-Assignments/M5/homework5_sudoku_gui.py
0.572... d_size / 2 if self.game.check_valid() is True: self.canvas.create_text(x, y, text="You win!", tags="winner", fill='orange', font=("Arial", 32)) else: self.canvas.create_text(x, y, text="You lose!", tags="winner", fill='orange', font=("Arial", 32)) def read_board(path): board_stri ...
practice_exam
Practice Exam/cis5210_practice_1_blank.pdf
0.572... exam has Multiple choice questions, some with one option and some with multiple correct answers. For the multiple choice questions, please fill in the bubbles to mark your answers (instead of circling or ticking your choice). Fill the bubbles completely without any gaps. WE WILL ...
assignments
CIS5210-Assignments/M2/homework2_gui.py
0.551... range(n): self.__canvas.create_rectangle( i * self.__ppb, j * self.__ppb, (i + 1) * self.__ppb, (j + 1) * self.__ppb, fill='gray' if (i & 1) ^ (j & 1) else 'white', outline='')
assignments
CIS5210-Assignments/M2/homework2_gui.py
0.551... ange(n): for j in range(n): self.__canvas.create_rectangle( i * self.__ppb, j * self.__ppb, (i + 1) * self.__ppb, (j + 1) * self.__ppb, fill='gray' if (i & 1) ^ (j & 1) else 'white', outline='') self.__solutions = n_queens_solutions(n) self.__queens = [] self.__cur_sol = 0 self._ ...
assignments
CIS5210-Assignments/M2/homework2_gui.py
0.551moves[self.__cur_sol] self.__canvas.create_rectangle( i * SQUARE_SIZE, j * SQUARE_SIZE, (i + 1) * SQUARE_SIZE, (j + 1) * SQUARE_SIZE, fill='', outline='red', width=5) self.after(MOVE_DELAY, move) def move(): self.__puzzle.perform_move(*moves[self.__cur_sol]) self.__update() self. ...
assignments
CIS5210-Assignments/M2/homework2_gui.py
0.551... SQUARE_SIZE, SQUARE_SIZE / 2, (to + .5) * SQUARE_SIZE, SQUARE_SIZE / 2, arrow=tk.LAST, arrowshape=(MARGIN, MARGIN * 2, MARGIN), fill='orange', width=MARGIN / 2) self.__cur_sol += 1 if self.__cur_sol >= len(self.__solutions): self.__next_btn.config(state=tk.DISABLED) class GUI(tk ...
assignments
CIS5210-Assignments/M2/homework2_gui.py
0.551... def draw_rect(self, i, j, size, color): return self.__canvas.create_rectangle( i * size, j * size, (i + 1) * size, (j + 1) * size, fill=color, outline="") def n_queens(self): n = simpledialog.askinteger("Input number", "N", parent=self, minvalue=1, initialvalue=8) if not n: retu ...
assignments
CIS5210-Assignments/M3/homework3_grid_navigation_gui.py
0.551... y1 = x0 + self.square_size, y0 + self.square_size self.create_rectangle(x0, y0, x1, y1, width=1, outline="black", fill="gray50" if scene[row][col] else "white") def transform(self, row, col): x = self.square_size * (col + 0.5) y = self.square_size * (row + 0.5) return (x, y)
assignments
CIS5210-Assignments/M3/homework3_grid_navigation_gui.py
0.5511, y1, width=1, outline="black", fill="gray50" if scene[row][col] else "white") def transform(self, row, col): x = self.square_size * (col + 0.5) y = self.square_size * (row + 0.5) return (x, y) def inverse_transform(self, event): row = int(event.y / self.square_size) col = int(e ...
assignments
CIS5210-Assignments/M4/homework4_dominoes_game_gui.py
0.551... inter.LEFT).pack( padx=1, pady=1, anchor=tkinter.W) tkinter.Button(menu, text="Reset Game", command=self.reset_click).pack(fill=tkinter.X, padx=1, pady=1) menu.pack(side=tkinter.RIGHT) self.focus_set() self.bind("r", lambda event: self.perform_random_move()) for i in range(1, 10) ...