Skip to content

Calling rust function from slint #7083

Answered by Vadoola
realroot2185 asked this question in Q&A
Discussion options

You must be logged in to vote

You shouldn't need to put it all in one module here is the docs that includes re-exporting: https://releases.slint.dev/1.0.1/docs/slint/src/reference/modules

It looks like in my example above I forgot to out braces around Logic.

It should be

`import { Logic } from "global.slint"

Export {Logic}`

Replies: 1 comment 8 replies

Comment options

You must be logged in to vote
8 replies
@realroot2185
Comment options

@Vadoola
Comment options

@realroot2185
Comment options

@Vadoola
Comment options

Answer selected by realroot2185
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants