-
Notifications
You must be signed in to change notification settings - Fork 85
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
Events from non-widgets. #87
Comments
I'm not entirely sure what you mean with this, do you want to send TB events over the network and have them get handled remotely? |
Apologies for not being clearer. I plan to implement two separate networking classes ( |
Right, so I'm guessing what you actually want to know is whether TB is thread-safe, or how to make sure it works properly across threads? |
Actually, I was planning on using |
So, to come back to this question, if you want to send a custom event to some widget, you just find the widget and call Well, I don't know what kind of events you want to send to widgets, but I don't really see the point in manually sending click events, so I'm assuming you mean custom events. Also, from what I can see in the source, this is not thread-safe, so you should make sure you're on the same thread as TB is operating on. |
Yeah, that's why I'm going to be using |
Hi,
I'm looking at implementing a networking layer in the sample application, however I'm not sure how to integrate it with the rest of TB, such that my TB application can reliably receive packets as they are picked up by my networking stack.
The text was updated successfully, but these errors were encountered: