Simon Hausmann

Results 390 comments of Simon Hausmann

I think there's enough infrastructure / exposed API in winit now that we can implement Popups at least on some platforms as separate windows. On Windows, when the window is...

The initial `load_file` function is added, which exposes instances as objects with properties and callbacks (as on-prefixed properties). The dynamic import is missing still.

One way for the dynamic import would be to allow for writing an `__init__.py` stub that associates a directory with a specific `.slint` file, and then allow for writing: Support...

Without `__init__.py` a neater way might be to add a finder/loader to `sys.meta_path` and support `import foo`, which loads `foo.slint`. Example: foo.slint: ``` export component MainWindow { ... } ```...

I've updated the description with a summary of the implemented API. Closing this as the initial port being done. Documentation is still missing, but that's part of a milestone that...

Another idea would perhaps be to detect this situation (that properties from a `PopupWindow` are referenced from the outside) and then compile it in a way that the `PopupWindow` component...

The error message suggests an insufficient installation of windows fonts. On startup we use fontdb, which looks for fonts in C:\Windows\Fonts\ . In the corresponding directory on your Linux machine,...

> Like I wrote in first post, fonts can be installed via `winetricks corefonts`, Indeed, I missed that - apologies. > but I think that this info should be added...

It looks like this is covered by https://slint.dev/releases/1.3.2/docs/slint/src/language/syntax/types#conversions . @ogoffart is that what you had in mind when you labelled this?