[glade--]Can glade-- use multi-threading???

[email protected]
Newsgroups gmane.comp.gnome.glademm
Message-ID <OF2FEDE933.C27C68E7-ON85256D7F.007862BA-85256D7F.007862FB@notes.udayton.edu>



I am currently having two problems with a glade window I made.
1. I have a start and stop button.  The stop button nor any part of the
window will allow me to do anything until the start button process is
completely finished.  The start button process can last over 20 minutes and
I have no way to get the stop button to execute till the start process is
complete.
2. My second problem is very similar.  I have a treeview that displays many
rows.  I made a generic program to try solving this problem.  The treeview
runs on a loop which counts from 1 to 10000. The treeview is to display a
row everytime you get to 100.  However, it will display all 100 rows when
the process is finished.  I need it to display the rows as I add them to
the treeview.  Also I would like the window to not erase all it's contents
in it, when I place a window over it while it's running and then remove the
window to only see a blank window.
I have tried using pthreads and forking the process but keep coming up with
various errors.  I cannot seem to pthread the buttons because a pthread is
calls a function, and the button is called by the button1.signal.clicked().

I am currently at a standstill so any help is greatly appreciated.
Thanks,
John T
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.