[gtkmm] How to update a widget's display



	Hello

I have the following code but I don't know how to update the display of the statusbar because it only displays the last one ("Text n°999") but 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]