Re: [gtkmm] Gtk::Window, bring window to top



On Martes, 23 de Marzo de 2004 02:43, Jan Gehring wrote:
> Hi,
>
> i have 2 Gtk::Window Objects. And i want to bring the 2nd window to the
> front when i click a button on the 1st window.
>
> i tried it with the following code, but the 2nd window only gets the
> focus but it don't comes to the front.
>
>
> frmTwo *frmTwo = new class frmTwo();
> frmTwo->show();
> frmTwo->activate();
> frmTwo->grab_focus();
> this->hide();   // this is Window One
>
trye with frmTwo->present();




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