New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UI 3 #484
Conversation
inputremapper/gui/components.py
Outdated
|
||
def _on_preset_changed(self, data: PresetData): | ||
with HandlerDisabled(self._gui, self._on_gtk_select_preset): | ||
self._gui.set_active_id(data.name) | ||
self.show_active_preset(data.name) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[mypy] reported by reviewdog 🐶
error: Argument 1 to "show_active_preset" of "PresetSelection" has incompatible type "Optional[str]"; expected "str"
tests missing |
your new gui code is very nice to work with |
Here is the diff after the components.py split: https://github.com/sezanzeb/input-remapper/pull/484/files/9b94df472a6ef49b3012ec1fe88d59da651845b4..249255057e0b73acb19b9e8695f789e09f44d977 |
closes #473
will be GTK3 based, because I don't like the theming issues in libadwaita, and because I'd like to save time by continuing to use the GTK version we are using now
migrating to GTK4 might be interesting, because I think then the bottom corners will be rounded as well in gnome