Re: Gtk::MessageDialog without parent window - window not focused?



On Thu, 2007-10-18 at 12:37 +0200, Christopher Lang wrote:
> Hi,
> 
> whenever I spawn a MessageDialog without handing over a parent window in the 
> constructor the window opens but it is not focused (window borders grey).
> 
> I have to click the window with the mouse to focus it.
> 

It works for me. Is it a wm issue? I use xfce4.

> Is there a way to open a MesageDialog *without* specifying a parent window and 
> have the window focussed right away?
> 

Maybe you could try: dialog.grab_focus()

s.



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