-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom signals #107
Comments
I'm busy right now, but i will watch this tonight! |
@jeremyletang any news on this? |
@osa1 : Is this issue solved ? |
Since no progress on this has been made so far I don' think this is solved. |
Okay ! |
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm not experienced in native GTK library, so sorry if that question doesn't make sense.
I'm trying to run some GUI actions based on events emitted in different threads. None of the signals in
rgtk::gtk::signals::Signal
work for me because there are no guarantees that those signals won't be fired by some other GUI widget. There are noUserSignal
or something like that for this purpose. I can't implementSignal
trait for my stucts either, because offn get_trampoline(&self) -> extern "C" fn();
item.So I'm stuck here, can't use any of built-in signals, and can't implement my signals either. Any ideas on how to handle this? It could be nice if we had an example for this. (maybe with a timer thread that signals an event in ever 3 seconds etc. and a GUI that increments a counter or something like that)
The text was updated successfully, but these errors were encountered: