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
| Source | Type | Target | W |
|---|---|---|---|
| Auto Topic: fill | CO_OCCURS | Auto Topic: self | 18 |
| Auto Topic: def | CO_OCCURS | Auto Topic: fill | 17 |
| Auto Topic: fill | CO_OCCURS | Auto Topic: pack | 11 |
| Auto Topic: fill | CO_OCCURS | Auto Topic: square_size | 8 |
| Auto Topic: fill | CO_OCCURS | Auto Topic: row | 7 |
| Auto Topic: canvas | CO_OCCURS | Auto Topic: fill | 7 |
| Auto Topic: config | CO_OCCURS | Auto Topic: fill | 7 |
| Auto Topic: fill | CO_OCCURS | Auto Topic: padx | 6 |
| Auto Topic: fill | CO_OCCURS | Auto Topic: menu | 6 |
| Auto Topic: fill | CO_OCCURS | Auto Topic: tkinter | 6 |
| Auto Topic: fill | CO_OCCURS | Auto Topic: len | 5 |
| Auto Topic: fill | CO_OCCURS | Auto Topic: master | 5 |
| Auto Topic: fill | CO_OCCURS | Auto Topic: rows | 4 |
| Auto Topic: fill | CO_OCCURS | Auto Topic: scene | 4 |
| Auto Topic: fill | CO_OCCURS | Auto Topic: start_and_goal | 4 |
| Auto Topic: col | CO_OCCURS | Auto Topic: fill | 4 |
| Auto Topic: fill | CO_OCCURS | Auto Topic: messagebox | 3 |
| Auto Topic: fill | CO_OCCURS | Auto Topic: margin | 3 |
| Auto Topic: fill | CO_OCCURS | Auto Topic: grid_size | 3 |
| Auto Topic: disabled | CO_OCCURS | Auto Topic: fill | 3 |
| Auto Topic: cols | CO_OCCURS | Auto Topic: fill | 3 |
| Auto Topic: canvas_margin | CO_OCCURS | Auto Topic: fill | 3 |
Evidence Chunks
| Source | Confidence | Mentions | Snippet |
|---|---|---|---|
assignments CIS5210-Assignments/M2/homework2_gui.py | 0.59 | 3 | ... = 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.59 | 3 | ... \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.57 | 2 | ... 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.57 | 2 | * 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.57 | 2 | ... 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.57 | 2 | ... 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.57 | 2 | ... 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.57 | 2 | ... 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.57 | 2 | ... 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.57 | 2 | ... 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.55 | 1 | ... 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.55 | 1 | ... 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.55 | 1 | moves[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.55 | 1 | ... 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.55 | 1 | ... 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.55 | 1 | ... 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.55 | 1 | 1, 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.55 | 1 | ... 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) ... |