Re: ReFreshing a Window



Dimitri Holz schrieb:
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

ANOTHER PROBLEM: the same code without loops: there are 2 buttons in the window and after resize they stay at the same place with the same size, only after the next event they refreshes theyselfes. How can you update them?



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