Skip to content

Commit 4e5112c

Browse files
authored
Update README.md
Removed documentation on removed feature
1 parent f1b4d82 commit 4e5112c

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

README.md

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -83,27 +83,6 @@ Handles registering and triggering events:
8383
* `@event(type: EventType.Key)`: Registers a function for a specific key event.
8484
* `trigger_event(type)`: Manually triggers an event.
8585

86-
87-
### `Image`
88-
89-
Displays an image from a local file or remote URL.
90-
91-
**Constructor:**
92-
93-
```python
94-
Image(screen_obj, source, packargs=None, width=None, height=None, **kwargs)
95-
```
96-
97-
- `screen_obj`: The `Screen` to attach the image to
98-
- `source`: Path to local file or remote URL
99-
- `packargs`: Optional dict for layout (e.g., `{"pady": 10}`)
100-
- `width`, `height`: Resize image (preserves aspect ratio if only one is set)
101-
- `**kwargs`: Additional tkinter.Label options
102-
103-
**Methods:**
104-
- `config(**kwargs)`: Configure the image widget
105-
- `destroy()`: Remove the image from the GUI
106-
10786
Simple `tkinter` window with key event binding:
10887

10988
* `set_resize(width: bool, height: bool)`: Sets if the window's width and height can be resized.

0 commit comments

Comments
 (0)