Discussion:
[rust-dev] GTK+ bindings question
Ömer Sinan Ağacan
2014-10-17 09:16:38 UTC
Permalink
Hi all,

I recently tried to use GTK+ bindings
(https://github.com/jeremyletang/rgtk) but had a problem with
signalling main thread(the one that runs the GUI) with custom user
data.

My question is this: https://github.com/jeremyletang/rgtk/issues/107

I'm new at GTK and I don't know if I'm doing wrong. I didn't get any
useful answers in that thread so I wanted to post here.

So my questions are:

- Is the way I'm trying to do this(implementing `Signal` trait for my
data) right?
- How do I do it in rgtk? (e.g. signalling main thread with custom
user data, as explained in the Github issue)

Thanks.

Loading...