Skip to content
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

Open
osa1 opened this issue Oct 15, 2014 · 5 comments
Open

Custom signals #107

osa1 opened this issue Oct 15, 2014 · 5 comments

Comments

@osa1
Copy link
Contributor

osa1 commented Oct 15, 2014

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 no UserSignal or something like that for this purpose. I can't implement Signal trait for my stucts either, because of fn 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)

@jeremyletang
Copy link
Owner

I'm busy right now, but i will watch this tonight!

@osa1
Copy link
Contributor Author

osa1 commented Oct 16, 2014

@jeremyletang any news on this?

@GuillaumeGomez
Copy link
Contributor

@osa1 : Is this issue solved ?

@osa1
Copy link
Contributor Author

osa1 commented Nov 2, 2014

Since no progress on this has been made so far I don' think this is solved.

@GuillaumeGomez
Copy link
Contributor

Okay !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants