mirror of
https://github.com/slint-ui/slint.git
synced 2025-09-28 21:04:47 +00:00
13 lines
224 B
C++
13 lines
224 B
C++
#include "hello.h"
|
|
#include <iostream>
|
|
|
|
int main() {
|
|
static Hello component;
|
|
|
|
component._foobar.set_handler([](auto...){
|
|
std::cout << "Hello from C++" << std::endl;
|
|
});
|
|
|
|
sixtyfps::run(&component);
|
|
|
|
}
|