[rust-dev] GTK+ bindings question

Ömer Sinan Ağacan omeragacan at gmail.com
Fri Oct 17 02:16:38 PDT 2014


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.


More information about the Rust-dev mailing list