Solved

gtkmm does not update on signals coming from outside gtkmm itself

Posted on 2011-02-17
1
252 Views
Last Modified: 2012-05-11
I am having trouble updating a TreeView in gtkmm when receiving an external signal. The TreeView only updates when I do something, like mouse over the window, etc...

How can I tell gtkmm that it needs to update the treeview? I already tried the queue_draw() method.
0
Comment
Question by:cyberstalker
1 Comment
 
LVL 10

Accepted Solution

by:
cyberstalker earned 0 total points
Comment Utility
I have fixed this by using Glib::Dispatcher instead of sigc::signal.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

In days of old, returning something by value from a function in C++ was necessarily avoided because it would, invariably, involve one or even two copies of the object being created and potentially costly calls to a copy-constructor and destructor. A…
  Included as part of the C++ Standard Template Library (STL) is a collection of generic containers. Each of these containers serves a different purpose and has different pros and cons. It is often difficult to decide which container to use and …
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now