RE: gtkwindow showing



Ahh... I have tried this again, and it seems to work fine, thankyou.

 

Regards,

 

Martyn

 

-----Original Message-----
From: Jean-Christophe Berthon [mailto:Jean-Christophe Berthon cgey com]
Sent:
06 March 2002 08:11
To: martyn.2.russell; gtk-app-devel-list
Subject: Re: gtkwindow showing

 

Strange because I'm using that code inside the callback of a menu and the window appears on top of others.

Maybe check that the object MyWindow is pointing to the same area than the Window object you want to raise to the top when you create it. There might be something strange there... But that peace of code works perfectly for me.

 

 

Best regards,
---
Jean-Christophe Berthon

 

 

 

----- Original Message -----

Sent: Tuesday, March 05, 2002 6:27 PM

Subject: RE: gtkwindow showing

 

Yea I tried that and it didn't work??

 

-----Original Message-----
From: Jean-Christophe Berthon [mailto:Jean-Christophe Berthon cgey com]
Sent:
05 March 2002 16:49
To: martyn.2.russell; gtk-app-devel-list
Subject: Re: gtkwindow showing

 

Hello,

 

For doing that job I'm using the following line of code (put it in the callback of your button)

  GtkWidget *MyWindow;

 

  gdk_window_raise(MyWindow->window);

 

 

Best regards,
---
Jean-Christophe Berthon

 

Cap Gemini -- Ernst & Young
France
Skill IS -- Image Quality
Email: Jean-Christophe Berthon cgey com
Tel: (+33) 561 31 6671

 

 

----- Original Message -----

Sent: Tuesday, March 05, 2002 2:45 PM

Subject: gtkwindow showing

 

If I have a window which is already shown on the screen somewhere and I want to click a button to bring that window to the top, how can I do that?

 

(this is for gtk v1.2.10)

 

Regards,

 

Martyn



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