Solved

gtkmm does not update on signals coming from outside gtkmm itself

Posted on 2011-02-17
1
257 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
ID: 34933111
I have fixed this by using Glib::Dispatcher instead of sigc::signal.
0

Featured Post

ScreenConnect 6.0 Free Trial

Explore all the enhancements in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When writing generic code, using template meta-programming techniques, it is sometimes useful to know if a type is convertible to another type. A good example of when this might be is if you are writing diagnostic instrumentation for code to generat…
This article shows you how to optimize memory allocations in C++ using placement new. Applicable especially to usecases dealing with creation of large number of objects. A brief on problem: Lets take example problem for simplicity: - I have a G…
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…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.

772 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