Re: [gtkmm] Gtk::Window, bring window to top
- From: Jan Gehring <admin jg-computing com>
- To: gtkmm-list gnome org
- Subject: Re: [gtkmm] Gtk::Window, bring window to top
- Date: Tue, 23 Mar 2004 04:40:40 +0100
Am Mo, den 22.03.2004 schrieb Carlos Ble um 20:56:
> 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();
>
Thanks, it works nice :)
> _______________________________________________
> 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]