updating viewport
Python CI / test (push) Successful in 7m51s

This commit is contained in:
2025-11-04 23:34:23 +01:00
parent dfa225fdcb
commit e6c17ef8a8
5 changed files with 108 additions and 42 deletions
+19
View File
@@ -43,6 +43,24 @@ python simple_ereader_example.py tests/data/test.epub
python ereader_demo.py tests/data/test.epub
```
## Browser Examples
### HTML Browser with Viewport System
**`html_browser_with_viewport.py`** (located in `pyWebLayout/examples/`) - Full-featured HTML browser using the viewport system:
```bash
python pyWebLayout/examples/html_browser_with_viewport.py
```
This demonstrates:
- Viewport-based scrolling (mouse wheel, keyboard, scrollbar)
- Efficient rendering of large documents
- Text selection and clipboard support
- Navigation and history management
- Interactive HTML viewing
For detailed information about the viewport system, see `README_BROWSER_VIEWPORT.md`.
## Other Examples
### HTML Rendering
@@ -60,6 +78,7 @@ For detailed information about HTML rendering, see `README_HTML_MULTIPAGE.md`.
- `README_EREADER.md` - Detailed EbookReader API documentation
- `README_HTML_MULTIPAGE.md` - HTML multi-page rendering guide
- `README_BROWSER_VIEWPORT.md` - Browser viewport system documentation
- `pyWebLayout/layout/README_EREADER_API.md` - EbookReader API reference (in source)
## Debug/Development Scripts