Re: Gtk::MessageDialog without parent window - window not focused?
- From: Sergio Perticone <g4ll0ws gmail com>
- To: Christopher Lang <christopher lang acurana de>
- Cc: list gtkmm <gtkmm-list gnome org>
- Subject: Re: Gtk::MessageDialog without parent window - window not focused?
- Date: Thu, 18 Oct 2007 13:25:12 +0200
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]