Re: ReFreshing a Window
- From: Christopher Lang <christopher lang acurana de>
- To: gtkmm-list gnome org
- Subject: Re: ReFreshing a Window
- Date: Tue, 13 May 2008 19:16:37 +0200
Hi,
maybe this helps:
// computation going on
while( Gtk::Main::events_pending() )
Gtk::Main::iteration();
// computation continued
see:
http://www.gtkmm.org/docs/gtkmm-2.4/docs/reference/html/classGtk_1_1Main.html#2a2a6cddef82f8c52026790f3f7887e0
Gtk::Main Class Reference
cheers
Chris
http://www.acurana.de/
Am Dienstag 13 Mai 2008 16:44:11 schrieb Dimitri Holz:
> I use a resize() - methode to change a size of my window, but I do it in
> a do-while-trails to see the change-effect:
>
> void MyWindow::change_size()
> {
> int x=100, y=100;
> do
> {
> MyWindow::resize(x, y);
> .......................................................
> x++;
> y++;
> }while(x<800||y<800);
> }
>
> but the problem is that you see only the first and the last size and I
> can`t find a GtKmm-methode for refresh a window like ::refresh() ;
> or ::reload() or so. How can I solve this problem?
> _______________________________________________
> gtkmm-list mailing list
> gtkmm-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtkmm-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]