Update widget without re-enetring to event loop.

2005-12-04 Thread Deekshit Mantampady
Hi all, I have a very basic question. Is there any way to update the window/widget without re-enetring the event loop. In my application, I have a table with some rows. On clicking on a button It will process each of the row. Then I need to update one of the column with the status of the update(

Re: swap images on click event.

2005-12-04 Thread Craig Harding
Ok, how can I show/hide the images? This is a breakdown of the code I'm working on: -- play_button = gtk_image_new_from_file ("/usr/local/pixmaps/play.png"); pause_button = gtk_image_new_from_file("/usr/local/pixmaps/pause3.png"); hbox = gtk_hbox_new(FALSE,0); play_event_box = gtk_e

Re: Gtk, C++ & Trouble

2005-12-04 Thread Stephen Pollei
On 12/4/05, Daryl Lee <[EMAIL PROTECTED]> wrote: > Have you wrapped your '#include ' inside an 'extern "C"', a la > > extern "C" { > #include > } I wouldn't do that as all of the headers should have: #ifdef __cplusplus extern "C" { #endif already in them at the right places. The only diiference

Re: Gtk, C++ & Trouble

2005-12-04 Thread Daryl Lee
Have you wrapped your '#include ' inside an 'extern "C"', a la extern "C" { #include } In fact, all your includes of C headers need this wrapper. If not, try that first. If it works for you, and you're not sure why, check out http://www.tldp.org/HOWTO/C++-dlopen/thesolution.html Daryl On S