slint/examples/cpp/platform_native
Olivier Goffart 88697c68bb Remove license header from .md/.mdx files
They should be in the lines, but the problem is that this causes issues
in the .mdx files.

License header doesn't really make sense for .md files anyway
2025-12-04 21:58:09 +01:00
..
app-window.slint Fixed kebab casing of previous appwindow.slint. 2024-09-20 10:26:49 +02:00
appview.cpp Fixed kebab casing of previous appwindow.slint. 2024-09-20 10:26:49 +02:00
appview.h Move the C++ specific example to the examples/cpp directory 2023-07-31 12:58:38 +02:00
CMakeLists.txt Fixed kebab casing of previous appwindow.slint. 2024-09-20 10:26:49 +02:00
main.cpp Move the C++ specific example to the examples/cpp directory 2023-07-31 12:58:38 +02:00
README.md Remove license header from .md/.mdx files 2025-12-04 21:58:09 +01:00
windowadapter_win.h common: add support for back and forward pointing-device buttons (#6149) 2024-09-18 07:48:30 +02:00

This shows how one can use the Slint C++ platform API to integrate into any Windows application

  • main.cpp is basically a shell of an application written using the native WIN32 api.
  • appview.h is an interface that is used by the application to show a Slint Window. the implementation of this interface could even be in a plugin.
  • appview.cpp is the implementation of this interface and instantiate the UI made with Slint
  • windowadapter_win.h contains the glue code used to implement a Slint platform using native WIN32 API