Updating Gui TextView from another THREAD
- From: Mohamed Khalil BOUJDARIA <khalil boujdaria gmail com>
- To: gtkmm-list gnome org
- Subject: Updating Gui TextView from another THREAD
- Date: Tue, 26 Mar 2019 11:58:10 +0100
Hey list !
So i have a window class (window.h and window.cpp) for the gui and another module (.h and .cpp not a class) which is running a thread to get constant messages from a server.
I'm trying to update a textview in the gui whenever a message is received. Any solutions ?
I tried understanding glib::Dispatcher but the examples provided are a bit complicated and work between classes.
Can someone please provide a simple example that suits my case or provide another solution.
Any help is appreciated
Thanks
[
Date Prev][Date Next] [
Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]