[gtkmm] how to update the display of a widget?



I have the code forward but I don't know how to update the display of the statusbar because it only display the last one and not all the others!


Gtk::Statusbar * pStatusbar;
char * message;

for (int integer=0;integer<1000;integer++)
{
	printf(message,"Text n° %i",integer);
		pStatusbar->pop(1);
		pStatusbar->push(1,message);
}

thanks

Jean-Guy



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]