Skip to content

Lua -> Rust Function that accepts multiple UserData types as a parameter #336

Answered by khvzak
thomascft asked this question in Q&A
Discussion options

You must be logged in to vote

You can also optionally register gtk::Widget type directly with Lua using Lua::register_userdata_type and then create objects using Lua::create_any_userdata

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@thomascft
Comment options

@thomascft
Comment options

@khvzak
Comment options

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