Eero Tamminen
65886363b8
Replace GPLv2+ texts in Python UI code with SPDX license ID
...
Improves readability a bit.
2025-08-15 18:23:42 +03:00
Eero Tamminen
08ae94c0ad
Update Python script shebang lines to latest recommendation
...
"env" usage is deprecated nowadays:
* https://docs.fedoraproject.org/en-US/packaging-guidelines/#_shebang_lines
* https://www.debian.org/doc/packaging-manuals/python-policy/#interpreter-directive-shebang
(RPM based distro packages for Hatari 2.5 were already removing it.)
2025-06-05 00:22:12 +03:00
Eero Tamminen
2542b18ab0
Python UI: remove obsolete things from test code + update comments
...
- Hatari doesn't support SDL1 anymore
- Hatari scales low-res up now by itself
- Fix PyGtk deprecation warnings
2021-01-11 01:54:05 +02:00
Eero Tamminen
d7598c4905
Use Glib functions in Python UI instead of deprecated GObject ones
...
"hatariui.py" changes are from Jens Guenther, thanks!
Also update docs accordingly (while python2 may still work, it's
not tested, so don't mention it any more in README).
2020-12-18 23:26:54 +02:00
Eero Tamminen
3ccc775f5e
Python scripts hashbang: python -> python3
...
Scripts still support both Python versions, but most current distros
don't anymore install Python v2, or "python" symlink to it, by default.
2020-10-21 11:33:38 +03:00
Eero Tamminen
8508603f0e
Make test scripts executable
2020-10-16 00:28:05 +03:00
Eero Tamminen
cbc17cf967
Python-UI: v2 & v3 support to embed tester
2019-01-09 21:11:08 +02:00
Eero Tamminen
d52ae49019
Fix tests window embedding for Gtk v3+
2018-10-13 17:34:56 +03:00
Eero Tamminen
0d9a80cb18
Rename test scripts more appropriately
2018-10-13 14:44:18 +03:00
Eero Tamminen
04fdb01732
Add missing imports + update copyrights
2018-10-13 13:32:14 +03:00
Eero Tamminen
0aec09cd04
Start of PyGtk 2.x -> Gtk 3.x / GObject transition
...
Raw results from running:
https://gitlab.gnome.org/GNOME/pygobject/raw/master/tools/pygi-convert.sh
(Just string replace)
2018-10-13 13:19:15 +03:00
Eero Tamminen
d209e486fd
Remove trailing whitespace from Python scripts
...
hg files | grep '\.py$' | xargs sed -i 's/[[:space:]]*$//'
2018-10-13 11:58:44 +03:00
Eero Tamminen
7beed8f92a
update, embedding works
2008-02-23 01:13:57 +02:00
Eero Tamminen
ef436f0245
Widget embedding Hatari needs to be GtkSocket (which Glade doesn't
...
support) and CAN_FOCUS needs to be *unset* for any other widgets
taking input. Then keyboard works in Hatari.
2008-02-22 02:14:35 +02:00
Eero Tamminen
bd7ae49327
support testing the Hatari itself embedding and more widgets
2008-02-22 01:27:30 +02:00
Eero Tamminen
222db48e56
Telling the SDL to embed itself didn't work, neither did work
...
embedding the Hatari window from PyGtk code. Results of these
tests are in the tests/ subdirectory.
I added some "meat" to the hatari-ui and next I'm going
to try doing the embedding from the Hatari code itself...
2008-01-27 21:53:42 +02:00